Cyber Posture

CWE · MITRE source

CWE-158Improper Neutralization of Null Byte or NUL Character

Abstraction: Variant · CVEs in our corpus: 23

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: 09 May 2026 03:25 UTC

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

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 KEV9.610.00.92842025-07-10
CVE-2020-145002.010.00.00292020-08-25
CVE-2025-143882.09.80.00142025-12-23
CVE-2022-208121.99.00.01062022-07-06
CVE-2022-208131.89.00.00402022-07-06
CVE-2023-57191.88.80.00092023-11-06
CVE-2025-551131.89.00.00042025-09-16
CVE-2020-53631.78.60.00052020-06-10
CVE-2026-331911.78.60.00202026-03-20
CVE-2025-19361.57.30.00182025-03-04
CVE-2025-662631.57.50.00042025-11-26
CVE-2024-109211.46.80.00542024-11-14
CVE-2020-79281.36.50.00482020-11-23
CVE-2026-238631.36.50.00012026-05-01
CVE-2024-04081.15.50.00022024-01-18
CVE-2026-285400.84.00.00012026-03-05
CVE-2024-90260.73.30.00872024-10-08
CVE-2025-619850.73.60.00022025-10-06
CVE-2026-438590.73.70.00032026-05-04
CVE-2026-438610.73.70.00032026-05-04
CVE-2022-312230.52.30.00052022-09-12
CVE-2026-43590.42.00.00042026-03-17
CVE-2025-96480.10.00.00892025-09-29