CVE-2026-42014
Gnutls: fix use-after-free in gnutls_pkcs11_token_set_pin
CVSS Score
6.6
EPSS Score
0.0%
EPSS Percentile
0th
A flaw was found in GnuTLS. The `gnutls_pkcs11_token_set_pin` 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.
| CWE | CWE-825 |
| Vendor | red hat |
| Product | red hat enterprise linux 10 |
| Published | Jun 16, 2026 |
| Last Updated | Jun 16, 2026 |
Stay Ahead of the Next One
Get instant alerts for red hat red hat enterprise linux 10
Be the first to know when new medium vulnerabilities affecting red hat red hat enterprise linux 10 are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
High
Affected Versions
Red Hat / Red Hat Enterprise Linux 10
All versions affected Red Hat / Red Hat Enterprise Linux 8
All versions affected Red Hat / Red Hat Enterprise Linux 8
All versions affected Red Hat / Red Hat Enterprise Linux 9
All versions affected Red Hat / Red Hat Enterprise Linux 9
All versions affected Red Hat / Red Hat Enterprise Linux 6
All versions affected Red Hat / Red Hat Enterprise Linux 7
All versions affected Red Hat / Red Hat Hardened Images
All versions affected Red Hat / Red Hat OpenShift Container Platform 4
All versions affected References
access.redhat.com: https://access.redhat.com/errata/RHSA-2026:20611 access.redhat.com: https://access.redhat.com/errata/RHSA-2026:20612 access.redhat.com: https://access.redhat.com/errata/RHSA-2026:20613 access.redhat.com: https://access.redhat.com/security/cve/CVE-2026-42014 bugzilla.redhat.com: https://bugzilla.redhat.com/show_bug.cgi?id=2467451 gitlab.com: https://gitlab.com/gnutls/gnutls/-/issues/1766 gnutls.org: https://www.gnutls.org/security-new.html#GNUTLS-SA-2026-04-29-9
Credits
Red Hat would like to thank Joshua Rogers (AISLE Research Team) and Luigino Camastra for reporting this issue.