Cyber Resilience

CVE-2023-6040

Memory Safety in Linux Kernel 4.16 – 4.19.305

Public PoCMemory Safety
Published
12 January 2024
Modified
20 March 2025
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.0031 24th percentile
Risk Priority 55 floored blend · peak EPSS

Summary

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

Operationally, ranked at the 24th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

EU & UK References

Vulnerability Data

An out-of-bounds access vulnerability involving netfilter was reported and fixed as: f1082dd31fe4 (netfilter: nf_tables: Reject tables of unsupported family); While creating a new netfilter table, lack of a safeguard against invalid nf_tables family (pf) values within `nf_tables_newtable` function enables an…

more

attacker to achieve out-of-bounds access.

CWE(s)

Related Threats

CVEs Like This One

CVE-2025-38320Same product: Debian Debian Linux
CVE-2025-38483Same product: Debian Debian Linux
CVE-2025-38714Same product: Debian Debian Linux
CVE-2025-39710Same product: Debian Debian Linux
CVE-2024-35967Same product: Debian Debian Linux
CVE-2025-38530Same product: Debian Debian Linux
CVE-2025-38482Same product: Debian Debian Linux
CVE-2025-39853Same product: Debian Debian Linux
CVE-2025-38027Same product: Debian Debian Linux
CVE-2025-37780Same product: Debian Debian Linux

Affected Assets

linux
linux kernel
4.16 — 4.19.305 · 4.20 — 5.4.267 · 5.5 — 5.10.208
debian
debian linux
10.0

Mitigating Controls

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
prevents

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

ID.RA-01 partial match
prevents

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

PR.PS-02 partial match
prevents

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.

detects

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

A.8.15 Logging partial match
detects

Logging can record evidence of an out-of-bounds read but does not prevent the weakness itself.

prevents

Secure development life cycle mandates input validation and bounds checking that directly prevent out-of-bounds reads.

prevents

Application security requirements include explicit bounds and memory-safety specifications that mitigate buffer over-reads.

prevents

Secure system architecture and engineering principles require memory-safe design patterns and runtime protections against out-of-bounds access.

prevents

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

References