{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-39839","id":"CVE-2025-39839","title":"batman-adv: fix OOB read/write in network-coding decode","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nbatman-adv: fix OOB read/write in network-coding decode\n\nbatadv_nc_skb_decode_packet() trusts coded_len and checks only against\nskb->len. XOR starts at sizeof(struct batadv_unicast_packet), reducing\npayload headroom, and the source skb length is not verified, allowing an\nout-of-bounds read and a small out-of-bounds write.\n\nValida","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nbatman-adv: fix OOB read/write in network-coding decode\n\nbatadv_nc_skb_decode_packet() trusts coded_len and checks only against\nskb->len. XOR starts at sizeof(struct batadv_unicast_packet), reducing\npayload headroom, and the source skb length is not verified, allowing an\nout-of-bounds read and a small out-of-bounds write.\n\nValidate that coded_len fits within the payload area of both destination\nand source sk_buffs before XORing.","published":"2025-09-19T15:26:14.688Z","updated":"2026-10-28T02:30:43.195449943Z","reserved":"2025-04-16T07:20:57.141Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"2df5278b0267c799f3e877e8eeddbb6e93cda0bb","lessThan":"30fc47248f02b8a14a61df469e1da4704be1a19f","status":"affected","versionType":"git"},{"version":"2df5278b0267c799f3e877e8eeddbb6e93cda0bb","lessThan":"1e36c6c8dc8023b4bbe9a16e819f9998b9b6a183","status":"affected","versionType":"git"},{"version":"2df5278b0267c799f3e877e8eeddbb6e93cda0bb","lessThan":"5d334bce9fad58cf328d8fa14ea1fff855819863","status":"affected","versionType":"git"},{"version":"2df5278b0267c799f3e877e8eeddbb6e93cda0bb","lessThan":"dce6c2aa70e94c04c523b375dfcc664d7a0a560a","status":"affected","versionType":"git"},{"version":"2df5278b0267c799f3e877e8eeddbb6e93cda0bb","lessThan":"bb37252c9af1cb250f34735ee98f80b46be3cef1","status":"affected","versionType":"git"},{"version":"2df5278b0267c799f3e877e8eeddbb6e93cda0bb","lessThan":"20080709457bc1e920eb002483d7d981d9b2ac1c","status":"affected","versionType":"git"},{"version":"2df5278b0267c799f3e877e8eeddbb6e93cda0bb","lessThan":"a67c6397fcb7e842d3c595243049940970541c48","status":"affected","versionType":"git"},{"version":"2df5278b0267c799f3e877e8eeddbb6e93cda0bb","lessThan":"d77b6ff0ce35a6d0b0b7b9581bc3f76d041d4087","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.10","status":"affected"},{"version":"0","lessThan":"3.10","status":"unaffected","versionType":"semver"},{"version":"5.4.299","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.243","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.192","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.151","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.105","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.46","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.16.6","lessThanOrEqual":"6.16.*","status":"unaffected","versionType":"semver"},{"version":"6.17","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-125"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/30fc47248f02b8a14a61df469e1da4704be1a19f","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/1e36c6c8dc8023b4bbe9a16e819f9998b9b6a183","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/5d334bce9fad58cf328d8fa14ea1fff855819863","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/dce6c2aa70e94c04c523b375dfcc664d7a0a560a","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/bb37252c9af1cb250f34735ee98f80b46be3cef1","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/20080709457bc1e920eb002483d7d981d9b2ac1c","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/a67c6397fcb7e842d3c595243049940970541c48","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/d77b6ff0ce35a6d0b0b7b9581bc3f76d041d4087","tags":["Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":["Mailing List","Third Party Advisory","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html","tags":["Mailing List","Third Party Advisory","web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-089022.html","tags":["web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-032379.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39839.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39839","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.0027,"epssPercentile":0.19448,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-39839","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39839","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-39839","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-39839","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}