CVE-2025-58369: fs2: Half-shutdown of socket during TLS handshake may result in spin loop on opposite side
Noroxi assessment
Priority: Monitor (action score 21/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.46% (FIRST EPSS).
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: co.fs2:fs2-io_2.12 (Maven) 3.12.2, 3.13.0-M7, 2.5.13; co.fs2:fs2-io_2.13 (Maven) 3.12.2, 3.13.0-M7, 2.5.13; co.fs2:fs2-io_3 (Maven) 3.12.2, 3.13.0-M7, 2.5.13.
Low priority for now. Upgrade to co.fs2:fs2-io_2.12 (Maven) 3.12.2, 3.13.0-M7, 2.5.13; co.fs2:fs2-io_2.13 (Maven) 3.12.2, 3.13.0-M7, 2.5.13; co.fs2:fs2-io_3 (Maven) 3.12.2, 3.13.0-M7, 2.5.13 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Sep 5, 2025
- Updated
- Oct 1, 2026
- EPSS
- 0.4% · 40th percentile
- CWE
- CWE-400
Report tools
Action score
21
Monitor
Low priority for now.
- CVSS
- 21 / 40 · 5.3 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.4%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · GitHub_M
- 5.3
- NVD has not scored this yet; the score shown is the CNA’s.
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
—
Versions reported by the vendor
Affected version ranges reported by the assigning authority (GitHub_M). Independent of NVD's CPE analysis and usually ahead of it.
typelevel fs2
- >= 3.0.0-M1, < 3.12.2, >= 3.13.0-M1, < 3.13.0-M7, < 2.5.13affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Maven | co.fs2:fs2-io_0.26 | from 0 | — |
| Maven | co.fs2:fs2-io_0.27 | from 0 | — |
| Maven | co.fs2:fs2-io_2.11 | from 0 | — |
| Maven | co.fs2:fs2-io_2.12 | from 3.0.0-M1 · before 3.12.2 | 3.12.2 |
| Maven | co.fs2:fs2-io_2.12 | from 3.13.0-M1 · before 3.13.0-M7 | 3.13.0-M7 |
| Maven | co.fs2:fs2-io_2.12 | before 2.5.13 | 2.5.13 |
| Maven | co.fs2:fs2-io_2.12.0-M4 | from 0 | — |
| Maven | co.fs2:fs2-io_2.12.0-M5 | from 0 | — |
| Maven | co.fs2:fs2-io_2.12.0-RC1 | from 0 | — |
| Maven | co.fs2:fs2-io_2.12.0-RC2 | from 0 | — |
| Maven | co.fs2:fs2-io_2.13 | from 3.0.0-M1 · before 3.12.2 | 3.12.2 |
| Maven | co.fs2:fs2-io_2.13 | from 3.13.0-M1 · before 3.13.0-M7 | 3.13.0-M7 |
| Maven | co.fs2:fs2-io_2.13 | before 2.5.13 | 2.5.13 |
| Maven | co.fs2:fs2-io_2.13.0-M5 | from 0 | — |
| Maven | co.fs2:fs2-io_3 | from 3.0.0-M1 · before 3.12.2 | 3.12.2 |
| Maven | co.fs2:fs2-io_3 | from 3.13.0-M1 · before 3.13.0-M7 | 3.13.0-M7 |
| Maven | co.fs2:fs2-io_3 | before 2.5.13 | 2.5.13 |
Same product
typelevel: all recordsOther highest-scoring records for the same primary product.
- CVE-2022-31183mTLS client verification is skipped in fs2 on Node.js39Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Maven:co.fs2:fs2-io_2.12 | 2.5.13 | Package registry (OSV) |
| Maven:co.fs2:fs2-io_2.12 | 3.12.2 | Package registry (OSV) |
| Maven:co.fs2:fs2-io_2.12 | 3.13.0-M7 | Package registry (OSV) |
| Maven:co.fs2:fs2-io_2.13 | 2.5.13 | Package registry (OSV) |
| Maven:co.fs2:fs2-io_2.13 | 3.12.2 | Package registry (OSV) |
| Maven:co.fs2:fs2-io_2.13 | 3.13.0-M7 | Package registry (OSV) |
| Maven:co.fs2:fs2-io_3 | 2.5.13 | Package registry (OSV) |
| Maven:co.fs2:fs2-io_3 | 3.12.2 | Package registry (OSV) |
| Maven:co.fs2:fs2-io_3 | 3.13.0-M7 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- low · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- Low
Weakness class (CWE)
CWE-400 · Uncontrolled Resource ConsumptionCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
nvd-secondary
Root cause
Code that parses nested structures sets no depth or size limit. A small input can turn into a disproportionate processing load.
The bug in code
The whole CWE-400 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
function expand(node) {
return node.children.map(expand);
}Fixed
const MAX_DEPTH = 32;
function expand(node, depth = 0) {
if (depth > MAX_DEPTH) throw new Error("too deep");
return node.children.map((c) => expand(c, depth + 1));
}Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (6 more)Show less
- github.com/typelevel/fs2/commit/5c6c4c6c1ef330f7e6b53661ecc63d5f5ba8885c
- github.com/typelevel/fs2/commit/edf0c4f2e660360d1c1a8c5377ce32294de89238
- github.com/typelevel/fs2/issues/3590
- github.com/typelevel/fs2/releases/tag/v3.12.2
- github.com/typelevel/fs2/releases/tag/v3.13.0-M7
- github.com/typelevel/fs2/security/advisories/GHSA-rrw2-px9j-qffj
Vendor advisories and official records. Exploit/PoC links are deliberately left out.