Home / Scala-lang / Scala / CVE-2022-36944
CVE-2022-36944: is it exploited, and which versions of Scala-lang Scala are affected and fixed?
CVE-2022-36944 is a deserialization of untrusted data vulnerability in Scala-lang Scala. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:38 UTC). Affected: org.scala-lang:scala-library from 2.13.0 before 2.13.9 (GitHub advisory GHSA-8qv5-68g4-248j). Fixed in 2.13.9 (GitHub advisory GHSA-8qv5-68g4-248j). Severity: Critical (9.8, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:45 UTC.
What is CVE-2022-36944?
Scala 2.13.x before 2.13.9 has a Java deserialization chain in its JAR file. On its own, it cannot be exploited. There is only a risk in conjunction with Java object deserialization within an application. In such situations, it allows attackers to erase contents of arbitrary files, make network connections, or possibly run arbitrary code (specifically, Function0 functions) via a gadget chain.
From the CVE record by mitre, last updated May 27, 2025, 14:56 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.scala-lang:scala-library | >= 2.13.0, < 2.13.9 | 2.13.9 | GHSA-8qv5-68g4-248j |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 28, 2022. Summary: Scala subject to file deletion, code execution due to Java deserialization chain with LazyList object deserialization.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| scala-lang | scala | from 2.13.0 before 2.13.9 | application |
| scala-lang | scala-collection-compat | before 2.9.0 | application |
| fedoraproject | fedora | 35 | operating system |
| fedoraproject | fedora | 36 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 04:54 UTC.
How severe is CVE-2022-36944?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2022-36944 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: total (CISA ADP, May 27, 2025)
- EPSS
- 11.7% probability of exploitation activity in the next 30 days, percentile 96.2 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-502 Deserialization of Untrusted Data
Where are the vendor advisories and references?
- https://www.scala-lang.org/download/
- https://github.com/scala/scala/pull/10118
- FEDORA-2022-34acf878fb vendor-advisory
- FEDORA-2022-07dd9375b2 vendor-advisory
- https://discuss.lightbend.com/t/impact-of-cve-2022-36944-on-akka-cluster-akka-actor-akka-remote/10007/2
- https://github.com/scala/scala-collection-compat/releases/tag/v2.9.0
When was it published, and where is the official record?
- Reserved
- July 27, 2022
- Published
- September 23, 2022, 00:00 UTC
- CVE record updated
- May 27, 2025, 14:56 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 04:54 UTC
- Last checked
- CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:45 UTC; KEV December 3, 2026, 12:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Scala?
- Nov 15, 2017CVE-2017-15288 Scala-lang Scala: incorrect permissions on a critical resource
Questions about CVE-2022-36944
Is CVE-2022-36944 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 11.7% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Scala-lang Scala are affected by CVE-2022-36944?
org.scala-lang:scala-library from 2.13.0 before 2.13.9, per the GitHub advisory GHSA-8qv5-68g4-248j. The tables above give every range the sources list.
Which version fixes CVE-2022-36944?
2.13.9, per the GitHub advisory GHSA-8qv5-68g4-248j. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-36944?
Critical (9.8, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2022-36944?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.