{"cve":"CVE-2025-58369","nvd":{"published":"2025-09-05T22:15:34.883","modified":"2026-10-01T16:10:00.257","status":"Deferred","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3},"cwes":["CWE-400"],"references":["https://github.com/typelevel/fs2/commit/46e2dc3abf994dcf3d0b804b2ddb3c10c04d4976","https://github.com/typelevel/fs2/commit/5c6c4c6c1ef330f7e6b53661ecc63d5f5ba8885c","https://github.com/typelevel/fs2/commit/edf0c4f2e660360d1c1a8c5377ce32294de89238","https://github.com/typelevel/fs2/issues/3590","https://github.com/typelevel/fs2/releases/tag/v3.12.2"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:08:41.295252406+00:00"},"epss":{"cve":"CVE-2025-58369","score":0.00448,"percentile":0.38689,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-rrw2-px9j-qffj","url":"https://osv.dev/vulnerability/GHSA-rrw2-px9j-qffj","summary":"FS2 half-shutdown of socket during TLS handshake may result in spin loop on opposite side","modified":"2025-11-07T13:16:09.728426Z","packages":[{"ecosystem":"Maven","name":"co.fs2:fs2-io_2.12","purl":"pkg:maven/co.fs2/fs2-io_2.12","ranges":[">=3.0.0-M1 <3.12.2"],"fixed":["3.12.2"]},{"ecosystem":"Maven","name":"co.fs2:fs2-io_2.12","purl":"pkg:maven/co.fs2/fs2-io_2.12","ranges":[">=3.13.0-M1 <3.13.0-M7"],"fixed":["3.13.0-M7"]},{"ecosystem":"Maven","name":"co.fs2:fs2-io_2.13","purl":"pkg:maven/co.fs2/fs2-io_2.13","ranges":[">=3.0.0-M1 <3.12.2"],"fixed":["3.12.2"]},{"ecosystem":"Maven","name":"co.fs2:fs2-io_2.13","purl":"pkg:maven/co.fs2/fs2-io_2.13","ranges":[">=3.13.0-M1 <3.13.0-M7"],"fixed":["3.13.0-M7"]},{"ecosystem":"Maven","name":"co.fs2:fs2-io_3","purl":"pkg:maven/co.fs2/fs2-io_3","ranges":[">=3.0.0-M1 <3.12.2"],"fixed":["3.12.2"]},{"ecosystem":"Maven","name":"co.fs2:fs2-io_3","purl":"pkg:maven/co.fs2/fs2-io_3","ranges":[">=3.13.0-M1 <3.13.0-M7"],"fixed":["3.13.0-M7"]},{"ecosystem":"Maven","name":"co.fs2:fs2-io_0.26","purl":"pkg:maven/co.fs2/fs2-io_0.26","ranges":["all versions"],"fixed":[]},{"ecosystem":"Maven","name":"co.fs2:fs2-io_0.27","purl":"pkg:maven/co.fs2/fs2-io_0.27","ranges":["all versions"],"fixed":[]},{"ecosystem":"Maven","name":"co.fs2:fs2-io_2.11","purl":"pkg:maven/co.fs2/fs2-io_2.11","ranges":["all versions"],"fixed":[]},{"ecosystem":"Maven","name":"co.fs2:fs2-io_2.12.0-M4","purl":"pkg:maven/co.fs2/fs2-io_2.12.0-M4","ranges":["all versions"],"fixed":[]},{"ecosystem":"Maven","name":"co.fs2:fs2-io_2.12.0-RC1","purl":"pkg:maven/co.fs2/fs2-io_2.12.0-RC1","ranges":["all versions"],"fixed":[]},{"ecosystem":"Maven","name":"co.fs2:fs2-io_2.12.0-M5","purl":"pkg:maven/co.fs2/fs2-io_2.12.0-M5","ranges":["all versions"],"fixed":[]},{"ecosystem":"Maven","name":"co.fs2:fs2-io_2.12.0-RC2","purl":"pkg:maven/co.fs2/fs2-io_2.12.0-RC2","ranges":["all versions"],"fixed":[]},{"ecosystem":"Maven","name":"co.fs2:fs2-io_2.13.0-M5","purl":"pkg:maven/co.fs2/fs2-io_2.13.0-M5","ranges":["all versions"],"fixed":[]},{"ecosystem":"Maven","name":"co.fs2:fs2-io_2.12","purl":"pkg:maven/co.fs2/fs2-io_2.12","ranges":["<2.5.13"],"fixed":["2.5.13"]},{"ecosystem":"Maven","name":"co.fs2:fs2-io_2.13","purl":"pkg:maven/co.fs2/fs2-io_2.13","ranges":["<2.5.13"],"fixed":["2.5.13"]},{"ecosystem":"Maven","name":"co.fs2:fs2-io_3","purl":"pkg:maven/co.fs2/fs2-io_3","ranges":["<2.5.13"],"fixed":["2.5.13"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}