Skip to content
OpenAdvisories
Medium · 6.6 CVE-2026-42014 EUVD-2026-37029GHSA-m4m5-7xc2-xc7g

Gnutls: gnutls: use-after-free in gnutls_pkcs11_token_set_pin

Published Jun 16, 2026 · Updated Nov 5, 2026 · Assigned by redhat

Vendor: Red Hat Product: Cert Manager support for Red Hat OpenShift release 1.17 Product: Cert Manager support for Red Hat OpenShift release 1.18 Product: Cert Manager support for Red Hat OpenShift release 1.20 Product: Red Hat Discovery 2 Product: Red Hat Enterprise Linux 10 Product: Red Hat Enterprise Linux 10.0 Extended Update Support Product: Red Hat Enterprise Linux 6 Product: Red Hat Enterprise Linux 7 Extended Lifecycle Support Product: Red Hat Enterprise Linux 8 Product: Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support Product: Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On Product: Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support Product: Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On Product: Red Hat Enterprise Linux 8.8 Telecommunications Update Service Product: Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions Product: Red Hat Enterprise Linux 9 Product: Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions Product: Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions Product: Red Hat Enterprise Linux 9.6 Extended Update Support Product: Red Hat Hardened Images Product: Red Hat OpenShift AI 3.4 Product: Red Hat OpenShift Container Platform 4 Product: Red Hat OpenShift Container Platform 5 Product: Red Hat Update Infrastructure 5 Package: gnutls Package: gnutls Package: gnutls28 Package: gnutls28 Platform: Linux Ecosystem: Alpine Ecosystem: Azure Linux Ecosystem: Debian Ecosystem: Ubuntu

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.

Affected products

