CVE-2025-39839

HighCVSS 7.1/10Last modified Oct 19, 2026

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.

Metrics

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

Weakness enumeration

Affected software

VendorProductVersions
LinuxLinux>= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < 30fc47248f02b8a14a61df469e1da4704be1a19f; >= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < 1e36c6c8dc8023b4bbe9a16e819f9998b9b6a183; >= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < 5d334bce9fad58cf328d8fa14ea1fff855819863; >= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < dce6c2aa70e94c04c523b375dfcc664d7a0a560a; >= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < bb37252c9af1cb250f34735ee98f80b46be3cef1; >= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < 20080709457bc1e920eb002483d7d981d9b2ac1c; >= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < a67c6397fcb7e842d3c595243049940970541c48; >= 2df5278b0267c799f3e877e8eeddbb6e93cda0bb, < d77b6ff0ce35a6d0b0b7b9581bc3f76d041d4087
LinuxLinux3.10
SiemensRUGGEDCOM RST2428P< V3.3
SiemensSCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family< V3.3
SiemensSCALANCE XCH328< V3.3
SiemensSCALANCE XCM324< V3.3
SiemensSCALANCE XCM328< V3.3
SiemensSCALANCE XCM332< V3.3
SiemensSCALANCE XRH334 (24 V DC, 8xFO, CC)< V3.3
SiemensSCALANCE XRM334 (230 V AC, 12xFO)< V3.3
SiemensSCALANCE XRM334 (230 V AC, 8xFO)< V3.3
SiemensSCALANCE XRM334 (230V AC, 2x10G, 24xSFP, 8xSFP+)< V3.3
SiemensSCALANCE XRM334 (24 V DC, 12xFO)< V3.3
SiemensSCALANCE XRM334 (24 V DC, 8xFO)< V3.3
SiemensSCALANCE XRM334 (24V DC, 2x10G, 24xSFP, 8xSFP+)< V3.3
SiemensSCALANCE XRM334 (2x230 V AC, 12xFO)< V3.3
SiemensSCALANCE XRM334 (2x230 V AC, 8xFO)< V3.3
SiemensSCALANCE XRM334 (2x230V AC, 2x10G, 24xSFP, 8xSFP+)< V3.3
SiemensSIMATIC CN 4100< V5.0

References

Timeline

Published
Sep 19, 2025
Last modified
Oct 19, 2026
NVD status
Modified

Related CVEs from 2025

CVE-2025-39847.5A vulnerability was found in Apereo CAS 5.2.6 and classified as critical. Affected by this issue is the function saveService of the file casCVE-2025-398407.1In the Linux kernel, the following vulnerability has been resolved: audit: fix out-of-bounds read in audit_compare_dname_path() When a watCVE-2025-398417.8In the Linux kernel, the following vulnerability has been resolved: scsi: lpfc: Fix buffer free/clear order in deferred receive path Fix aCVE-2025-398425.5In the Linux kernel, the following vulnerability has been resolved: ocfs2: prevent release journal inode after journal shutdown Before calCVE-2025-398435.5In the Linux kernel, the following vulnerability has been resolved: mm: slub: avoid wake up kswapd in set_track_prepare set_track_prepare(CVE-2025-398445.5In the Linux kernel, the following vulnerability has been resolved: mm: move page table sync declarations to linux/pgtable.h During our inCVE-2025-398455.5In the Linux kernel, the following vulnerability has been resolved: x86/mm/64: define ARCH_PAGE_TABLE_SYNC_MASK and arch_sync_kernel_mappinCVE-2025-398465.5In the Linux kernel, the following vulnerability has been resolved: pcmcia: Fix a NULL pointer dereference in __iodyn_find_io_region() In CVE-2025-398475.5In the Linux kernel, the following vulnerability has been resolved: ppp: fix memory leak in pad_compress_skb If alloc_skb() fails in pad_cCVE-2025-398485.5In the Linux kernel, the following vulnerability has been resolved: ax25: properly unshare skbs in ax25_kiss_rcv() Bernard Pidoux reportedCVE-2025-398497.8In the Linux kernel, the following vulnerability has been resolved: wifi: cfg80211: sme: cap SSID length in __cfg80211_connect_result() IfCVE-2025-39854.9A vulnerability was found in Apereo CAS 5.2.6. It has been classified as problematic. This affects the function ResponseEntity of the file c
CVE-2025-39839: High severity, CVSS 7.1 | Vulnix