CVE-2026-42014
Gnutls: gnutls: use-after-free in gnutls_pkcs11_token_set_pin
- State
- Published
- Severity
- 6.6 Medium
- Published
- Jun 16, 2026
- Updated
- Oct 14, 2026
- Reserved
- Apr 23, 2026
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 6.6 Medium | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H | redhat |
Weaknesses
- CWE-825 Expired Pointer Dereference
Affected Products
| Product | Versions |
|---|---|
gnutls |
|
Red Hat Enterprise Linux 10Red Hat |
|
Red Hat Enterprise Linux 10.0 Extended Update SupportRed Hat |
|
Red Hat Enterprise Linux 7 Extended Lifecycle SupportRed Hat |
|
Red Hat Enterprise Linux 8Red Hat |
|
Red Hat Enterprise Linux 8Red Hat |
|
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update SupportRed Hat |
|
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update SupportRed Hat |
|
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-OnRed Hat |
|
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-OnRed Hat |
|
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update SupportRed Hat |
|
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update SupportRed Hat |
|
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-OnRed Hat |
|
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-OnRed Hat |
|
Red Hat Enterprise Linux 8.8 Telecommunications Update ServiceRed Hat |
|
Red Hat Enterprise Linux 8.8 Telecommunications Update ServiceRed Hat |
|
Red Hat Enterprise Linux 8.8 Update Services for SAP SolutionsRed Hat |
|
Red Hat Enterprise Linux 8.8 Update Services for SAP SolutionsRed Hat |
|
Red Hat Enterprise Linux 9Red Hat |
|
Red Hat Enterprise Linux 9Red Hat |
|
Red Hat Enterprise Linux 9.2 Update Services for SAP SolutionsRed Hat |
|
Red Hat Enterprise Linux 9.4 Update Services for SAP SolutionsRed Hat |
|
Red Hat Enterprise Linux 9.6 Extended Update SupportRed Hat |
|
Cert Manager support for Red Hat OpenShift release 1.17Red Hat |
|
Cert Manager support for Red Hat OpenShift release 1.17Red Hat |
|
Cert Manager support for Red Hat OpenShift release 1.17Red Hat |
|
Cert Manager support for Red Hat OpenShift release 1.17Red Hat |
|
Cert Manager support for Red Hat OpenShift release 1.18Red Hat |
|
Cert Manager support for Red Hat OpenShift release 1.18Red Hat |
|
Cert Manager support for Red Hat OpenShift release 1.18Red Hat |
|
Cert Manager support for Red Hat OpenShift release 1.18Red Hat |
|
Cert Manager support for Red Hat OpenShift release 1.18Red Hat |
|
Cert Manager support for Red Hat OpenShift release 1.20Red Hat |
|
Red Hat Discovery 2Red Hat |
|
Red Hat Discovery 2Red Hat |
|
Red Hat Hardened ImagesRed Hat |
|
Red Hat OpenShift AI 3.4Red Hat |
|
Red Hat Update Infrastructure 5Red Hat |
|
Red Hat Update Infrastructure 5Red Hat |
|
Red Hat Update Infrastructure 5Red Hat |
|
Red Hat Update Infrastructure 5Red Hat |
|
Red Hat Update Infrastructure 5Red Hat |
|
Red Hat Update Infrastructure 5Red Hat |
|
Red Hat Update Infrastructure 5Red Hat |
|
Red Hat Enterprise Linux 6Red Hat | |
Red Hat OpenShift Container Platform 4Red Hat | |
Red Hat OpenShift Container Platform 4Red Hat | |
Red Hat OpenShift Container Platform 4Red Hat |
References
- RHSA-2026:13274vendor-advisory
- RHSA-2026:20611vendor-advisory
- RHSA-2026:20612vendor-advisory
- RHSA-2026:20613vendor-advisory
- RHSA-2026:26319vendor-advisory
- RHSA-2026:26409vendor-advisory
- RHSA-2026:29197vendor-advisory
- RHSA-2026:30004vendor-advisory
- RHSA-2026:30849vendor-advisory
- RHSA-2026:30850vendor-advisory
- RHSA-2026:32962vendor-advisory
- RHSA-2026:33125vendor-advisory
- RHSA-2026:41921vendor-advisory
- RHSA-2026:43575vendor-advisory
- RHSA-2026:58981vendor-advisory
- RHSA-2026:72502vendor-advisory
- RHSA-2026:74674vendor-advisory
- RHSA-2026:82304vendor-advisory
- RHSA-2026:82322vendor-advisory
- RHSA-2026:82347vendor-advisory
- RHSA-2026:82354vendor-advisory
- RHSA-2026:82372vendor-advisory
- RHSA-2026:82857vendor-advisory
- RHSA-2026:82888vendor-advisory
- https://access.redhat.com/security/cve/CVE-2026-42014vdb-entry
- RHBZ#2467451issue-tracking
- https://gitlab.com/gnutls/gnutls/-/issues/1766
- https://www.gnutls.org/security-new.html#GNUTLS-SA-2026-04-29-9
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.