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… (CVE-2026-42014)
Description
A use-after-free vulnerability exists in the gnutls_pkcs11_token_set_pin function of GnuTLS, which is triggered when changing the Security Officer PIN with a NULL old PIN on tokens lacking a protected authentication path. This flaw can lead to memory corruption and potential denial of service. The vulnerability is rated as medium severity with a CVSS score of 6.6. Red Hat has released a security update addressing this issue in their Extended Life Cycle Support 7 packages.
CVSS v3.1
Score 6.6medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-42014 is a use-after-free vulnerability in the GnuTLS library's gnutls_pkcs11_token_set_pin function. The flaw occurs when an attacker attempts to change the Security Officer PIN using a NULL old PIN on a token without a protected authentication path, leading to a use-after-free condition. This vulnerability can cause memory corruption and potentially disrupt service availability. Red Hat's advisory confirms the issue and provides updated packages that fix this vulnerability.
Potential Impact
Exploitation of this vulnerability can lead to memory corruption resulting in denial of service or other unintended behavior. Confidentiality and integrity impacts are rated low, but availability impact is high due to potential crashes or instability caused by the use-after-free condition.
Mitigation Recommendations
Red Hat has released updated GnuTLS packages for Red Hat Enterprise Linux 7 Extended Life Cycle Support that fix this vulnerability. Users should apply the security update as described in the Red Hat advisory RHSA-2026:43575 to remediate the issue. No additional mitigation steps are indicated beyond applying the official patch.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-m4m5-7xc2-xc7g
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-42014"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a6151289c2644c7f8da6522
Added to database: 07/22/2026, 23:24:24 UTC
Last enriched: 10/14/2026, 23:10:47 UTC
Last updated: 10/19/2026, 06:48:16 UTC
Views: 159
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.