Home / typelevel / fs2 / CVE-2025-58369
CVE-2025-58369: is it exploited, and which versions of typelevel fs2 are affected and fixed?
CVE-2025-58369 is a denial of service (uncontrolled resource consumption) vulnerability in typelevel fs2. 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, 16:39 UTC). Affected: co.fs2:fs2-io_2.12 from 3.0.0-M1 before 3.12.2, co.fs2:fs2-io_2.12 from 3.13.0-M1 before 3.13.0-M7, co.fs2:fs2-io_2.13 from 3.0.0-M1 before 3.12.2 and 14 more (GitHub advisory GHSA-rrw2-px9j-qffj). Fixed in 3.12.2, 3.13.0-M7 and 2.5.13 (GitHub advisory GHSA-rrw2-px9j-qffj). Severity: Medium (5.3, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:17 UTC.
What is CVE-2025-58369?
fs2: Half-shutdown of socket during TLS handshake may result in spin loop on opposite side
fs2 is a compositional, streaming I/O library for Scala. Versions up to and including 2.5.12, 3.0.0-M1 through 3.12.2, and 3.13.0-M1 through 3.13.0-M6 are vulnerable to denial of service attacks though TLS sessions using fs2-io on the JVM using the fs2.io.net.tls package. When establishing a TLS session, if one side of the connection shuts down `write` while the peer side is awaiting more data to progress the TLS handshake, the peer side will spin loop on the socket read, fully utilizing a CPU. The CPU is consumed until the overall connection is closed, potentially shutting down a fs2-io powered server. This issue is fixed in versions 2.5.13, 3.12.1, and 3.13.0-M7.
From the CVE record by GitHub_M, last updated November 7, 2025, 11:52 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| typelevel | fs2 | >= 3.0.0-M1, < 3.12.2 >= 3.13.0-M1, < 3.13.0-M7 < 2.5.13 |
As the CVE record by GitHub_M states it, last updated November 7, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 7, 2025. Summary: FS2 half-shutdown of socket during TLS handshake may result in spin loop on opposite side.
How severe is CVE-2025-58369?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | GitHub_M |
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-2025-58369 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, September 8, 2025)
- EPSS
- 0.50% probability of exploitation activity in the next 30 days, percentile 44.4 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-400 Uncontrolled Resource Consumption
Where are the vendor advisories and references?
- https://github.com/typelevel/fs2/security/advisories/GHSA-rrw2-px9j-qffj x_refsource_CONFIRM
- https://github.com/typelevel/fs2/issues/3590 x_refsource_MISC
- https://github.com/typelevel/fs2/commit/46e2dc3abf994dcf3d0b804b2ddb3c10c04d4976 x_refsource_MISC
- https://github.com/typelevel/fs2/commit/5c6c4c6c1ef330f7e6b53661ecc63d5f5ba8885c x_refsource_MISC
- https://github.com/typelevel/fs2/commit/edf0c4f2e660360d1c1a8c5377ce32294de89238 x_refsource_MISC
- https://github.com/typelevel/fs2/releases/tag/v3.12.2 x_refsource_MISC
- https://github.com/typelevel/fs2/releases/tag/v3.13.0-M7 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- August 29, 2025
- Published
- September 5, 2025, 21:59 UTC
- CVE record updated
- November 7, 2025, 11:52 UTC by GitHub_M
- NVD
- Deferred, last modified October 1, 2026, 16:10 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:17 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect fs2?
- Aug 1, 2022CVE-2022-31183 typelevel fs2: improper certificate validation
Questions about CVE-2025-58369
Is CVE-2025-58369 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 0.50% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of typelevel fs2 are affected by CVE-2025-58369?
co.fs2:fs2-io_2.12 from 3.0.0-M1 before 3.12.2, co.fs2:fs2-io_2.12 from 3.13.0-M1 before 3.13.0-M7, co.fs2:fs2-io_2.13 from 3.0.0-M1 before 3.12.2, co.fs2:fs2-io_2.13 from 3.13.0-M1 before 3.13.0-M7, co.fs2:fs2-io_3 from 3.0.0-M1 before 3.12.2, co.fs2:fs2-io_3 from 3.13.0-M1 before 3.13.0-M7 and 11 more, per the GitHub advisory GHSA-rrw2-px9j-qffj. The tables above give every range the sources list.
Which version fixes CVE-2025-58369?
3.12.2, 3.13.0-M7 and 2.5.13, per the GitHub advisory GHSA-rrw2-px9j-qffj. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-58369?
Medium (5.3, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-58369?
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.