9.8
CRITICAL CVSS 3.1
CVE-2026-31659
batman-adv: reject oversized global TT response buffers
Description

In the Linux kernel, the following vulnerability has been resolved: batman-adv: reject oversized global TT response buffers batadv_tt_prepare_tvlv_global_data() builds the allocation length for a global TT response in 16-bit temporaries. When a remote originator advertises a large enough global TT, the TT payload length plus the VLAN header offset can exceed 65535 and wrap before kmalloc(). The full-table response path still uses the original TT payload length when it fills tt_change, so the wrapped allocation is too small and batadv_tt_prepare_tvlv_global_data() writes past the end of the heap object before the later packet-size check runs. Fix this by rejecting TT responses whose TVLV value length cannot fit in the 16-bit TVLV payload length field.

INFO

Published Date :

April 24, 2026, 3:16 p.m.

Last Modified :

Nov. 11, 2026, 11:10 p.m.

Remotely Exploit :

Yes !

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-31659 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 134c704f-9b21-4f2e-91b3-4a467353bcc0
CVSS 3.1 CRITICAL 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
Reject oversized global TT response buffers to prevent buffer overflows.
  • Update the Linux kernel.
  • Reject TT responses with invalid TVLV lengths.
  • Ensure TT payload length fits 16-bit field.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-31659 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-31659 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-31659 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-31659 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Translated by [email protected]

    Nov. 11, 2026

    Action Type Old Value New Value
    Added Translation Title: Linux Kernel, Description: En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: batman-adv: rechazar búferes de respuesta TT global sobredimensionados batadv_tt_prepare_tvlv_global_data() construye la longitud de asignación para una respuesta TT global en temporales de 16 bits. Cuando un originador remoto anuncia un TT global lo suficientemente grande, la longitud de la carga útil del TT más el desplazamiento de la cabecera VLAN puede exceder 65535 y desbordarse antes de kmalloc(). La ruta de respuesta de tabla completa todavía utiliza la longitud original de la carga útil del TT cuando llena tt_change, por lo que la asignación desbordada es demasiado pequeña y batadv_tt_prepare_tvlv_global_data() escribe más allá del final del objeto de la pila antes de que se ejecute la comprobación posterior del tamaño del paquete. Solucionar esto al rechazar respuestas TT cuya longitud de valor TVLV no puede caber en el campo de longitud de carga útil TVLV de 16 bits.
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Oct. 19, 2026

    Action Type Old Value New Value
    Added CWE CWE-190
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Oct. 16, 2026

    Action Type Old Value New Value
    Added SSVC {'id': 'CVE-2026-31659', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'yes'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-10-16T15:11:40.590672Z'}
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Oct. 16, 2026

    Action Type Old Value New Value
    Added Reference https://git.kernel.org/stable/c/2997f4bd1f982e7013709946e00be89b507693fa
    Added Reference https://git.kernel.org/stable/c/3a359bf5c61d52e7f09754108309d637532164a6
    Added Reference https://git.kernel.org/stable/c/69d61639bc7e963c3b645e570279d731e7c89062
    Added Reference https://git.kernel.org/stable/c/7e5d007e0df946bffb8542fb112e0044014a5897
    Added Reference https://git.kernel.org/stable/c/95c71365a2222908441b54d6f2c315e0c79fcec3
    Added Reference https://git.kernel.org/stable/c/cf2199171ef799ca7270019125f4a91bd20ad4d9
    Added Reference https://git.kernel.org/stable/c/de6c1dc3c7d01a152607e6fcecee4d5288283f10
    Added Reference https://git.kernel.org/stable/c/f970646b9a39539d1bac86822ac78b5915455ea9
    Removed Reference https://git.kernel.org/stable/c/2997f4bd1f982e7013709946e00be89b507693fa
    Removed Reference https://git.kernel.org/stable/c/3a359bf5c61d52e7f09754108309d637532164a6
    Removed Reference https://git.kernel.org/stable/c/69d61639bc7e963c3b645e570279d731e7c89062
    Removed Reference https://git.kernel.org/stable/c/7e5d007e0df946bffb8542fb112e0044014a5897
    Removed Reference https://git.kernel.org/stable/c/95c71365a2222908441b54d6f2c315e0c79fcec3
    Removed Reference https://git.kernel.org/stable/c/cf2199171ef799ca7270019125f4a91bd20ad4d9
    Removed Reference https://git.kernel.org/stable/c/de6c1dc3c7d01a152607e6fcecee4d5288283f10
    Removed Reference https://git.kernel.org/stable/c/f970646b9a39539d1bac86822ac78b5915455ea9
    Removed Reference Type https://git.kernel.org/stable/c/2997f4bd1f982e7013709946e00be89b507693fa Types: Patch
    Removed Reference Type https://git.kernel.org/stable/c/3a359bf5c61d52e7f09754108309d637532164a6 Types: Patch
    Removed Reference Type https://git.kernel.org/stable/c/69d61639bc7e963c3b645e570279d731e7c89062 Types: Patch
    Removed Reference Type https://git.kernel.org/stable/c/7e5d007e0df946bffb8542fb112e0044014a5897 Types: Patch
    Removed Reference Type https://git.kernel.org/stable/c/95c71365a2222908441b54d6f2c315e0c79fcec3 Types: Patch
    Removed Reference Type https://git.kernel.org/stable/c/cf2199171ef799ca7270019125f4a91bd20ad4d9 Types: Patch
    Removed Reference Type https://git.kernel.org/stable/c/de6c1dc3c7d01a152607e6fcecee4d5288283f10 Types: Patch
    Removed Reference Type https://git.kernel.org/stable/c/f970646b9a39539d1bac86822ac78b5915455ea9 Types: Patch
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 17, 2026

    Action Type Old Value New Value
    Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '7ea7b4a142758deaf46c1af0ca9ceca6dd55138b', 'lessThan': '7e5d007e0df946bffb8542fb112e0044014a5897', 'versionType': 'git'}, {'status': 'affected', 'version': '7ea7b4a142758deaf46c1af0ca9ceca6dd55138b', 'lessThan': '2997f4bd1f982e7013709946e00be89b507693fa', 'versionType': 'git'}, {'status': 'affected', 'version': '7ea7b4a142758deaf46c1af0ca9ceca6dd55138b', 'lessThan': '95c71365a2222908441b54d6f2c315e0c79fcec3', 'versionType': 'git'}, {'status': 'affected', 'version': '7ea7b4a142758deaf46c1af0ca9ceca6dd55138b', 'lessThan': '69d61639bc7e963c3b645e570279d731e7c89062', 'versionType': 'git'}, {'status': 'affected', 'version': '7ea7b4a142758deaf46c1af0ca9ceca6dd55138b', 'lessThan': 'f970646b9a39539d1bac86822ac78b5915455ea9', 'versionType': 'git'}, {'status': 'affected', 'version': '7ea7b4a142758deaf46c1af0ca9ceca6dd55138b', 'lessThan': 'de6c1dc3c7d01a152607e6fcecee4d5288283f10', 'versionType': 'git'}, {'status': 'affected', 'version': '7ea7b4a142758deaf46c1af0ca9ceca6dd55138b', 'lessThan': 'cf2199171ef799ca7270019125f4a91bd20ad4d9', 'versionType': 'git'}, {'status': 'affected', 'version': '7ea7b4a142758deaf46c1af0ca9ceca6dd55138b', 'lessThan': '3a359bf5c61d52e7f09754108309d637532164a6', 'versionType': 'git'}], 'programFiles': ['net/batman-adv/translation-table.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '3.13'}, {'status': 'unaffected', 'version': '0', 'lessThan': '3.13', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.253', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.203', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.169', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.135', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.82', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.23', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '6.19.13', 'versionType': 'semver', 'lessThanOrEqual': '6.19.*'}, {'status': 'unaffected', 'version': '7.0', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['net/batman-adv/translation-table.c'], 'defaultStatus': 'affected'}]
  • Initial Analysis by [email protected]

    Apr. 27, 2026

    Action Type Old Value New Value
    Added CWE NVD-CWE-noinfo
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:3.13:-:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc7:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.203 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.169 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.23 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 6.19.13 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.135 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.82 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.13.1 up to (excluding) 5.10.253
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/2997f4bd1f982e7013709946e00be89b507693fa Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/3a359bf5c61d52e7f09754108309d637532164a6 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/69d61639bc7e963c3b645e570279d731e7c89062 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/7e5d007e0df946bffb8542fb112e0044014a5897 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/95c71365a2222908441b54d6f2c315e0c79fcec3 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/cf2199171ef799ca7270019125f4a91bd20ad4d9 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/de6c1dc3c7d01a152607e6fcecee4d5288283f10 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/f970646b9a39539d1bac86822ac78b5915455ea9 Types: Patch
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Apr. 27, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Apr. 24, 2026

    Action Type Old Value New Value
    Added Description In the Linux kernel, the following vulnerability has been resolved: batman-adv: reject oversized global TT response buffers batadv_tt_prepare_tvlv_global_data() builds the allocation length for a global TT response in 16-bit temporaries. When a remote originator advertises a large enough global TT, the TT payload length plus the VLAN header offset can exceed 65535 and wrap before kmalloc(). The full-table response path still uses the original TT payload length when it fills tt_change, so the wrapped allocation is too small and batadv_tt_prepare_tvlv_global_data() writes past the end of the heap object before the later packet-size check runs. Fix this by rejecting TT responses whose TVLV value length cannot fit in the 16-bit TVLV payload length field.
    Added Reference https://git.kernel.org/stable/c/2997f4bd1f982e7013709946e00be89b507693fa
    Added Reference https://git.kernel.org/stable/c/3a359bf5c61d52e7f09754108309d637532164a6
    Added Reference https://git.kernel.org/stable/c/69d61639bc7e963c3b645e570279d731e7c89062
    Added Reference https://git.kernel.org/stable/c/7e5d007e0df946bffb8542fb112e0044014a5897
    Added Reference https://git.kernel.org/stable/c/95c71365a2222908441b54d6f2c315e0c79fcec3
    Added Reference https://git.kernel.org/stable/c/cf2199171ef799ca7270019125f4a91bd20ad4d9
    Added Reference https://git.kernel.org/stable/c/de6c1dc3c7d01a152607e6fcecee4d5288283f10
    Added Reference https://git.kernel.org/stable/c/f970646b9a39539d1bac86822ac78b5915455ea9
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.