CVE-2026-42014: Gnutls: gnutls: use-after-free in gnutls_pkcs11_token_set_pin

Published May 6, 2026
·
Updated

A flaw was found in GnuTLS. The gnutlspkcs11tokensetpin function, used for changing the Security Officer PIN, can lead to a use-after-free vulnerability. This occurs when an attacker attempts to change the PIN with a NULL old PIN for a token that lacks a protected authentication path.

Other sources

libgnutls: Fix use-after-free in gnutlspkcs11tokensetpin Changing the Security Officer PIN with gnutlspkcs11tokensetpin() with oldpin == NULL for a token lacking a protected authentication path led to a use-after-free.

Red Hat

Affected Software

2 affected componentsFixes available
Microsoft azl3 gnutls 3.8.3-11
debian/gnutls28<=3.7.1-5+deb11u5
3.7.1-5+deb11u103.7.9-2+deb12u73.8.9-3+deb13u43.8.13-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/gnutls28 to a version that resolves this vulnerability.

    Fixed in 3.7.1-5+deb11u10Fixed in 3.7.9-2+deb12u7Fixed in 3.8.9-3+deb13u4Fixed in 3.8.13-1

Event History

May 6, 2026
Data Sourced
via Red Hat·07:53 PM
DescriptionSeverityAffected Software
Jun 16, 2026
CVE Published
via MITRE·12:49 AM
Data Sourced
via MITRE·12:49 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:16 AM
DescriptionSeverityWeakness
Jun 19, 2026
Data Sourced
via Microsoft·08:01 AM
DescriptionSeverityWeaknessAffected Software
Jul 14, 2026
Data Sourced
via Ubuntu·05:30 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·05:31 PM
DescriptionAffected Software
Jul 15, 2026
Data Sourced
via Launchpad·05:32 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-42014?

The severity of CVE-2026-42014 is medium with a CVSS score of 6.6.

2

How do I fix CVE-2026-42014?

To fix CVE-2026-42014, update your GnuTLS to version 3.8.3-11 or later.

3

What is the impact of CVE-2026-42014?

CVE-2026-42014 can lead to a use-after-free vulnerability that may allow an attacker to potentially exploit the system.

4

Which software is affected by CVE-2026-42014?

CVE-2026-42014 affects GnuTLS versions including Microsoft azl3 gnutls 3.8.3-11 and Debian/gnutls28.

5

How can an attacker exploit CVE-2026-42014?

An attacker can exploit CVE-2026-42014 by attempting to change the Security Officer PIN with a NULL old PIN on an unsecured token.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203