Use-after-free in GnuTLS - CVE-2026-42014

 

Use-after-free in GnuTLS - CVE-2026-42014

Published: April 30, 2026


Vulnerability identifier: #VU128576
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2026-42014
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: GnuTLS
Affected software:
GnuTLS

Detailed vulnerability description

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to use-after-free in gnutls_pkcs11_token_set_pin() when changing the Security Officer PIN with oldpin set to NULL for a token lacking a protected authentication path. A remote attacker can trigger the vulnerable function call to cause a denial of service.


How to mitigate CVE-2026-42014

Install security update from vendor's website.

Sources