# CVE-2022-36944: Scala subject to file deletion, code execution due to Java deserialization chain with LazyList object deserialization

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 11.7%, higher than 96% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-09-23T00:00:00.000Z
- Modified: 2026-09-10T03:49:45.276Z
- Also known as: GHSA-8qv5-68g4-248j
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- org.scala-lang:scala-library (Maven): from 2.13.0 before 2.13.9
- scala-lang scala: from 2.13.0 before 2.13.9
- scala-lang scala-collection-compat: before 2.9.0
- fedoraproject fedora: 35; 36

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/scala/scala/pull/10118> (exploit, patch, third-party-advisory, web)
- <https://www.scala-lang.org/download/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L3WMKPFAMFQE3HJVRQ5KOJUTWG264SXI/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6ZOZVWY3X72FZZCCRAKRJYTQOJ6LUD6Z/> (vendor-advisory)
- <https://discuss.lightbend.com/t/impact-of-cve-2022-36944-on-akka-cluster-akka-actor-akka-remote/10007/2> (third-party-advisory, web)
- <https://github.com/scala/scala-collection-compat/releases/tag/v2.9.0> (release-notes, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-36944> (advisory)
- <https://github.com/scala/scala> (package)
- <https://github.com/scala/scala/releases/tag/v2.13.9> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6ZOZVWY3X72FZZCCRAKRJYTQOJ6LUD6Z> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/L3WMKPFAMFQE3HJVRQ5KOJUTWG264SXI> (web)
- <https://www.scala-lang.org/download> (web)

## Sources

- CVE List: [CVE-2022-36944](https://www.cve.org/CVERecord?id=CVE-2022-36944), CVE Terms of Use, modified 2025-05-27
- GitHub Advisory Database: [GHSA-8qv5-68g4-248j](https://github.com/advisories/GHSA-8qv5-68g4-248j), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2022-36944](https://nvd.nist.gov/vuln/detail/CVE-2022-36944), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-36944 · Whole record: https://cve.day/CVE-2022-36944.json · Rebuilt by cve.day 2026-11-25T22:58:15.249Z
