Double free in GnuTLS - CVE-2025-32988

 

Double free in GnuTLS - CVE-2025-32988

Published: July 16, 2025


Vulnerability identifier: #VU112993
CSH Severity: Medium
CVSS v4: 7.5 [CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-32988
CWE-ID: CWE-415
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error when exporting a certificate with an otherName in the SAN (subject alternative name) extension. A remote attacker can trick the victim into export a specially crafted certificate, trigger a double free error on the ASN.1 structure and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

GnuTLS
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 15 SP3
Debian Linux
Gentoo Linux
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Real Time 15
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Linux Enterprise Micro
SUSE Linux Enterprise Micro for Rancher
SUSE Enterprise Storage
Red Hat Enterprise Linux for ARM 64
Anolis OS
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
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
Fedora
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
libgnutls30 (Ubuntu package)
gnutls28 (Debian package)
libgnutlsxx28-debuginfo
libgnutls30-32bit-debuginfo
libgnutls-devel-32bit
libgnutls30-debuginfo
gnutls-debugsource
libgnutls30-hmac
libgnutlsxx-devel
libgnutls30
libgnutls-devel
gnutls-debuginfo
libgnutlsxx28
gnutls
libgnutls30-32bit
libgnutls30-hmac-32bit
gnutls-utils
gnutls-help
gnutls-devel
gnutls (Red Hat package)
gnutls-dane
gnutls-c++
gnutls-guile-debuginfo
gnutls-guile
libgnutls30-64bit-debuginfo
libgnutls-devel-64bit
libgnutls30-hmac-64bit
libgnutls30-64bit
gnutls-doc
libgnutlsxx30
libgnutlsxx30-debuginfo
net-libs/gnutls
gnutls28 (Ubuntu package)
Netezza Appliance
Storage Defender - Resiliency Service
Financial Transaction Manager for RedHat OpenShift
Storage Virtualize
Maximo Application Suite - Monitor Component
Robotic Process Automation for Cloud Pak
IBM Observability with Instana
Cryostat
Oracle Cloud Native Session Border Controller
Red Hat Advanced Cluster Management for Kubernetes
Splunk Operator for Kubernetes Add-on
App Connect Enterprise Certified Container
LANTIME Operating System Firmware (LTOS)
IBM Qradar SIEM
Juniper Secure Analytics (JSA)
Red Hat OpenShift Serverless
Multicluster Engine for Kubernetes
OpenShift Virtualization
AMQ Broker
IBM CICS TX Standard

How to mitigate CVE-2025-32988

Install updates from vendor's website.

GnuTLS - update to 3.8.10
Netezza Appliance - update to 1.0.0.1
IBM Observability with Instana - update to 1.0.308
Storage Defender - Resiliency Service - update to 2.0.18
Cryostat - update to 4.0.3
LANTIME Operating System Firmware (LTOS) - update to 7.08.025
IBM Qradar SIEM - update to 7.5.0 Update Pack 14 IF01
Juniper Secure Analytics (JSA) - update to 7.5.0 UP14 IF01
Storage Virtualize - addressed in versions 8.4.0.19, 8.5.0.17, 8.6.0.10, 8.7.0.8, 9.1.0.2, 9.1.1.0
Maximo Application Suite - Monitor Component - addressed in versions 9.0.25, 9.1.15, 9.2.4
Robotic Process Automation for Cloud Pak - addressed in versions 23.0.20.5, 30.0.1
libgnutls30 (Ubuntu package) - addressed in versions 3.5.18-1ubuntu1.6+esm2, 3.6.13-2ubuntu1.12+esm1
gnutls28 (Debian package) - update to 3.7.9-2+deb12u5
libgnutlsxx28-debuginfo - addressed in versions 3.6.7-150200.14.37.1, 3.7.3-150400.4.50.1
libgnutls30-32bit-debuginfo - addressed in versions 3.6.7-150200.14.37.1, 3.7.3-150400.4.50.1, 3.8.3-150600.4.9.1
libgnutls-devel-32bit - addressed in versions 3.6.7-150200.14.37.1, 3.7.3-150400.4.50.1, 3.8.3-150600.4.9.1
libgnutls30-debuginfo - addressed in versions 3.6.7-150200.14.37.1, 3.7.3-150400.4.50.1, 3.8.3-150600.4.9.1
gnutls-debugsource - addressed in versions 3.6.7-150200.14.37.1, 3.7.3-150400.4.50.1, 3.8.3-150600.4.9.1
libgnutls30-hmac - addressed in versions 3.6.7-150200.14.37.1, 3.7.3-150400.4.50.1
libgnutlsxx-devel - addressed in versions 3.6.7-150200.14.37.1, 3.7.3-150400.4.50.1, 3.8.3-150600.4.9.1
libgnutls30 - addressed in versions 3.6.7-150200.14.37.1, 3.7.3-150400.4.50.1, 3.8.3-150600.4.9.1
libgnutls-devel - addressed in versions 3.6.7-150200.14.37.1, 3.7.3-150400.4.50.1, 3.8.3-150600.4.9.1
gnutls-debuginfo - addressed in versions 3.6.7-150200.14.37.1, 3.7.3-150400.4.50.1, 3.8.3-150600.4.9.1
libgnutlsxx28 - addressed in versions 3.6.7-150200.14.37.1, 3.7.3-150400.4.50.1
gnutls - addressed in versions 3.6.7-150200.14.37.1, 3.7.3-150400.4.50.1, 3.8.3-150600.4.9.1
libgnutls30-32bit - addressed in versions 3.6.7-150200.14.37.1, 3.7.3-150400.4.50.1, 3.8.3-150600.4.9.1
libgnutls30-hmac-32bit - addressed in versions 3.6.7-150200.14.37.1, 3.7.3-150400.4.50.1
gnutls - addressed in versions 3.6.14-18, 3.7.2-16, 3.7.2-17, 3.8.2-7
gnutls-utils - addressed in versions 3.6.14-18, 3.7.2-16, 3.7.2-17, 3.8.2-7
gnutls-help - addressed in versions 3.6.14-18, 3.7.2-16, 3.7.2-17, 3.8.2-7
gnutls-devel - addressed in versions 3.6.14-18, 3.7.2-16, 3.7.2-17, 3.8.2-7
gnutls-debugsource - addressed in versions 3.6.14-18, 3.7.2-16, 3.7.2-17, 3.8.2-7
gnutls-debuginfo - addressed in versions 3.6.14-18, 3.7.2-16, 3.7.2-17, 3.8.2-7
gnutls (Red Hat package) - addressed in versions 3.6.16-8.el8_10.4, 3.7.6-21.el9_2.4, 3.8.3-4.el9_4.4, 3.8.3-6.el9_6.2, 3.8.9-9.el10_0.14
gnutls-utils - addressed in versions 3.6.16-8.0.2, 3.8.2-4
gnutls - addressed in versions 3.6.16-8.0.2, 3.8.2-4
gnutls-devel - addressed in versions 3.6.16-8.0.2, 3.8.2-4
gnutls-dane - addressed in versions 3.6.16-8.0.2, 3.8.2-4
gnutls-c++ - addressed in versions 3.6.16-8.0.2, 3.8.2-4
gnutls-guile-debuginfo - update to 3.7.3-150400.4.50.1
gnutls-guile - update to 3.7.3-150400.4.50.1
libgnutls30-64bit-debuginfo - addressed in versions 3.7.3-150400.4.50.1, 3.8.3-150600.4.9.1
libgnutls-devel-64bit - addressed in versions 3.7.3-150400.4.50.1, 3.8.3-150600.4.9.1
libgnutls30-hmac-64bit - update to 3.7.3-150400.4.50.1
libgnutls30-64bit - addressed in versions 3.7.3-150400.4.50.1, 3.8.3-150600.4.9.1
gnutls-doc - update to 3.8.2-4
gnutls-dane - update to 3.8.2-7
libgnutlsxx30 - update to 3.8.3-150600.4.9.1
libgnutlsxx30-debuginfo - update to 3.8.3-150600.4.9.1
gnutls - update to 3.8.10-1.fc42
Red Hat OpenShift Serverless - update to 1
Multicluster Engine for Kubernetes - update to 2.7.6
Red Hat Advanced Cluster Management for Kubernetes - update to 2.12.5
Splunk Operator for Kubernetes Add-on - update to 3.1.0
OpenShift Virtualization - update to 4.19.17
AMQ Broker - update to 7.13.2
IBM CICS TX Standard - update to 11.1.0.0 ifix41
App Connect Enterprise Certified Container - update to 12.0.17
net-libs/gnutls - update to 3.8.10
gnutls28 (Ubuntu package) - addressed in versions 3.7.3-4ubuntu1.7, 3.8.3-1.1ubuntu3.4, 3.8.9-2ubuntu3.1

External References

Related Security Bulletins