CVE-2026-42014
Received
Received - Intake
GnuTLS Use-After-Free in PKCS#11 PIN Change
Publication date: 2026-06-16
Last updated on: 2026-06-16
Assigner: Red Hat, Inc.
Description
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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| gnutls | gnutls | From 3.0.0 (inc) to 3.13.0 (inc) |
| red_hat | red_hat_enterprise_linux | 9 |
| red_hat | red_hat_enterprise_linux | 10 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-825 | The product dereferences a pointer that contains a location for memory that was previously valid, but is no longer valid. |