CWE-170Base

Improper Null Termination

Incomplete in the CWE catalog · 49 CVEs mapped

49
CVEs mapped
6.5
Median CVSS
What it is

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

Recent examples
7.5cvss
CVE-2026-45798

CVE-2026-45798 - HIGH Severity Vulnerability

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 into a 10-byte stack buffer with strncpy() but does not explicitly terminate the buffer. The function is reachable before authentication through wazuh-authd on TCP port 1515 when anonymous TLS enrollment is enabled. A version string of at least nine non-null bytes can cause strchr() and strtok() to read beyond ver2 and can make strtok() write a null byte into adjacent stack memory, allowing a remote denial of service. This issue is fixed in versions 4.14.6 and 5.0.0-beta2.

HIGHno explanation yet
0%
epss
5.9cvss
CVE-2026-44452

CVE-2026-44452 - MEDIUM Severity Vulnerability

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 hostname while trying to copy the hostname, assuming that it is NULL-terminated. This is a potential denial-of-service attack vector in sense that it might trigger segmentation violation. This issue has been fixed by commit 8dc37cb.

MEDIUMno explanation yet
0%
epss
3.9cvss
CVE-2026-12386

Buffer Overflow in TUBITAK BILGEM's Pardus Pen

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.

LOWno explanation yet
0%
epss
The record
Technical detail
CWE ID
CWE-170
Abstraction
Base
Structure
Simple
Status
Incomplete