Security Resilience

CWE · MITRE source

CWE-158Improper Neutralization of Null Byte or NUL Character

Abstraction: Variant · CVEs in our corpus: 46

The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes NUL characters or null bytes when they are sent to a downstream component.

As data is parsed, an injected NUL character or null byte may cause the product to believe the input is terminated earlier than it actually is, or otherwise cause the input to be misinterpreted. This could then be used to inject potentially dangerous input that occurs after the null byte or otherwise bypass validation routines and other protection mechanisms.

Last updated: 19 November 2026 21:43 UTC

Cumulative inbound coverage

How completely the frameworks we cross-walk collectively cover this — the verdict is the strongest single mapping (overlapping partials are not summed); breadth shows the corroboration behind it.

Collective: full · 17 mapping(s) from 4 framework(s): ATT&CK 10 (full) · ISO_IEC_27002_2022 5 (mostly) · 1 (mostly) · 800-53 1 (mostly)

See the full cumulative-coverage rollup →

Control responseHuman-reviewed

Answering this weakness across the control lifecycle, from our framework cross-walks.

Prevent
Stop it (NIST 800-53 / CSF Protect)
  • PR.PS-06
  • SI-10 Information Input Validation
Detect
Catch it (CSF Detect / Respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V1.2.10
Our mappings

NIST 800-53 r5 controls PROPOSED for this weakness (0)

These are model PROPOSALS, not graded mappings. They come from controls_to_cwe_proposals, which carries no grade field at all; across the CWE pages 1,540 of 1,722 such associations (89%) have never been graded by anything. The heading said “address” until 2026-09-29, which asserted a relationship the data does not carry. Graded cross-walks are on the framework map, not here.

Control Title Family Why it addresses this CWE
No NIST controls proposed yet.
Our mappings

MITRE ATT&CK techniques this weakness enables

Our own two-way CWE↔ATT&CK cross-walk — a direct mapping with no public source (the CWE→CAPEC→ATT&CK chain leaves most top weaknesses, incl. XSS and SQLi, mapped to nothing).

Direction: ← other covers this; → this covers other (F/M/P = full / mostly / partial). gov = governs / implements (a mandate, not coverage).

Top CVEs of this weakness type, ranked by Risk Priority

CVE Risk CVSS EPSS Published
CVE-2025-47812 KEV 10.010.00.93882025-07-10
CVE-2009-1537 KEV 9.28.80.51082009-05-29
CVE-2020-14500 7.710.00.01672020-08-25
CVE-2025-14388 7.39.80.00482025-12-23
CVE-2022-20812 6.79.00.01982022-07-06
CVE-2022-20813 6.69.00.01142022-07-06
CVE-2023-5719 6.68.80.00622023-11-06
CVE-2025-55113 6.29.00.00292025-09-16
CVE-2026-331916.28.60.00402026-03-20
CVE-2026-763546.18.10.00442026-08-19
CVE-2020-5363 6.08.60.00322020-06-10
CVE-2025-66263 5.87.50.00422025-11-26
CVE-2025-1936 5.77.30.00442025-03-04
CVE-2026-927055.67.80.00132026-10-09
CVE-2020-7928 5.46.50.01442020-11-23
CVE-2024-10921 5.36.80.00552024-11-14
CVE-2026-23863 5.16.50.00532026-05-01
CVE-2026-115473 5.06.50.00262026-11-04
CVE-2026-1052394.65.30.00822026-10-06
CVE-2026-1052404.65.30.00812026-10-06
CVE-2026-70603 4.46.00.00132026-08-05
CVE-2026-1295124.45.30.00372026-11-17
CVE-2024-0408 4.35.50.00322024-01-18
CVE-2026-41256 4.25.50.00162026-05-11
CVE-2026-1187673.84.80.00222026-10-29