CVEfocus › CVE database › CVE-2026-42014

CVE-2026-42014Gnutls: gnutls: use-after-free in gnutls_pkcs11_token_set_pin

CVSS 6.6 MediumEPSS 0.2% (higher than 4% of CVEs)Published 2026-06-16Updated 2026-11-05Assigner: redhat

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-825

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

47Fixed
1Fix pending
4Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04gnutls28Fixed3.8.12-2ubuntu1.1UBUNTU-CVE-2026-42014
Ubuntu 25.10gnutls28Fixed3.8.9-3ubuntu2.2UBUNTU-CVE-2026-42014
Ubuntu 24.04gnutls28Fixed3.8.3-1.1ubuntu3.6UBUNTU-CVE-2026-42014
Ubuntu 22.04gnutls28Fixed3.7.3-4ubuntu1.9UBUNTU-CVE-2026-42014
Ubuntu 20.04gnutls28Fix pending3.6.13-2ubuntu1.12+esm3 (Ubuntu Pro)UBUNTU-CVE-2026-42014
Debian 14gnutls28Fixed3.8.13-1DEBIAN-CVE-2026-42014
Debian 13gnutls28Fixed3.8.9-3+deb13u4DEBIAN-CVE-2026-42014
Debian 12gnutls28Fixed3.7.9-2+deb12u7DEBIAN-CVE-2026-42014
Red Hat Enterprise Linux 10gnutlsFixed0:3.8.10-4.el10_2RHSA-2026:20613
Red Hat Enterprise Linux 10gnutls-c++Fixed0:3.8.10-4.el10_2RHSA-2026:20613
Red Hat Enterprise Linux 10gnutls-daneFixed0:3.8.10-4.el10_2RHSA-2026:20613
Red Hat Enterprise Linux 10gnutls-develFixed0:3.8.10-4.el10_2RHSA-2026:20613
Red Hat Enterprise Linux 10gnutls-fipsFixed0:3.8.10-4.el10_2RHSA-2026:20613
Red Hat Enterprise Linux 10gnutls-utilsFixed0:3.8.10-4.el10_2RHSA-2026:20613
Red Hat Enterprise Linux 9gnutlsFixed0:3.8.10-4.el9_8RHSA-2026:20612
Red Hat Enterprise Linux 9gnutls-c++Fixed0:3.8.10-4.el9_8RHSA-2026:20612
Red Hat Enterprise Linux 9gnutls-daneFixed0:3.8.10-4.el9_8RHSA-2026:20612
Red Hat Enterprise Linux 9gnutls-develFixed0:3.8.10-4.el9_8RHSA-2026:20612
Red Hat Enterprise Linux 9gnutls-utilsFixed0:3.8.10-4.el9_8RHSA-2026:20612
Red Hat Enterprise Linux 8gnutlsFixed0:3.6.16-8.el8_10.6RHSA-2026:20611
Red Hat Enterprise Linux 8gnutls-c++Fixed0:3.6.16-8.el8_10.6RHSA-2026:20611
Red Hat Enterprise Linux 8gnutls-daneFixed0:3.6.16-8.el8_10.6RHSA-2026:20611
Red Hat Enterprise Linux 8gnutls-develFixed0:3.6.16-8.el8_10.6RHSA-2026:20611
Red Hat Enterprise Linux 8gnutls-utilsFixed0:3.6.16-8.el8_10.6RHSA-2026:20611
Red Hat Enterprise Linux 6gnutlsWill not fix
Out of support scope
Red Hat Enterprise Linux 6gnutls-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6gnutls-guileWill not fix
Out of support scope
Red Hat Enterprise Linux 6gnutls-utilsWill not fix
Out of support scope
AlmaLinux 10gnutlsFixed3.8.10-4.el10_2ALSA-2026:20613
AlmaLinux 10gnutls-c++Fixed3.8.10-4.el10_2ALSA-2026:20613
AlmaLinux 10gnutls-daneFixed3.8.10-4.el10_2ALSA-2026:20613
AlmaLinux 10gnutls-develFixed3.8.10-4.el10_2ALSA-2026:20613
AlmaLinux 10gnutls-fipsFixed3.8.10-4.el10_2ALSA-2026:20613
AlmaLinux 10gnutls-utilsFixed3.8.10-4.el10_2ALSA-2026:20613
AlmaLinux 9gnutlsFixed3.8.10-4.el9_8ALSA-2026:20612
AlmaLinux 9gnutls-c++Fixed3.8.10-4.el9_8ALSA-2026:20612
AlmaLinux 9gnutls-daneFixed3.8.10-4.el9_8ALSA-2026:20612
AlmaLinux 9gnutls-develFixed3.8.10-4.el9_8ALSA-2026:20612
AlmaLinux 9gnutls-utilsFixed3.8.10-4.el9_8ALSA-2026:20612
AlmaLinux 8gnutlsFixed3.6.16-8.el8_10.6ALSA-2026:20611
AlmaLinux 8gnutls-c++Fixed3.6.16-8.el8_10.6ALSA-2026:20611
AlmaLinux 8gnutls-daneFixed3.6.16-8.el8_10.6ALSA-2026:20611
AlmaLinux 8gnutls-develFixed3.6.16-8.el8_10.6ALSA-2026:20611
AlmaLinux 8gnutls-utilsFixed3.6.16-8.el8_10.6ALSA-2026:20611
Rocky Linux 10gnutlsFixed0:3.8.10-4.el10_2RLSA-2026:20613
Rocky Linux 9gnutlsFixed0:3.8.10-4.el9_8RLSA-2026:20612
Rocky Linux 8gnutlsFixed0:3.6.16-8.el8_10.6RLSA-2026:20611
Alpine Linux 3.24gnutlsFixed3.8.13-r0ALPINE-CVE-2026-42014
Alpine Linux 3.23gnutlsFixed3.8.13-r0ALPINE-CVE-2026-42014
Alpine Linux 3.22gnutlsFixed3.8.13-r0ALPINE-CVE-2026-42014
Alpine Linux 3.21gnutlsFixed3.8.13-r0ALPINE-CVE-2026-42014
Alpine Linux 3.20gnutlsFixed3.8.13-r0ALPINE-CVE-2026-42014

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.