Live threats

All CVEs / Scala-lang

CVE-2022-36944Scala-lang Scala

Critical 9.8 No auth neededHigh EPSS

Priority
75
CVSS 3.1
9.8
EPSS
11.4%
probability of exploitation in 30 days · percentile 97
Auth required
No
Published
Sep 23, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-502
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Scala.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.scala-lang:scala-library ≥ 2.13.0 < 2.13.9 2.13.9 —

Per OSV / GitHub Advisories (GHSA-8qv5-68g4-248j). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
scala-langscala≥ 2.13.0 < 2.13.9
scala-langscala-collection-compat< 2.9.0
fedoraprojectfedora35
fedoraprojectfedora36

Official sources

References

Links published by the sources. Open them with care.