Vulnerability · Published Jul 10, 2025 · Assigned by redhat

CVE-2025-32988Gnutls: vulnerability in gnutls othername san export

Medium 6.5

In plain English

A medium-severity double free in libgnutls. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 74% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)1.5%top 26.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

A flaw was found in GnuTLS. A double-free vulnerability exists in GnuTLS due to incorrect ownership handling in the export logic of Subject Alternative Name (SAN) entries containing an otherName. If the type-id OID is invalid or malformed, GnuTLS will call asn1_delete_structure() on an ASN.1 node it does not own, leading to a double-free condition when the parent function or caller later attempts to free the same structure. This vulnerability can be triggered using only public GnuTLS APIs and may result in denial of service or memory corruption, depending on allocator behavior.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:10gnutls3.8.9-9.el10_0.14ALSA-2025:16115
AlmaLinux:8gnutls3.6.16-8.el8_10.4ALSA-2025:17415
AlmaLinux:9gnutls3.8.3-6.el9_6.2ALSA-2025:16116
AlmaLinux:10gnutls-c++3.8.9-9.el10_0.14ALSA-2025:16115
AlmaLinux:8gnutls-c++3.6.16-8.el8_10.4ALSA-2025:17415
AlmaLinux:9gnutls-c++3.8.3-6.el9_6.2ALSA-2025:16116
AlmaLinux:10gnutls-dane3.8.9-9.el10_0.14ALSA-2025:16115
AlmaLinux:8gnutls-dane3.6.16-8.el8_10.4ALSA-2025:17415
AlmaLinux:9gnutls-dane3.8.3-6.el9_6.2ALSA-2025:16116
AlmaLinux:10gnutls-devel3.8.9-9.el10_0.14ALSA-2025:16115
AlmaLinux:8gnutls-devel3.6.16-8.el8_10.4ALSA-2025:17415
AlmaLinux:9gnutls-devel3.8.3-6.el9_6.2ALSA-2025:16116
AlmaLinux:10gnutls-fips3.8.9-9.el10_0.14ALSA-2025:16115
AlmaLinux:10gnutls-utils3.8.9-9.el10_0.14ALSA-2025:16115
AlmaLinux:8gnutls-utils3.6.16-8.el8_10.4ALSA-2025:17415
AlmaLinux:9gnutls-utils3.8.3-6.el9_6.2ALSA-2025:16116
Alpine:v3.20gnutls3.8.12-r0ALPINE-CVE-2025-32988
Alpine:v3.21gnutls3.8.12-r0ALPINE-CVE-2025-32988
Alpine:v3.22gnutls3.8.12-r0ALPINE-CVE-2025-32988
Alpine:v3.23gnutls3.8.11-r0ALPINE-CVE-2025-32988
Alpine:v3.24gnutls3.8.11-r0ALPINE-CVE-2025-32988
Debian:12gnutls283.7.9-2+deb12u5DEBIAN-CVE-2025-32988
Debian:12gnutls283.7.9-2+deb12u5DSA-5962-1
Debian:13gnutls283.8.9-3DEBIAN-CVE-2025-32988
Debian:14gnutls283.8.9-3DEBIAN-CVE-2025-32988
Rocky Linux:10gnutls0:3.8.9-9.el10_0.14RLSA-2025:16115
Rocky Linux:8gnutls0:3.6.16-8.el8_10.4RLSA-2025:17415
Rocky Linux:9gnutls0:3.8.3-6.el9_6.2RLSA-2025:16116
Ubuntu:22.04:LTSgnutls283.7.3-4ubuntu1.7USN-7635-1
Ubuntu:22.04:LTSgnutls283.7.3-4ubuntu1.7UBUNTU-CVE-2025-32988
Ubuntu:24.04:LTSgnutls283.8.3-1.1ubuntu3.4USN-7635-1
Ubuntu:24.04:LTSgnutls283.8.3-1.1ubuntu3.4UBUNTU-CVE-2025-32988
Ubuntu:25.10gnutls283.8.9-3ubuntu1UBUNTU-CVE-2025-32988

Affected products (as reported)

Weakness: CWE-415 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H

References