Security Resilience

CVE-2026-31675

Memory Safety in Linux Kernel 2.6.16 – 6.6.134

Published
25 April 2026
Modified
19 October 2026
Patch / advisory
CVSS Score v3.1 7.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0016 6th percentile
Risk Priority 55 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS scores by FIRST (EPSS SIG), generated by Empirical Security. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-31675 is a high-severity Out-of-bounds Read (CWE-125) vulnerability in Linux Kernel. Its CVSS base score is 7.8 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Endpoint Denial of Service (T1499); ranked at the 6th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SA-8 (Security and Privacy Engineering Principles) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2026-31675 is an out-of-bounds memory access vulnerability in the Linux kernel's networking traffic control subsystem, specifically within the sch_netem (netem) queue discipline. The issue arises in the netem_enqueue() function during packet corruption logic, where get_random_u32_below(skb_headlen(skb)) selects a random index for modifying skb->data. When fully non-linear packets are sent via an AF_PACKET TX_RING over an IPIP tunnel, skb_headlen(skb) evaluates to 0. Passing 0 to get_random_u32_below() triggers a slow path that returns an unconstrained 32-bit random integer, which is then used as an offset into skb->data, resulting in an out-of-bounds access. The vulnerability carries a CVSS v3.1 base score of 7.8 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).

A local attacker with low privileges can exploit this vulnerability by crafting and sending fully non-linear packets through an AF_PACKET TX_RING over an IPIP tunnel while the netem discipline is configured for packet corruption. This triggers the out-of-bounds access during the corruption attempt, potentially allowing arbitrary memory reads or writes depending on the kernel's memory layout and protections, leading to high impacts on confidentiality, integrity, and availability.

Mitigation involves applying upstream kernel patches, as detailed in the referenced stable commit fixes: 13a66ca1e235d4bcd53d12d4c68490cad7f8e46f, 3a2999704ac36cfb4041fed3652d26a3373e8d12, 4fd258e281fa8bc15e9ce2c7691941537e9258ad, a14b56863348686dd0387eea8ce66b85cf455908, and d64cb81dcbd54927515a7f65e5e24affdc73c14b. These patches add a check to ensure skb_headlen(skb) is non-zero before attempting to corrupt the linear data area, causing fully non-linear packets to silently bypass the corruption logic.

EU & UK References

Vulnerability Data

In the Linux kernel, the following vulnerability has been resolved: net/sched: sch_netem: fix out-of-bounds access in packet corruption In netem_enqueue(), the packet corruption logic uses get_random_u32_below(skb_headlen(skb)) to select an index for modifying skb->data. When an AF_PACKET TX_RING sends fully non-linear…

more

packets over an IPIP tunnel, skb_headlen(skb) evaluates to 0. Passing 0 to get_random_u32_below() takes the variable-ceil slow path which returns an unconstrained 32-bit random integer. Using this unconstrained value as an offset into skb->data results in an out-of-bounds memory access. Fix this by verifying skb_headlen(skb) is non-zero before attempting to corrupt the linear data area. Fully non-linear packets will silently bypass the corruption logic.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1210 Exploitation of Remote Services Lateral Movement
Adversaries may exploit remote services to gain unauthorized access to internal systems once inside of a network.
T1212 Exploitation for Credential Access Credential Access
Adversaries may exploit software vulnerabilities in an attempt to collect credentials.
T1499 Endpoint Denial of Service Impact
Adversaries may perform Endpoint Denial of Service (DoS) attacks to degrade or block the availability of services to users.
T1584.008 Network Devices Resource Development
Adversaries may compromise third-party network devices that can be used during targeting.
T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2025-21687Same product: Linux Linux Kernel
CVE-2024-53193Same product: Linux Linux Kernel
CVE-2025-21869Same product: Linux Linux Kernel
CVE-2023-52495Same product: Linux Linux Kernel
CVE-2024-26730Same product: Linux Linux Kernel
CVE-2023-52790Same product: Linux Linux Kernel
CVE-2024-50203Same product: Linux Linux Kernel
CVE-2023-52916Same product: Linux Linux Kernel
CVE-2024-38621Same product: Linux Linux Kernel
CVE-2023-31436Same product: Linux Linux Kernel

Affected Assets

linux
linux kernel
7.0 · 2.6.16 — 6.6.134 · 6.7 — 6.12.81 · 6.13 — 6.18.22

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

Developer testing and evaluation directly finds out-of-bounds read flaws through static analysis, fuzzing, and dynamic bounds checks.

Secure engineering principles require bounds checking and memory-safe constructs that stop out-of-bounds reads from being introduced.

Process isolation confines the effects of an out-of-bounds read to the compromised process.

Input validation rejects malformed indices or lengths that would otherwise cause reads outside buffer bounds.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
blocks

Secure-development practices such as bounds checking and memory-safe languages directly prevent out-of-bounds reads.

ID.RA-01 partial match
blocks

Vulnerability scanning and recording can discover instances of out-of-bounds reads after code is deployed.

PR.PS-02 partial match
blocks

Routine patching replaces vulnerable code containing out-of-bounds read flaws.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing in development and acceptance includes fuzzing and static analysis that detect out-of-bounds read defects before release.

prevents

Secure coding standards explicitly forbid unsafe pointer arithmetic and mandate bounds-checked reads, eliminating CWE-125.

References