Out-of-bounds read in GnuTLS - CVE-2026-5260

 

Out-of-bounds read in GnuTLS - CVE-2026-5260

Published: April 30, 2026


Vulnerability identifier: #VU128577
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-5260
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to disclose sensitive information.

The vulnerability exists due to out-of-bounds read in RSA key exchange handling when processing an extremely short premaster secret from a client for a server using an RSA key backed by a PKCS#11 token. A remote attacker can send a specially crafted premaster secret to disclose sensitive information.

Only servers using an RSA key backed by a PKCS#11 token are vulnerable.


Affected software

GnuTLS
SUSE Linux Enterprise Server 15 SP5
Debian Linux
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Micro
SUSE Linux Enterprise Micro for Rancher
Anolis OS
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Basesystem Module
openSUSE Leap
Ubuntu
openEuler
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
libgnutls-openssl-devel
libgnutlsxx-devel
libgnutls28-debuginfo
libgnutls-openssl27-debuginfo
libgnutls28-debuginfo-32bit
gnutls-debuginfo
gnutls
gnutls-debugsource
libgnutls28
libgnutls28-32bit
libgnutls-devel
libgnutls-openssl27
gnutls28 (Ubuntu package)
libgnutls30-32bit
libgnutls30-debuginfo-32bit
libgnutls30
libgnutls30-debuginfo
gnutls (Red Hat package)
gnutls-help
gnutls-utils
gnutls-devel
gnutls-c++
gnutls-dane
libgnutls-devel-64bit
libgnutls30-hmac-64bit
libgnutls30-64bit-debuginfo
libgnutls30-64bit
libgnutls30-hmac-32bit
libgnutls-devel-32bit
libgnutls30-32bit-debuginfo
libgnutlsxx28-debuginfo
gnutls-guile
libgnutlsxx28
gnutls-guile-debuginfo
libgnutls30-hmac
gnutls28 (Debian package)
gnutls-doc
libgnutlsxx30
libgnutlsxx30-debuginfo
libtasn1 (Red Hat package)

How to mitigate CVE-2026-5260

Install security update from vendor's website.

GnuTLS - update to 3.8.13
libgnutls-openssl-devel - update to 3.3.27-3.21.1
libgnutlsxx-devel - addressed in versions 3.3.27-3.21.1, 3.7.3-150400.4.59.1, 3.8.3-150600.4.20.1
libgnutls28-debuginfo - update to 3.3.27-3.21.1
libgnutls-openssl27-debuginfo - update to 3.3.27-3.21.1
libgnutls28-debuginfo-32bit - update to 3.3.27-3.21.1
gnutls-debuginfo - addressed in versions 3.3.27-3.21.1, 3.7.3-150400.4.59.1, 3.7.3-150400.24.2, 3.8.3-150600.4.20.1
gnutls - addressed in versions 3.3.27-3.21.1, 3.7.3-150400.4.59.1, 3.7.3-150400.24.2, 3.8.3-150600.4.20.1
gnutls-debugsource - addressed in versions 3.3.27-3.21.1, 3.4.17-8.26.1, 3.7.3-150400.4.59.1, 3.7.3-150400.24.2, 3.8.3-150600.4.20.1
libgnutls28 - update to 3.3.27-3.21.1
libgnutls28-32bit - update to 3.3.27-3.21.1
libgnutls-devel - addressed in versions 3.3.27-3.21.1, 3.7.3-150400.4.59.1, 3.8.3-150600.4.20.1
libgnutls-openssl27 - update to 3.3.27-3.21.1
gnutls28 (Ubuntu package) - addressed in versions 3.4.10-4ubuntu1.9+esm3, 3.5.18-1ubuntu1.6+esm3, 3.6.13-2ubuntu1.12+esm2, 3.7.3-4ubuntu1.9, 3.8.3-1.1ubuntu3.6, 3.8.9-3ubuntu2.2, 3.8.12-2ubuntu1.1
libgnutls30-32bit - addressed in versions 3.4.17-8.26.1, 3.7.3-150400.4.59.1, 3.8.3-150600.4.20.1
libgnutls30-debuginfo-32bit - update to 3.4.17-8.26.1
libgnutls30 - addressed in versions 3.4.17-8.26.1, 3.7.3-150400.4.59.1, 3.7.3-150400.24.2, 3.8.3-150600.4.20.1
libgnutls30-debuginfo - addressed in versions 3.4.17-8.26.1, 3.7.3-150400.4.59.1, 3.7.3-150400.24.2, 3.8.3-150600.4.20.1
gnutls (Red Hat package) - addressed in versions 3.6.14-10.el8_4.1, 3.6.16-5.el8_6.5, 3.7.6-21.el9_2.7, 3.8.9-9.el10_0.19
gnutls-help - addressed in versions 3.6.14-22, 3.7.2-23, 3.8.2-14
gnutls-utils - addressed in versions 3.6.14-22, 3.7.2-23, 3.8.2-14
gnutls-devel - addressed in versions 3.6.14-22, 3.7.2-23, 3.8.2-14
gnutls-debugsource - addressed in versions 3.6.14-22, 3.7.2-23, 3.8.2-14
gnutls - addressed in versions 3.6.14-22, 3.7.2-23, 3.8.2-14
gnutls-debuginfo - addressed in versions 3.6.14-22, 3.7.2-23, 3.8.2-14
gnutls - addressed in versions 3.6.16-8.0.2, 3.8.2-9
gnutls-c++ - addressed in versions 3.6.16-8.0.2, 3.8.2-9
gnutls-dane - addressed in versions 3.6.16-8.0.2, 3.8.2-9
gnutls-devel - addressed in versions 3.6.16-8.0.2, 3.8.2-9
gnutls-utils - addressed in versions 3.6.16-8.0.2, 3.8.2-9
libgnutls-devel-64bit - addressed in versions 3.7.3-150400.4.59.1, 3.8.3-150600.4.20.1
libgnutls30-hmac-64bit - update to 3.7.3-150400.4.59.1
libgnutls30-64bit-debuginfo - addressed in versions 3.7.3-150400.4.59.1, 3.8.3-150600.4.20.1
libgnutls30-64bit - addressed in versions 3.7.3-150400.4.59.1, 3.8.3-150600.4.20.1
libgnutls30-hmac-32bit - update to 3.7.3-150400.4.59.1
libgnutls-devel-32bit - addressed in versions 3.7.3-150400.4.59.1, 3.8.3-150600.4.20.1
libgnutls30-32bit-debuginfo - addressed in versions 3.7.3-150400.4.59.1, 3.8.3-150600.4.20.1
libgnutlsxx28-debuginfo - update to 3.7.3-150400.4.59.1
gnutls-guile - update to 3.7.3-150400.4.59.1
libgnutlsxx28 - update to 3.7.3-150400.4.59.1
gnutls-guile-debuginfo - update to 3.7.3-150400.4.59.1
libgnutls30-hmac - addressed in versions 3.7.3-150400.4.59.1, 3.7.3-150400.24.2
gnutls28 (Debian package) - addressed in versions 3.7.9-2+deb12u7, 3.8.9-3+deb13u4
gnutls-doc - update to 3.8.2-9
gnutls-dane - update to 3.8.2-14
libgnutlsxx30 - update to 3.8.3-150600.4.20.1
libgnutlsxx30-debuginfo - update to 3.8.3-150600.4.20.1
libtasn1 (Red Hat package) - addressed in versions 4.13-3.el8_4.1, 4.13-3.el8_6.2

External References

Related Security Bulletins