CWE-170: Improper Null Termination, published in 2026
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 prompt
Explain 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
- 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.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…
- 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.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…
- 7.8CVE-2026-123388microsoftEPSS 0.3%
Heap-based buffer overflow in Windows Program Compatibility Assistant Service allows an authorized attacker to elevate privileges locally.
- 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…
- 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…
- 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…
- 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…
- 5.5CVE-2026-96860microsoftEPSS 0.4%
Out-of-bounds read in Windows USB Print Driver allows an authorized attacker to disclose information locally.
- 5.5CVE-2026-96850microsoftEPSS 0.4%
Use of uninitialized resource in Windows Modern Device Management (MDM) allows an authorized attacker to disclose information locally.
- 7.8CVE-2026-83781microsoftEPSS 0.3%
Improper null termination in Windows Program Compatibility Assistant Service allows an authorized attacker to elevate privileges locally.
- 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…
- 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…
- 5.5CVE-2026-78506microsoftEPSS 0.5%
Improper null termination in Microsoft Office Word allows an unauthorized attacker to disclose information locally.
- 7.5CVE-2026-70587microsoftEPSS 1.0%
Improper null termination in Windows Remote Desktop Protocol allows an unauthorized attacker to disclose information over a network.
- 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…
- 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…
- 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…
- 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…
- 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.
- 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 …
- 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…
- 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.…
- 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…
- 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…
- 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 …
- 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.
- 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…
- 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…
- 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…
- 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 …
- 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…
- 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…
- 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…
- 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…
- 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…
- 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:…