VDB

CVE-2025-39839

CVE-2025-39839 PUBLISHED CVSS 8.8 HIGH

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

Reported by linux · Published September 19, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
python3-perfAmazon Linux1:6.1.153-175.280.amzn2023
kernelAmazon Linux1:6.1.153-175.280.amzn2023
kernel-tools-develAmazon Linux1:6.1.153-175.280.amzn2023
perfAmazon Linux1:6.1.153-175.280.amzn2023
kernel-modules-extra-commonAmazon Linux1:6.1.153-175.280.amzn2023
kernel-libbpfAmazon Linux1:6.1.153-175.280.amzn2023
kernel-libbpf-staticAmazon Linux1:6.1.153-175.280.amzn2023
kernel-headersAmazon Linux1:6.1.153-175.280.amzn2023
kernel-modules-extraAmazon Linux1:6.1.153-175.280.amzn2023
SCALANCE XRM334 (24 V DC, 8xFO)Siemens3.3
SCALANCE XRH334 (24 V DC, 8xFO, CC)Siemens3.3
SCALANCE XRM334 (230V AC, 2x10G, 24xSFP, 8xSFP+)Siemens3.3

10 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
8.8
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux2df5278b0267c799f3e877e8eeddbb6e93cda0bb, 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, 2df5278b0267c799f3e877e8eeddbb6e93cda0bb
LinuxLinux3.10, 0, 5.4.299
SiemensSCALANCE XRM334 (24 V DC, 8xFO)0
SiemensSCALANCE XRH334 (24 V DC, 8xFO, CC)0
amazon:2023python3-perf0
SiemensSCALANCE XRM334 (230V AC, 2x10G, 24xSFP, 8xSFP+)0
amazon:2023kernel0
SiemensSCALANCE XRM334 (24V DC, 2x10G, 24xSFP, 8xSFP+)0
SiemensSCALANCE XCM3240
SiemensSCALANCE XRM334 (230 V AC, 12xFO)0
amazon:2023kernel-tools-devel0
SiemensSCALANCE XRM334 (2x230 V AC, 8xFO)0
SiemensSCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family0
SiemensSCALANCE XRM334 (2x230 V AC, 12xFO)0
amazon:2023perf0
amazon:2023kernel-modules-extra-common0
SiemensSIMATIC CN 41000
SiemensSCALANCE XRM334 (230 V AC, 8xFO)0
amazon:2023kernel-libbpf0
amazon:2023kernel-libbpf-static0

…and 15 more

Timeline

  • Sep 19, 2025 CVE Published
  • Sep 20, 2025 EPSS Score (30 in total, the first dated here)
  • Oct 12, 2025 PoC Published (12 in total, the first dated here)
  • Nov 17, 2025 CVE Updated
  • Mar 29, 2026 Distribution Patch (113 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (124 in total, the first dated here)
  • Jun 8, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-39839
vulnetix vdb fixes CVE-2025-39839

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-39839/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›