CVE-2025-39946
tls: make sure to abort the stream if headers are bogus
CVE-2025-39946 affects Linux (CVSS 9.8, Critical).
Public exploit available. Not confirmed exploited in the wild yet. Fixed versions are out.
Public exploit: 1 sourceFix5 products4 fixed builds listed below
e.g. OID 1.3.6.1.4.1.25623.1.1.10.2025.0309
What to do
Find your product and version, then upgrade to the build on the right.
- LinuxAffected: ≥ 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < b36462146d86b1f22e594fe4dae611dffacfb203Upgrade to: b36462146d86b1f22e594fe4dae611dffacfb203Affected: ≥ 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < 4cefe5be73886f383639fe0850bb72d5b568a7b9Upgrade to: 4cefe5be73886f383639fe0850bb72d5b568a7b9Affected: ≥ 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < 208640e6225cc929a05adbf79d1df558add3e231Upgrade to: 208640e6225cc929a05adbf79d1df558add3e231Affected: ≥ 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < 61ca2da5fb8f433ce8bbd1657c84a86272133e6bUpgrade to: 61ca2da5fb8f433ce8bbd1657c84a86272133e6b + 1 more branchStated by: CVE record
- RED SOFT RED OSAffected: 7.3Upgrade to: not statedStated by: BDU
- RusBITech-Astra Astra Linux Special EditionAffected: 1.7Upgrade to: not statedStated by: BDU
- Red Hat Inc. Red Hat Enterprise LinuxAffected: 9Upgrade to: not statedStated by: BDU
- Open-source community LinuxAffected: from 6.1.0 before 6.1.154Upgrade to: not statedStated by: BDU
Versions as the sources state them. Full version matrix after sign-in
Steps
Written by AI from the record- Ask your IT provider or hosting company whether your Linux servers use kernel TLS (kTLS) for encrypted connections.
- If yes, check the running kernel version against the fixed versions below.
- Update to Linux kernel 6.1.154 or a later kernel release that includes the fix commits (0aeb54a, 208640e, 4cefe5b, 61ca2da, b364621).
- If you run Red Hat Enterprise Linux, Red OS, or Astra Linux, apply the vendor's latest kernel security update rather than patching the kernel yourself.
- Restart affected servers after patching to load the new kernel.
What it is
From the CVE record
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.
In plain language
Written by AI from the recordThis is a flaw in how Linux handles encrypted network connections (TLS) that could crash a server or, in the worst case, let an attacker cause bigger problems — small businesses running their own Linux servers should get this patched soon, but there's no sign it's being actively attacked yet.
A kernel-level flaw in the TLS receive path (kTLS) allows malformed/truncated TLS record headers delivered via out-of-band plus large normal sends to bypass length validation, leading to an skb buffer overflow and stream corruption that can crash the system or worse, with a public PoC already available.
If you're affected
- Server crash / downtime
- Service disruption
- Potential remote code risk
- Affects any kernel-TLS-using service
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
1 source with a proof of concept or module.
Exploit links, PoCs and Metasploit modules after sign-in- EPSS
0.6% chance of exploitation activity in the next 30 days, which ranks it in the 41st percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
The patch came 38 days before any public exploit.
- EPSS band changemoderate → lowepss band change
- EPSS band changelow → moderate
- EPSS band changelow → moderateepss band change
- Patch availablerecord updated
- OpenVAS check added
- Public exploit / PoCsource: github-poc
Affected products
And 1 more affected product. See all after sign-in
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scored 9.8 by NVD.
How it is reached
- Attack Vector NetworkExploitable remotely over the network without any special conditions
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required NoneNo authentication required — anyone can exploit this
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality HighTotal information disclosure — all data in the component is compromised
- Integrity HighTotal loss of integrity — attacker can modify any data in the component
- Availability HighTotal denial of service — the component is completely unavailable
Weaknesses
Sources
Questions about CVE-2025-39946
- Is CVE-2025-39946 being exploited?
- Not confirmed. Public exploit code exists (1 source), but CVE-2025-39946 is not in CISA KEV. EPSS puts the chance of exploitation in the next 30 days at 0.6%.
- Which versions are affected by CVE-2025-39946?
- Linux: ≥ 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < b36462146d86b1f22e594fe4dae611dffacfb203; ≥ 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < 4cefe5be73886f383639fe0850bb72d5b568a7b9; ≥ 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < 208640e6225cc929a05adbf79d1df558add3e231. RED OS: 7.3. Astra Linux Special Edition: 1.7. 2 more products are listed in the record.
- How do I fix or mitigate CVE-2025-39946?
- Upgrade to a fixed build for your product branch: b36462146d86b1f22e594fe4dae611dffacfb203, 4cefe5be73886f383639fe0850bb72d5b568a7b9, 208640e6225cc929a05adbf79d1df558add3e231, 61ca2da5fb8f433ce8bbd1657c84a86272133e6b. The advisory is on access.redhat.com.
Last updated
Related articles
All articlesWatch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Linux, not every advisory. This one: public exploit.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI