6.6
MEDIUM CVSS 3.1
CVE-2026-42014
Gnutls: fix use-after-free in gnutls_pkcs11_token_set_pin
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.

INFO

Published Date :

June 16, 2026, 2:16 a.m.

Last Modified :

June 16, 2026, 2:16 a.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2026-42014 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Redhat enterprise_linux
2 Redhat openshift_container_platform
3 Redhat enterprise_linux
4 Redhat hardened_images
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM 53f830b8-0a3f-465b-8143-3b8a9948e749
CVSS 3.1 MEDIUM [email protected]
Solution
Update GnuTLS to a version that addresses the use-after-free vulnerability in PIN management.
  • Update GnuTLS to the latest patched version.
  • Apply vendor-supplied security patches.
  • Recompile the affected software if necessary.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-42014 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-42014 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-42014 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-42014 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by [email protected]

    Jun. 16, 2026

    Action Type Old Value New Value
    Added 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.
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H
    Added CWE CWE-825
    Added Reference https://access.redhat.com/errata/RHSA-2026:20611
    Added Reference https://access.redhat.com/errata/RHSA-2026:20612
    Added Reference https://access.redhat.com/errata/RHSA-2026:20613
    Added Reference https://access.redhat.com/security/cve/CVE-2026-42014
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=2467451
    Added Reference https://gitlab.com/gnutls/gnutls/-/issues/1766
    Added Reference https://www.gnutls.org/security-new.html#GNUTLS-SA-2026-04-29-9
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.