Cyber Resilience

CWE · MITRE source

CWE-158Improper Neutralization of Null Byte or NUL Character

Abstraction: Variant · CVEs in our corpus: 28

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: 11 August 2026 14:55 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: partial · 2 mapping(s) from 1 framework(s): CAPEC 2 (partial)

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

NIST 800-53 r5 controls that address this weakness (0)AI-assisted

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

Top CVEs of this weakness type, ranked by Risk Priority

CVE Risk CVSS EPSS Published
CVE-2025-47812 KEV 10.010.00.95492025-07-10
CVE-2009-1537 KEV 9.28.80.51212009-05-29
CVE-2020-14500 7.710.00.01672020-08-25
CVE-2025-14388 7.39.80.00432025-12-23
CVE-2022-20812 6.79.00.01842022-07-06
CVE-2022-20813 6.69.00.01052022-07-06
CVE-2023-5719 6.68.80.00512023-11-06
CVE-2025-55113 6.29.00.00272025-09-16
CVE-2026-331916.28.60.00352026-03-20
CVE-2020-5363 6.08.60.00322020-06-10
CVE-2025-66263 5.87.50.00382025-11-26
CVE-2025-1936 5.77.30.00432025-03-04
CVE-2020-7928 5.46.50.01412020-11-23
CVE-2024-10921 5.36.80.00542024-11-14
CVE-2026-23863 5.16.50.00532026-05-01
CVE-2026-706034.46.00.00102026-08-05
CVE-2024-0408 4.35.50.00322024-01-18
CVE-2026-41256 4.25.50.00162026-05-11
CVE-2026-43895 3.54.40.00162026-05-11
CVE-2026-477783.44.40.00182026-06-26
CVE-2026-285403.14.00.00082026-03-05
CVE-2026-43859 3.13.70.00162026-05-04
CVE-2026-43861 3.13.70.00162026-05-04
CVE-2024-9026 3.03.30.00482024-10-08
CVE-2025-61985 2.83.60.00112025-10-06