CWE-158: Improper Neutralization of Null Byte or NUL Character

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.

47 published CVE records name this weakness. Abstraction: Variant. Status: Incomplete. CWE-158 at MITRE

CVETitleCVSSEPSSPublished
CVE-2026-134848 pgjdbc lets a NUL character in a connection property add startup parameters 7.4 high 0.38% 23 Nov 2026
CVE-2026-129933 Authentication identity confusion via NUL-byte injection in SASL PLAIN credentials 6.3 medium 0.29% 19 Nov 2026
CVE-2026-129937 Authentication identity confusion via NUL-byte injection in SASL PLAIN credentials 6.3 medium 0.29% 19 Nov 2026
CVE-2026-129926 Authentication identity confusion via NUL-byte injection in SASL PLAIN credentials 6.3 medium 0.27% 19 Nov 2026
CVE-2026-129925 Authentication identity confusion via NUL-byte injection in SASL PLAIN credentials 6.3 medium 0.29% 19 Nov 2026
CVE-2026-129923 Authentication identity confusion via NUL-byte injection in SASL PLAIN credentials 6.3 medium 0.29% 19 Nov 2026
CVE-2026-129935 Authentication identity confusion via NUL-byte injection in SASL PLAIN credentials 6.3 medium 0.29% 19 Nov 2026
CVE-2026-129929 Authentication identity confusion via NUL-byte injection in SASL PLAIN credentials 6.3 medium 0.29% 19 Nov 2026
CVE-2026-129512 Apache log4net: AdoNetAppender loses an event whose text the database cannot store 5.3 medium 0.41% 17 Nov 2026
CVE-2026-124077 Apache Commons Codec: NUL bytes in tree entry names cause Git/SWHID identifier collisions (GitIdentifiers class) 4.3 medium 0.37% 9 Nov 2026
CVE-2026-115473 Mongoose: Heap OOB reads and null-byte bypass in mg_path_is_sane (util.c) 6.5 medium 0.46% 4 Nov 2026
CVE-2026-105475 WebPros cPanel: Improper Neutralization of Null Byte or NUL Character 8.7 high 0.59% 2 Nov 2026
CVE-2026-116566 socket.getaddrinfo() accepts embedded null bytes in host and port 5.3 medium 0.30% 29 Oct 2026
CVE-2026-118767 Botan: Python binding bcrypt APIs truncate passwords containing embedded NULs 4.8 medium 0.35% 29 Oct 2026
CVE-2026-84790 OpenVPN: Authentication Bypass by Spoofing 7.6 high 0.22% 13 Oct 2026
CVE-2026-92705 Aegisub executes arbitrary code through automatically loaded Automation scripts 7.8 high 0.19% 9 Oct 2026
CVE-2026-105240 Apache log4net: NUL character truncates OutputDebugStringAppender records 5.3 medium 1.00% 6 Oct 2026
CVE-2026-105239 Apache log4net: NUL character truncates EventLogAppender records 5.3 medium 1.00% 6 Oct 2026
CVE-2026-76354 Path Traversal through Search Head Clustering in Splunk Enterprise 8.1 high 0.44% 19 Aug 2026
CVE-2026-70603 Electron: shell.openPath path validation bypass via embedded null byte 6.0 medium 0.13% 5 Aug 2026
CVE-2026-47778 Envoy: Embedded NUL in TLS DNS SAN Truncation in the Default TLS Certificate Validator. (Auth Bypass) 4.4 medium 0.21% 26 Jun 2026
CVE-2026-43895 jq: Embedded NUL in jq import paths causes local redaction-policy bypass and preserves sensitive fields in published artifacts 4.4 medium 0.16% 11 May 2026
CVE-2026-41256 jq: Embedded NUL truncates top-level jq programs loaded with -f 5.5 medium 0.16% 11 May 2026
CVE-2026-43861 mutt: Improper Neutralization of Null Byte or NUL Character 3.7 low 0.26% 4 May 2026
CVE-2026-43859 mutt: Improper Neutralization of Null Byte or NUL Character 3.7 low 0.26% 4 May 2026
CVE-2026-23863 Facebook WhatsApp Desktop for Windows: Improper Neutralization of Null Byte or NUL Character 6.5 medium 0.35% 1 May 2026
CVE-2026-33191 free5GC UDM vulnerable to null byte injection in URL path parameters causing 500 Internal Server Error 8.7 high 0.68% 20 Mar 2026
CVE-2026-4359 Heap-buffer-over-read in _mongoc_http_send via strstr on non-null-terminated buffer 2.0 low 0.32% 17 Mar 2026
CVE-2026-28540 Huawei HarmonyOS: Improper Neutralization of Null Byte or NUL Character 4.0 medium 0.13% 5 Mar 2026
CVE-2025-14388 PhastPress <= 3.7 - Unauthenticated Arbitrary File Read via Null Byte Injection 9.8 critical 0.96% 23 Dec 2025
CVE-2025-66263 Unauthenticated Arbitrary File Read via Null Byte Injection 8.9 high 0.62% 26 Nov 2025
CVE-2025-61985 OpenBSD OpenSSH: Improper Neutralization of Null Byte or NUL Character 3.6 low 0.17% 6 Oct 2025
CVE-2025-9648 Denial of Service in CivetWeb 8.7 high 1.01% 29 Sep 2025
CVE-2025-55113 BMC Control-M/Agent unescaped NULL byte in access control list checks 9.5 critical 0.43% 16 Sep 2025
CVE-2025-47812 KEV Wing FTP Server Improper Neutralization of Null Byte or NUL Character Vulnerability 10.0 critical 60.2% 10 Jul 2025
CVE-2025-1936 Adding %00 and a fake extension to a jar: URL changed the interpretation of the contents 7.3 high 0.60% 4 Mar 2025
CVE-2024-10921 Improper neutralization of null bytes may lead to buffer over-reads in MongoDB Server 6.8 medium 1.00% 14 Nov 2024
CVE-2024-9026 PHP-FPM logs from children may be altered 3.3 low 0.35% 8 Oct 2024
CVE-2024-0408 Xorg-x11-server: selinux unlabeled glx pbuffer 5.5 medium 0.42% 18 Jan 2024
CVE-2023-5719 Red Lion Crimson Improper Neutralization of Null Byte or NUL Character 8.8 high 0.82% 6 Nov 2023
CVE-2022-31223 Dell CPG BIOS: Improper Neutralization of Null Byte or NUL Character 2.3 low 0.24% 12 Sep 2022
CVE-2022-20813 Cisco Expressway Series and Cisco TelePresence Video Communication Server Vulnerabilities 9.0 critical 1.03% 6 Jul 2022
CVE-2022-20812 Cisco Expressway Series and Cisco TelePresence Video Communication Server Vulnerabilities 9.0 critical 1.74% 6 Jul 2022
CVE-2020-7928 Improper neutralization of null byte leads to read overrun 6.5 medium 1.44% 23 Nov 2020
CVE-2020-14500 IMPROPER NEUTRALIZATION OF NULL BYTE OR NUL CHARACTER CWE-158 10.0 critical 1.67% 25 Aug 2020
CVE-2020-5363 Dell Client Consumer and Commercial platforms: Improper Neutralization of Null Byte or NUL Character 8.6 high 0.32% 10 Jun 2020
CVE-2009-1537 KEV Microsoft DirectX NULL Byte Overwrite Vulnerability 8.8 high 51.0% 29 May 2009