VendorProductAffectedFixed
— gnutls — —
Red Hat Red Hat Enterprise Linux 10 — —
Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support — —
Red Hat Red Hat Enterprise Linux 7 Extended Lifecycle Support — —
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support — —
Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On — —
Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support — —
Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On — —
Red Hat Red Hat Enterprise Linux 8.8 Telecommunications Update Service — —
Red Hat Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions — —
Red Hat Red Hat Enterprise Linux 9 — —
Red Hat Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions — —
Red Hat Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions — —
Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support — —
Red Hat Cert Manager support for Red Hat OpenShift release 1.17 — —
Red Hat Cert Manager support for Red Hat OpenShift release 1.18 — —
Red Hat Cert Manager support for Red Hat OpenShift release 1.20 — —
Red Hat Red Hat Discovery 2 — —
Red Hat Red Hat Hardened Images — —
Red Hat Red Hat OpenShift AI 3.4 — —
Red Hat Red Hat Update Infrastructure 5 — —
Red Hat Red Hat Enterprise Linux 6 — —
Red Hat Red Hat OpenShift Container Platform 4 — —
Red Hat Red Hat OpenShift Container Platform 5 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 gnutls28 3.8.13-1 —
Debian 13 gnutls28 3.8.9-3+deb13u4 —
Debian 12 gnutls28 3.7.9-2+deb12u7 —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS gnutls28 3.8.12-2ubuntu1.1 —
Ubuntu 25.10 gnutls28 3.8.9-3ubuntu2.2 —
Ubuntu 24.04 LTS gnutls28 3.8.3-1.1ubuntu3.6 —
Ubuntu 22.04 LTS gnutls28 3.7.3-4ubuntu1.9 —
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro FIPS-updates 24.04 LTS gnutls28 3.8.3-1.1ubuntu3.6+Fips1.2 —
Ubuntu Pro FIPS-updates 22.04 LTS gnutls28 3.7.3-4ubuntu1.9+Fips1 —
Ubuntu Pro FIPS-preview 22.04 LTS gnutls28 No fix yet —
Ubuntu Pro 20.04 LTS gnutls28 3.6.13-2ubuntu1.12+esm3 USN-8539-1
Ubuntu Pro 18.04 LTS gnutls28 3.5.18-1ubuntu1.6+esm4 USN-8539-1
Ubuntu Pro 16.04 LTS gnutls28 3.4.10-4ubuntu1.9+esm4 USN-8539-1
ReleasePackageFixed inAdvisory
RHEL 10 gnutls +5 3.8.10-4.el10_2 RHSA-2026:20613
RHEL 9 gnutls +4 3.8.10-4.el9_8 RHSA-2026:20612
RHEL 8 gnutls +4 3.6.16-8.el8_10.6 RHSA-2026:20611
Show 12 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 10.0 EUS gnutls +5 3.8.9-9.el10_0.19 RHSA-2026:26409
RHEL 9.6 EUS gnutls +4 3.8.3-6.el9_6.4 RHSA-2026:30004
RHEL 9.4 E4S gnutls +4 3.8.3-4.el9_4.6 RHSA-2026:32962
RHEL 9.2 E4S gnutls +4 3.7.6-21.el9_2.7 RHSA-2026:41921
RHEL 8.8 TUS gnutls +4 3.6.16-7.el8_8.4 RHSA-2026:30850
RHEL 8.8 TUS libtasn1 +2 4.13-4.el8_8.1 RHSA-2026:30850
RHEL 8.8 E4S gnutls +4 3.6.16-7.el8_8.4 RHSA-2026:30850
RHEL 8.8 E4S libtasn1 +2 4.13-4.el8_8.1 RHSA-2026:30850
RHEL 8.6 EUS Long Life gnutls +4 3.6.16-5.el8_6.5 RHSA-2026:30849
RHEL 8.6 EUS Long Life libtasn1 +2 4.13-3.el8_6.2 RHSA-2026:30849
RHEL 8.6 AUS gnutls +4 3.6.16-5.el8_6.5 RHSA-2026:30849
RHEL 8.6 AUS libtasn1 +2 4.13-3.el8_6.2 RHSA-2026:30849
RHEL 8.4 EUS Long Life gnutls +4 3.6.14-10.el8_4.1 RHSA-2026:33125
RHEL 8.4 EUS Long Life libtasn1 +2 4.13-3.el8_4.1 RHSA-2026:33125
RHEL 8.4 AUS gnutls +4 3.6.14-10.el8_4.1 RHSA-2026:33125
RHEL 8.4 AUS libtasn1 +2 4.13-3.el8_4.1 RHSA-2026:33125
RHEL 7 ELS gnutls +4 3.3.29-9.el7_9.2 RHSA-2026:43575
Red Hat Hardened Images 1 gnutls +7 3.8.13-1.hum1 RHSA-2026:13274

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 gnutls +5 3.8.10-4.el10_2 ALSA-2026:20613
AlmaLinux 9 gnutls +4 3.8.10-4.el9_8 ALSA-2026:20612
AlmaLinux 8 gnutls +4 3.6.16-8.el8_10.6 ALSA-2026:20611

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 gnutls 3.8.10-4.el10_2 RLSA-2026:20613
Rocky Linux 9 gnutls 3.8.10-4.el9_8 RLSA-2026:20612
Rocky Linux 8 gnutls 3.6.16-8.el8_10.6 RLSA-2026:20611
ReleasePackageFixed inAdvisory
SLES 15 SP5 gnutls 3.7.3-150400.4.62.1 SUSE-SU-2026:3042-1
SLES 15 SP4 gnutls 3.7.3-150400.4.62.1 SUSE-SU-2026:3042-1
SLES 12 SP5 gnutls 3.3.27-3.21.1 SUSE-SU-2026:2924-1, SUSE-SU-2026:2923-1
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP5 gnutls 3.7.3-150400.4.62.1 SUSE-SU-2026:3042-1
SLES for SAP 15 SP4 gnutls 3.7.3-150400.4.62.1 SUSE-SU-2026:3042-1
SLE Micro 5.5 gnutls 3.7.3-150400.4.62.1 SUSE-SU-2026:3042-1
SLE Micro 5.4 gnutls 3.7.3-150400.4.62.1 SUSE-SU-2026:3042-1
SLE Micro 5.3 gnutls 3.7.3-150400.24.2 SUSE-SU-2026:2822-1
SLE HPC 15 SP5 gnutls 3.7.3-150400.4.62.1 SUSE-SU-2026:3042-1
SLE HPC 15 SP4 gnutls 3.7.3-150400.4.62.1 SUSE-SU-2026:3042-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed gnutls 3.8.13-1.1 openSUSE-SU-2026:10691-1
ReleasePackageFixed inAdvisory
Alpine v3.24 gnutls 3.8.13-r0 —
Alpine v3.23 gnutls 3.8.13-r0 —
Alpine v3.22 gnutls 3.8.13-r0 —
Alpine v3.21 gnutls 3.8.13-r0 —
Alpine v3.20 gnutls 3.8.13-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 gnutls +4 3.8.3-8.amzn2023.0.3 ALAS2023-2026-1757

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 gnutls 3.8.13-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 gnutls +5 3.8.10-4.el10_2 ELSA-2026-20613
Oracle Linux 9 gnutls +4 3.8.10-4.el9_8 ELSA-2026-50346, ELSA-2026-20612
Oracle Linux 8 gnutls +4 3.6.16-8.el8_10.6 ELSA-2026-20611
Oracle Linux 7 gnutls +4 3.3.29-9.0.3.el7_9 ELSA-2026-43575

Advisories 33

References