CVE-2025-39946
tls: make sure to abort the stream if headers are bogus
Mitigation
- Upgrade Linux to 0aeb54ac4cd5cf8f60131b4d9ec0b6dc9c27b20d or later.
Who should check
- Anyone running Linux >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < b36462146d86b1f22e594fe4dae611dffacfb203; >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < 4cefe5be73886f383639fe0850bb72d5b568a7b9; >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < 208640e6225cc929a05adbf79d1df558add3e231; >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < 61ca2da5fb8f433ce8bbd1657c84a86272133e6b; >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < 0aeb54ac4cd5cf8f60131b4d9ec0b6dc9c27b20d
- Anyone running Linux 6.0
Vulnerability facts
- Affected
- Linux >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < b36462146d86b1f22e594fe4dae611dffacfb203; >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < 4cefe5be73886f383639fe0850bb72d5b568a7b9; >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < 208640e6225cc929a05adbf79d1df558add3e231; >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < 61ca2da5fb8f433ce8bbd1657c84a86272133e6b; >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < 0aeb54ac4cd5cf8f60131b4d9ec0b6dc9c27b20d; Linux 6.0
- Fixed in
- Linux 4cefe5be73886f383639fe0850bb72d5b568a7b9, Linux 208640e6225cc929a05adbf79d1df558add3e231, Linux 61ca2da5fb8f433ce8bbd1657c84a86272133e6b, Linux 0aeb54ac4cd5cf8f60131b4d9ec0b6dc9c27b20d
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.57% chance of exploitation in 30 days (percentile 41, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: tls: make sure to abort the stream if headers are bogus Normally we wait for the socket to buffer up the whole record before we service it. If the socket has a tiny buffer, however, we read out the data sooner, to prevent connection stalls. Make sure that we abort the connection when we find out late that the record is actually invalid. Retrying the parsing is fine in itself but since we copy some more data each time before we parse we can overflow the allocated skb space. Constructing a scenario in which we're under pressure without enough data in the socket to parse the length upfront is quite hard. syzbot figured out a way to do this by serving us the header in small OOB sends, and then filling in the recvbuf with a large normal send. Make sure that tls_rx_msg_size() aborts strp, if we reach an invalid record there's really no way to recover.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < b36462146d86b1f22e594fe4dae611dffacfb203; >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < 4cefe5be73886f383639fe0850bb72d5b568a7b9; >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < 208640e6225cc929a05adbf79d1df558add3e231; >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < 61ca2da5fb8f433ce8bbd1657c84a86272133e6b; >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < 0aeb54ac4cd5cf8f60131b4d9ec0b6dc9c27b20d | — | cvelist |
| Linux | 6.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-39946. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-39946.md Affected: Linux >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < b36462146d86b1f22e594fe4dae611dffacfb203; >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < 4cefe5be73886f383639fe0850bb72d5b568a7b9; >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < 208640e6225cc929a05adbf79d1df558add3e231; >= 84c61fe1a75b4255df1e1e7… Fixed in: Linux 4cefe5be73886f383639fe0850bb72d5b568a7b9, Linux 208640e6225cc929a05adbf79d1df558add3e231, Linux 61ca2da5fb8f433ce8bbd1657c84a86272133e6b, Linux 0aeb54ac4cd5cf8f60131b4d9ec0b6dc9c27b20d Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/b36462146d86b1f22e594fe4dae611dffacfb203
- https://git.kernel.org/stable/c/4cefe5be73886f383639fe0850bb72d5b568a7b9
- https://git.kernel.org/stable/c/208640e6225cc929a05adbf79d1df558add3e231
- https://git.kernel.org/stable/c/61ca2da5fb8f433ce8bbd1657c84a86272133e6b
- https://git.kernel.org/stable/c/0aeb54ac4cd5cf8f60131b4d9ec0b6dc9c27b20d
FAQ
Is CVE-2025-39946 being exploited?
There is no confirmed exploitation: CVE-2025-39946 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.57% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-39946?
Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2025-39946?
Linux >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < b36462146d86b1f22e594fe4dae611dffacfb203; >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < 4cefe5be73886f383639fe0850bb72d5b568a7b9; >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < 208640e6225cc929a05adbf79d1df558add3e231; >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < 61ca2da5fb8f433ce8bbd1657c84a86272133e6b; >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < 0aeb54ac4cd5cf8f60131b4d9ec0b6dc9c27b20d; Linux 6.0.
Is there a fix for CVE-2025-39946?
Yes. Fixed in Linux 4cefe5be73886f383639fe0850bb72d5b568a7b9, Linux 208640e6225cc929a05adbf79d1df558add3e231, Linux 61ca2da5fb8f433ce8bbd1657c84a86272133e6b, Linux 0aeb54ac4cd5cf8f60131b4d9ec0b6dc9c27b20d. Upgrade Linux to 0aeb54ac4cd5cf8f60131b4d9ec0b6dc9c27b20d or later.
How do I check if I'm affected by CVE-2025-39946?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.