Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-39839

HIGH 8.8EPSS 25%

batman-adv: fix OOB read/write in network-coding decode

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < 30fc47248f02b8a14a61df469e1da4704be1a19f; >= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < 1e36c6c8dc8023b4bbe9a16e819f9998b9b6a183; >= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < 5d334bce9fad58cf328d8fa14ea1fff855819863; >= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < dce6c2aa70e94c04c523b375dfcc664d7a0a560a; >= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < bb37252c9af1cb250f34735ee98f80b46be3cef1; >= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < 20080709457bc1e920eb002483d7d981d9b2ac1c; >= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < a67c6397fcb7e842d3c595243049940970541c48; >= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < d77b6ff0ce35a6d0b0b7b9581bc3f76d041d4087
  • Anyone running Linux 3.10

Vulnerability facts

Affected
Linux >= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < 30fc47248f02b8a14a61df469e1da4704be1a19f; >= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < 1e36c6c8dc8023b4bbe9a16e819f9998b9b6a183; >= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < 5d334bce9fad58cf328d8fa14ea1fff855819863; >= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < dce6c2aa70e94c04c523b375dfcc664d7a0a560a; >= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < bb37252c9af1cb250f34735ee98f80b46be3cef1; >= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < 20080709457bc1e920eb002483d7d981d9b2ac1c; >= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < a67c6397fcb7e842d3c595243049940970541c48; >= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < d77b6ff0ce35a6d0b0b7b9581bc3f76d041d4087; Linux 3.10
Fixed in
Linux 30fc47248f02b8a14a61df469e1da4704be1a19f, Linux 1e36c6c8dc8023b4bbe9a16e819f9998b9b6a183, Linux 5d334bce9fad58cf328d8fa14ea1fff855819863, Linux 20080709457bc1e920eb002483d7d981d9b2ac1c
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
8.8 (v3.1, CNA)CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Adjacent network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.39% chance of exploitation in 30 days (percentile 25, 2026-11-26)
CWE
CWE-125
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < 30fc47248f02b8a14a61df469e1da4704be1a19f; >= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < 1e36c6c8dc8023b4bbe9a16e819f9998b9b6a183; >= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < 5d334bce9fad58cf328d8fa14ea1fff855819863; >= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < dce6c2aa70e94c04c523b375dfcc664d7a0a560a; >= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < bb37252c9af1cb250f34735ee98f80b46be3cef1; >= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < 20080709457bc1e920eb002483d7d981d9b2ac1c; >= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < a67c6397fcb7e842d3c595243049940970541c48; >= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < d77b6ff0ce35a6d0b0b7b9581bc3f76d041d4087—cvelist
Linux3.10—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-39839. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-39839.md
Affected: Linux >= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < 30fc47248f02b8a14a61df469e1da4704be1a19f; >= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < 1e36c6c8dc8023b4bbe9a16e819f9998b9b6a183; >= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < 5d334bce9fad58cf328d8fa14ea1fff855819863; >= 2df5278b0267c799f3e877e…
Fixed in: Linux 30fc47248f02b8a14a61df469e1da4704be1a19f, Linux 1e36c6c8dc8023b4bbe9a16e819f9998b9b6a183, Linux 5d334bce9fad58cf328d8fa14ea1fff855819863, Linux 20080709457bc1e920eb002483d7d981d9b2ac1c

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

FAQ

Is CVE-2025-39839 being exploited?

There is no confirmed exploitation: CVE-2025-39839 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.39% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-39839?

High: CVSS 8.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2025-39839?

Linux >= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < 30fc47248f02b8a14a61df469e1da4704be1a19f; >= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < 1e36c6c8dc8023b4bbe9a16e819f9998b9b6a183; >= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < 5d334bce9fad58cf328d8fa14ea1fff855819863; >= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < dce6c2aa70e94c04c523b375dfcc664d7a0a560a; >= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < bb37252c9af1cb250f34735ee98f80b46be3cef1; >= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < 20080709457bc1e920eb002483d7d981d9b2ac1c; >= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < a67c6397fcb7e842d3c595243049940970541c48; >= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < d77b6ff0ce35a6d0b0b7b9581bc3f76d041d4087; Linux 3.10.

Is there a fix for CVE-2025-39839?

Yes. Fixed in Linux 30fc47248f02b8a14a61df469e1da4704be1a19f, Linux 1e36c6c8dc8023b4bbe9a16e819f9998b9b6a183, Linux 5d334bce9fad58cf328d8fa14ea1fff855819863, Linux 20080709457bc1e920eb002483d7d981d9b2ac1c. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2025-39839?

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.

Sponsors