CVE-2025-58369typelevel fs2
Medium 5.3 No auth needed
Follow: this CVE · typelevel · typelevel fs2 We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- —
- Auth required
- No
- Published
- Sep 5, 2025
- Updated
- Oct 1, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-400
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
What happens
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.
What to do
- Apply the vendor's security update for fs2.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | co.fs2:fs2-io_0.26 |
all |
no fixed version | — |
| Maven | co.fs2:fs2-io_0.27 |
all |
no fixed version | — |
| Maven | co.fs2:fs2-io_2.11 |
all |
no fixed version | — |
| Maven | co.fs2:fs2-io_2.12 |
≥ 3.0.0-M1 < 3.12.2 |
3.12.2 |
— |
| Maven | co.fs2:fs2-io_2.12 |
≥ 3.13.0-M1 < 3.13.0-M7 |
3.13.0-M7 |
— |
| Maven | co.fs2:fs2-io_2.12 |
< 2.5.13 |
2.5.13 |
— |
| Maven | co.fs2:fs2-io_2.12.0-M4 |
all |
no fixed version | — |
| Maven | co.fs2:fs2-io_2.12.0-M5 |
all |
no fixed version | — |
| Maven | co.fs2:fs2-io_2.12.0-RC1 |
all |
no fixed version | — |
| Maven | co.fs2:fs2-io_2.12.0-RC2 |
all |
no fixed version | — |
| Maven | co.fs2:fs2-io_2.13 |
≥ 3.0.0-M1 < 3.12.2 |
3.12.2 |
— |
| Maven | co.fs2:fs2-io_2.13 |
≥ 3.13.0-M1 < 3.13.0-M7 |
3.13.0-M7 |
— |
| Maven | co.fs2:fs2-io_2.13 |
< 2.5.13 |
2.5.13 |
— |
| Maven | co.fs2:fs2-io_2.13.0-M5 |
all |
no fixed version | — |
| Maven | co.fs2:fs2-io_3 |
≥ 3.0.0-M1 < 3.12.2 |
3.12.2 |
— |
| Maven | co.fs2:fs2-io_3 |
≥ 3.13.0-M1 < 3.13.0-M7 |
3.13.0-M7 |
— |
| Maven | co.fs2:fs2-io_3 |
< 2.5.13 |
2.5.13 |
— |
Per OSV / GitHub Advisories (GHSA-rrw2-px9j-qffj). Check the version in your lockfile before upgrading.
Affected products
- typelevel · fs2
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.