CVE-2025-39839batman-adv: fix OOB read/write in network-coding decode
- 8.8HighCVSS base score
- 0.26%Exploitation in 30 daysEPSS · top 82% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: batman-adv: fix OOB read/write in network-coding decode batadv_nc_skb_decode_packet() trusts coded_len and checks only against skb->len. XOR starts at sizeof(struct batadv_unicast_packet), reducing payload headroom, and the source skb length is not verified, allowing an out-of-bounds read and a small out-of-bounds write. Validate that coded_len fits within the payload area of both destination and source sk_buffs before XORing.
Timeline
ID reserved
By Linux
- 5 months later
· 5 months later
Published
- 11 months later
· 11 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High8.8 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | High7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.26% · top 82% of all CVEs (17 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.8.
Affected products
- affected 2df5278b0267c799f3e877e8eeddbb6e93cda0bb – < 30fc47248f02b8a14a61df469e1da4704be1a19f
- affected 2df5278b0267c799f3e877e8eeddbb6e93cda0bb – < 1e36c6c8dc8023b4bbe9a16e819f9998b9b6a183
- affected 2df5278b0267c799f3e877e8eeddbb6e93cda0bb – < 5d334bce9fad58cf328d8fa14ea1fff855819863
- affected 2df5278b0267c799f3e877e8eeddbb6e93cda0bb – < dce6c2aa70e94c04c523b375dfcc664d7a0a560a
- affected 2df5278b0267c799f3e877e8eeddbb6e93cda0bb – < bb37252c9af1cb250f34735ee98f80b46be3cef1
- affected 2df5278b0267c799f3e877e8eeddbb6e93cda0bb – < 20080709457bc1e920eb002483d7d981d9b2ac1c
- affected 2df5278b0267c799f3e877e8eeddbb6e93cda0bb – < a67c6397fcb7e842d3c595243049940970541c48
- affected 2df5278b0267c799f3e877e8eeddbb6e93cda0bb – < d77b6ff0ce35a6d0b0b7b9581bc3f76d041d4087
- affected 3.10
- unaffected < 3.10
- unaffected 5.4.299 – ≤ 5.4.*
- unaffected 5.10.243 – ≤ 5.10.*
- unaffected 5.15.192 – ≤ 5.15.*
- unaffected 6.1.151 – ≤ 6.1.*
- unaffected 6.6.105 – ≤ 6.6.*
- unaffected 6.12.46 – ≤ 6.12.*
- unaffected 6.16.6 – ≤ 6.16.*
- unaffected 6.17 – ≤ *
References
References12
- https://git.kernel.org/stable/c/30fc47248f02b8a14a61df469e1da4704be1a19f (opens in a new tab)
- https://git.kernel.org/stable/c/1e36c6c8dc8023b4bbe9a16e819f9998b9b6a183 (opens in a new tab)
- https://git.kernel.org/stable/c/5d334bce9fad58cf328d8fa14ea1fff855819863 (opens in a new tab)
- https://git.kernel.org/stable/c/dce6c2aa70e94c04c523b375dfcc664d7a0a560a (opens in a new tab)
- https://git.kernel.org/stable/c/bb37252c9af1cb250f34735ee98f80b46be3cef1 (opens in a new tab)
- https://git.kernel.org/stable/c/20080709457bc1e920eb002483d7d981d9b2ac1c (opens in a new tab)
- https://git.kernel.org/stable/c/a67c6397fcb7e842d3c595243049940970541c48 (opens in a new tab)
- https://git.kernel.org/stable/c/d77b6ff0ce35a6d0b0b7b9581bc3f76d041d4087 (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-089022.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-032379.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-30361 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-39839)Record last updated .