CVE-2026-42010
Gnutls 3.6.13 – 3.8.13
Raw vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:NCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2026-42010 is a high-severity Improper Null Termination (CWE-170) vulnerability in Gnutls. Its CVSS base score is 7.1 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Privilege Escalation (T1068); ranked in the top 40% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SI-10 (Information Input Validation) — see the control section below for these in your framework.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2026-28354
Vulnerability Data
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 specially crafted username, leading to an authentication…
more
bypass. This vulnerability allows an attacker to gain unauthorized access by circumventing the authentication process.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
Developer testing and evaluation can discover missing or incorrect string termination during code review or dynamic analysis.
Input validation directly stops malformed null bytes from being accepted or mishandled when data crosses representation or component boundaries.
Requiring documented development standards and tools can enforce safe string-handling practices that produce correct null termination.
Mitigating Controls (NIST CSF 2.0)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
Secure SDLC practices directly enforce correct string/array termination via coding standards, reviews, and static analysis.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
Security testing in development can detect missing or incorrect null terminators before release.
A.5.21's supplier-validation and monitoring processes address delivery compliance and component assurance rather than scanning already-deployed code for subtle null-byte representation defects, and CWE-626 rarely surfaces as a disclosed CVE.
Training technical developers about string-handling functions (strncpy, readlink, etc.) and null-termination requirements reduces some instances of CWE-170, but the weakness is a low-level C/C++ implementation detail that even trained developers introduce through off-by-one errors and misuse of 'safe' functions, so training moves only a minority of instances.
Secure coding standards directly require correct null termination of strings and arrays.
A.8.3 restricts access to information and assets, but CWE-626 is a code-level implementation flaw in how null bytes are handled when crossing language boundaries; access controls do not stop the flawed code from being exploited once it exists.
A.8.30 carries its effect through the secure-development practices (8.25 to 8.29) it contracts from the supplier, so a faithful implementation reduces ordinary software implementation defects like CWE-170 in delivered code, at the same `partial` rung the owner set for CWE-134 on this clause.