VYPR

CWE-158

Improper Neutralization of Null Byte or NUL Character

VariantIncomplete

Description

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.

Hierarchy (View 1000)

Parents

Children

none

Related attack patterns (CAPEC)

CAPEC-52 · CAPEC-53

CVEs mapped to this weakness (28)

page 2 of 2
  • CVE-2025-61985LowOct 6, 2025
    risk 0.23cvss 3.6epss 0.00

    ssh in OpenSSH before 10.1 allows the '\0' character in an ssh:// URI, potentially leading to code execution when a ProxyCommand is used.

  • CVE-2026-47778MedJun 26, 2026
    risk 0.22cvss 4.4epss 0.00

    Envoy is an open source edge and service proxy designed for cloud-native applications. Prior to 1.35.11, 1.36.7, 1.37.3, and 1.38.1, a structural flaw was identified in DefaultCertValidator::verifySubjectAltName where the extracted DNS SAN string is cast to a C-style string…

  • CVE-2026-43895MedMay 11, 2026
    risk 0.22cvss 4.4epss 0.00

    jq is a command-line JSON processor. In 1.8.1 and earlier, jq accepts embedded NUL bytes in import paths at the jq-language level, but later resolves those paths through C string operations during module and data-file lookup. This creates a mismatch between the logical import…

  • CVE-2024-9026LowOct 8, 2024
    risk 0.21cvss 3.3epss 0.00

    In PHP versions 8.1.* before 8.1.30, 8.2.* before 8.2.24, 8.3.* before 8.3.12, when using PHP-FPM SAPI and it is configured to catch workers output through catch_workers_output = yes, it may be possible to pollute the final log or remove up to 4 characters from the log…

  • CVE-2026-43861LowMay 4, 2026
    risk 0.17cvss 3.7epss 0.00

    mutt before 2.3.2 does not check for '\0' in url_pct_decode.

  • CVE-2026-43859LowMay 4, 2026
    risk 0.17cvss 3.7epss 0.00

    mutt before 2.3.2 sometimes uses strfcpy instead of memcpy for the IMAP auth_cram MD5 digest.

  • CVE-2022-31223LowSep 12, 2022
    risk 0.15cvss 2.3epss 0.00

    Dell BIOS versions contain an Improper Neutralization of Null Byte vulnerability. A local authenticated administrator user could potentially exploit this vulnerability by sending unexpected null bytes in order to read memory on the system.

  • CVE-2026-4359LowMar 17, 2026
    risk 0.06cvss 2.0epss 0.00

    A compromised third party cloud server or man-in-the-middle attacker could send a malformed HTTP response and cause a crash in applications using the MongoDB C driver.