cve.bz

CWE-170: Improper Null Termination

Filter

The product does not terminate or incorrectly terminates a string or array with a null character or equivalent terminator.

What the weakness is: CWE-170 at MITRE. All weaknesses

Ask an AI about CWE-170

Show the promptExplain CWE-170: Improper Null Termination and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/170.html and https://cve.bz/cve/cwe/170?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.

By year: all 2026 2025 2024 2023 2022 2021

  1. 2.0CVE-2026-137075gnome libxml2EPSS 0.3%

    GNOME libxml2 2.14.0 through 2.15.4 contains a missing NUL termination flaw in xmlBufferAddHead() in buf.c that leaves uninitialized heap bytes as the terminator for storage-less buffers. Attackers supplying data to applications reusing an…

  2. 2.1CVE-2026-115232eclipse foundation eclipse iceoryxEPSS 0.1%

    In iceoryx2 versions from 0.6.0 to 0.10.0, The C API getters that copy a service's hash into a caller-provided buffer (e.g. iox2_port_factory_pub_sub_service_hash and its other messaging protocol counterparts) write one byte past the end o…

  3. 5.4CVE-2026-98100the document foundation libreofficeEPSS 0.2%

    LibreOffice can import documents in the HWP format, including pictures that link to an external file. An out-of-bounds read existed when the link target of a crafted picture was read, so memory past the picture data could end up in the con…

  4. 4.3CVE-2026-116321EPSS 0.3%

    Improper null termination in PostgreSQL array element assignment allows a database user to disclose server memory, via changing the final byte of a fixed-length name value to a nonzero byte and passing it to code that treats the value as a…

  5. 7.8CVE-2026-123388microsoftEPSS 0.3%

    Heap-based buffer overflow in Windows Program Compatibility Assistant Service allows an authorized attacker to elevate privileges locally.

  6. 4.8CVE-2026-60141EPSS 0.1%

    Improper null termination for some Intel(R) Metrics Discovery Application Programming Interface before version 1.16.189 within Ring 3: User Applications may allow a denial of service. Unprivileged software adversary with an authenticated u…

  7. 6.3CVE-2026-121943irontec sngrepEPSS 5.8%

    Irontec sngrep through 1.9.0 contains an out-of-bounds stack read vulnerability in sip_check_packet and sip_validate_packet caused by an off-by-one length check on 10240-byte SIP payloads. Remote attackers can send a crafted UDP or TCP SIP…

  8. 6.5CVE-2026-57185asteriskEPSS 0.9%

    Asterisk is an open source private branch exchange and telephony toolkit. Prior to Asterisk 20.20.1, 21.12.3, 22.10.1, 23.4.1 and Certified Asterisk 20.7-cert11, 22.8-cert3, an authenticated attacker may crash Asterisk through a buffer ove…

  9. 3.7CVE-2026-114457pbuchbinder mod qosEPSS 0.4%

    A flaw was found in mod_qos. An unauthenticated remote attacker could cause a Denial of Service (DoS) by sending a specially crafted JSON request when JSON body filtering is enabled. Due to improper string termination during the processing…

  10. 5.5CVE-2026-96860microsoftEPSS 0.4%

    Out-of-bounds read in Windows USB Print Driver allows an authorized attacker to disclose information locally.

  11. 5.5CVE-2026-96850microsoftEPSS 0.4%

    Use of uninitialized resource in Windows Modern Device Management (MDM) allows an authorized attacker to disclose information locally.

  12. 7.8CVE-2026-83781microsoftEPSS 0.3%

    Improper null termination in Windows Program Compatibility Assistant Service allows an authorized attacker to elevate privileges locally.

  13. 6.1CVE-2026-81882radare radare2EPSS 0.2%

    radare2 is a UNIX-like reverse engineering framework and command-line toolset. Prior to 6.2.0, radare2's binary property-list Unicode parser was vulnerable because the binary-property-list Unicode parser underallocated an uninitialized UTF…

  14. 5.3CVE-2026-73324videolan vlc media playerEPSS 0.3%

    Certain VLC media player builds in versions 3.0.0 through 3.0.23 contain a memory-safety vulnerability reachable when processing media from an attacker-controlled network source. Exploitation requires user interaction and may disclose a li…

  15. 5.5CVE-2026-78506microsoftEPSS 0.5%

    Improper null termination in Microsoft Office Word allows an unauthorized attacker to disclose information locally.

  16. 7.5CVE-2026-70587microsoftEPSS 1.0%

    Improper null termination in Windows Remote Desktop Protocol allows an unauthorized attacker to disclose information over a network.

  17. 7.5CVE-2026-45798wazuhEPSS 0.9%

    Wazuh is a free and open source platform used for threat prevention, detection, and response. From 4.5.0 until 4.14.6 and 5.0.0-beta2, compare_wazuh_versions() in src/shared/version_op.c copies the attacker-controlled enrollment V: field i…

  18. 7.8CVE-2026-72095linuxEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: dma-fence: Make dma_fence_dedup_array() robust against 0-count input dma_fence_dedup_array() returns 1 when called with num_fences == 0: the for-loop body never executes…

  19. 8.4CVE-2026-63860linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: RDMA/core: Prefer NLA_NUL_STRING These attributes are evaluated as c-string (passed to strcmp), but NLA_STRING doesn't check for the presence of a \0 terminator. Either…

  20. 5.9CVE-2026-44452h2oEPSS 0.4%

    h2o is an HTTP server with support for HTTP/1.x, HTTP/2 and HTTP/3. Prior to commit 8dc37cb, when h2o receives a ClientHello message over TLS or QUIC and it contains a zero-length SNI extension, the h2o server runs over the zero-length hos…

  21. 3.9CVE-2026-12386tubitak bilgem software technologies research institute pardus penEPSS 0.1%

    Improper null termination vulnerability in TUBITAK BILGEM Software Technologies Research Institute Pardus Pen allows Overflow Buffers. This issue affects Pardus Pen: from <=4.1.5 before 4.2.1.

  22. 8.7CVE-2026-55738rxi microtarEPSS 0.6%

    A stack-based buffer overflow exists in the raw_to_header function in src/microtar.c in rxi microtar 0.1.0. The function copies the 100-byte name and linkname fields of a TAR header with strcpy without guaranteeing null termination of the …

  23. 9.8CVE-2026-5067zephyrproject zephyrEPSS 0.9%

    A remote, unauthenticated attacker can trigger memory corruption in Zephyr's HTTP server WebSocket upgrade path by sending a crafted Sec-WebSocket-Key header. The HTTP/1 header parser copies the header into a fixed-size buffer using a boun…

  24. 9.8CVE-2026-8721jonasbn crypt openssl pkcs12EPSS 0.6%

    Crypt::OpenSSL::PKCS12 versions through 1.94 for Perl truncates passwords with embedded NULLs. Password parameters in PKCS12.xs are declared char *, which routes through Perl's default typemap to SvPV_nolen. The Perl length is discarded.…

  25. 9.8CVE-2026-42010EPSS 0.9%

    A flaw was found in gnutls. Servers configured with RSA-PSK (Rivest–Shamir–Adleman – Pre-Shared Key) wrongfully matched usernames containing a NUL character with truncated usernames. A remote attacker could exploit this by sending a specia…

  26. 8.8CVE-2026-34464sandboxie-plus sandboxieEPSS 0.2%

    Sandboxie-Plus is an open source sandbox-based isolation software for Windows. In versions 1.17.2 and earlier, NamedPipeServer::OpenHandler copies the server field from NAMED_PIPE_OPEN_REQ into a fixed WCHAR pipename[160] stack buffer usin…

  27. 7.3CVE-2026-34462sandboxie-plus sandboxieEPSS 0.2%

    Sandboxie-Plus is an open source sandbox-based isolation software for Windows. In versions 1.17.2 and earlier, several ProcessServer handlers (KillAllHandler, SuspendAllHandler, and RunSandboxedHandler) copy a WCHAR boxname[34] field from …

  28. 5.3CVE-2026-34032apache http serverEPSS 0.9%

    Improper Null Termination, Out-of-bounds Read vulnerability in Apache HTTP Server. This issue affects Apache HTTP Server: through 2.4.66. Users are recommended to upgrade to version 2.4.67, which fixes the issue.

  29. 7.1CVE-2026-43028linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: netfilter: x_tables: ensure names are nul-terminated Reject names that lack a \0 character before feeding them to functions that expect c-strings. Fixes tag is the most…

  30. 3.5CVE-2026-40334gphoto libgphoto2EPSS 0.2%

    libgphoto2 is a camera access and control library. In versions up to and including 2.5.33, a missing null terminator exists in ptp_unpack_Canon_FE() in camlibs/ptp2/ptp-pack.c (line 1377). The function copies a filename into a 13-byte buff…

  31. 2.9CVE-2026-33948jqlang jqEPSS 0.3%

    jq is a command-line JSON processor. Commits before 6374ae0bcdfe33a18eb0ae6db28493b1f34a0a5b contain a vulnerability where CLI input parsing allows validation bypass via embedded NUL bytes. When reading JSON from files or stdin, jq uses st…

  32. 6.5CVE-2026-2239EPSS 0.6%

    A flaw was found in GIMP. Heap-buffer-overflow vulnerability exists in the fread_pascal_string function when processing a specially crafted PSD (Photoshop Document) file. This occurs because the buffer allocated for a Pascal string is not …

  33. 5.1CVE-2026-32837mackron miniaudioEPSS 0.2%

    miniaudio version 0.11.25 and earlier (fixed in commits 1df46ae and 1df46ae) contain a heap out-of-bounds read vulnerability in the WAV BEXT metadata parser that allows attackers to trigger memory access violations by processing crafted WA…

  34. 2.1CVE-2026-23749golioth firmware sdkEPSS 0.2%

    Golioth Firmware SDK version 0.19.1 prior to 0.22.0, fixed in commit 0e788217, contain an out-of-bounds read due to improper null termination of a blockwise transfer path. blockwise_transfer_init() accepts a path whose length equals CONFIG…

  35. 7.1CVE-2026-27692color iccdevEPSS 0.2%

    iccDEV provides a set of libraries and tools for working with ICC color management profiles. In versions up to and including 2.3.1.4, heap-buffer-overflow read occurs during CIccTagTextDescription::Release() when strlen() reads past a heap…

  36. 7.1CVE-2025-67733lfprojects valkeyEPSS 0.9%

    Valkey is a distributed key-value database. Prior to versions 9.0.2, 8.1.6, 8.0.7, and 7.2.12, a malicious user can use scripting commands to inject arbitrary information into the response stream for the given client, potentially corruptin…

  37. 8.1CVE-2026-24852color iccdevEPSS 0.4%

    iccDEV provides a set of libraries and tools that allow for the interaction, manipulation, and application of ICC color management profiles. Prior to version 2.3.1.2, a heap buffer over-read when the strlen() function attempts to read a no…

  38. 7.1CVE-2026-21488color iccdevEPSS 0.2%

    iccDEV provides a set of libraries and tools for working with ICC color management profiles. Versions 2.3.1.1 and below are vulnerable to Out-of-bounds Read, Heap-based Buffer Overflow and Improper Null Termination through its CIccTagText:…

  39. 7.1CVE-2025-2026moxa nport 6100-g2/6200-g2 seriesEPSS 0.6%

    The NPort 6100-G2/6200-G2 Series is affected by a high-severity vulnerability (CVE-2025-2026) that allows remote attackers to execute a null byte injection through the device’s web API. This may lead to an unexpected device reboot and resu…

  40. 7.5CVE-2025-67790drivelockEPSS 0.7%

    An issue was discovered in DriveLock 24.1 before 24.1.6, 24.2 before 24.2.7, and 25.1 before 25.1.5. An unprivileged user could cause occasionally a Blue Screen Of Death (BSOD) on Windows computers by using an IOCTL and an unterminated str…

  41. 7.1CVE-2025-66220envoyproxy envoyEPSS 0.2%

    Envoy is a high-performance edge/middle/service proxy. In 1.33.12, 1.34.10, 1.35.6, 1.36.2, and earlier, Envoy’s mTLS certificate matcher for match_typed_subject_alt_names may incorrectly treat certificates containing an embedded null byte…

  42. 6.9CVE-2025-62792wazuhEPSS 0.6%

    Wazuh is a free and open source platform used for threat prevention, detection, and response. Prior to 4.12.0, a buffer over-read occurs in w_expression_match() when strlen() is called on str_test, because the corresponding buffer is not b…

  43. 5.5CVE-2025-61912python-ldapEPSS 0.7%

    python-ldap is a lightweight directory access protocol (LDAP) client API for Python. In versions prior to 3.4.5, ldap.dn.escape_dn_chars() escapes \x00 incorrectly by emitting a backslash followed by a literal NUL byte instead of the RFC-4…

  44. 7.5CVE-2024-31197opennetworking libfluid msgEPSS 0.6%

    Improper Null Termination vulnerability in Open Networking Foundation (ONF) libfluid (libfluid_msg module). This vulnerability is associated with program routine fluid_msg::of10::Port:unpack. This issue affects libfluid: 0.1.0.

  45. 7.5CVE-2024-43474microsoftEPSS 1.4%

    Microsoft SQL Server Information Disclosure Vulnerability

  46. 8.4CVE-2024-45288freebsdEPSS 0.3%

    A missing null-termination character in the last element of an nvlist array string can lead to writing outside the allocated buffer.

  47. 7.3CVE-2024-31484siemensEPSS 0.4%

    A vulnerability has been identified in CPC80 Central Processing/Communication (All versions < V16.41), CPCI85 Central Processing/Communication (All versions < V5.30), CPCX26 Central Processing/Communication (All versions < V06.02), ETA4 Et…

  48. 7.8CVE-2024-21442microsoftEPSS 0.7%

    Windows USB Print Driver Elevation of Privilege Vulnerability

  49. 4.9CVE-2023-48674dellEPSS 0.8%

    Dell Platform BIOS contains an Improper Null Termination vulnerability. A high privilege user with network access to the system could potentially send malicious data to the device in order to cause some services to cease to function.

  50. 7.5CVE-2023-36907microsoftEPSS 1.7%

    Windows Cryptographic Services Information Disclosure Vulnerability