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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:10 | gnutls | 3.8.9-9.el10_0.14 | ALSA-2025:16115 |
| AlmaLinux:8 | gnutls | 3.6.16-8.el8_10.4 | ALSA-2025:17415 |
| AlmaLinux:9 | gnutls | 3.8.3-6.el9_6.2 | ALSA-2025:16116 |
| AlmaLinux:10 | gnutls-c++ | 3.8.9-9.el10_0.14 | ALSA-2025:16115 |
| AlmaLinux:8 | gnutls-c++ | 3.6.16-8.el8_10.4 | ALSA-2025:17415 |
| AlmaLinux:9 | gnutls-c++ | 3.8.3-6.el9_6.2 | ALSA-2025:16116 |
| AlmaLinux:10 | gnutls-dane | 3.8.9-9.el10_0.14 | ALSA-2025:16115 |
| AlmaLinux:8 | gnutls-dane | 3.6.16-8.el8_10.4 | ALSA-2025:17415 |
| AlmaLinux:9 | gnutls-dane | 3.8.3-6.el9_6.2 | ALSA-2025:16116 |
| AlmaLinux:10 | gnutls-devel | 3.8.9-9.el10_0.14 | ALSA-2025:16115 |
| AlmaLinux:8 | gnutls-devel | 3.6.16-8.el8_10.4 | ALSA-2025:17415 |
| AlmaLinux:9 | gnutls-devel | 3.8.3-6.el9_6.2 | ALSA-2025:16116 |
| AlmaLinux:10 | gnutls-fips | 3.8.9-9.el10_0.14 | ALSA-2025:16115 |
| AlmaLinux:10 | gnutls-utils | 3.8.9-9.el10_0.14 | ALSA-2025:16115 |
| AlmaLinux:8 | gnutls-utils | 3.6.16-8.el8_10.4 | ALSA-2025:17415 |
| AlmaLinux:9 | gnutls-utils | 3.8.3-6.el9_6.2 | ALSA-2025:16116 |
| Alpine:v3.20 | gnutls | 3.8.12-r0 | ALPINE-CVE-2025-32988 |
| Alpine:v3.21 | gnutls | 3.8.12-r0 | ALPINE-CVE-2025-32988 |
| Alpine:v3.22 | gnutls | 3.8.12-r0 | ALPINE-CVE-2025-32988 |
| Alpine:v3.23 | gnutls | 3.8.11-r0 | ALPINE-CVE-2025-32988 |
| Alpine:v3.24 | gnutls | 3.8.11-r0 | ALPINE-CVE-2025-32988 |
| Debian:12 | gnutls28 | 3.7.9-2+deb12u5 | DEBIAN-CVE-2025-32988 |
| Debian:12 | gnutls28 | 3.7.9-2+deb12u5 | DSA-5962-1 |
| Debian:13 | gnutls28 | 3.8.9-3 | DEBIAN-CVE-2025-32988 |
| Debian:14 | gnutls28 | 3.8.9-3 | DEBIAN-CVE-2025-32988 |
| Rocky Linux:10 | gnutls | 0:3.8.9-9.el10_0.14 | RLSA-2025:16115 |
| Rocky Linux:8 | gnutls | 0:3.6.16-8.el8_10.4 | RLSA-2025:17415 |
| Rocky Linux:9 | gnutls | 0:3.8.3-6.el9_6.2 | RLSA-2025:16116 |
| Ubuntu:22.04:LTS | gnutls28 | 3.7.3-4ubuntu1.7 | USN-7635-1 |
| Ubuntu:22.04:LTS | gnutls28 | 3.7.3-4ubuntu1.7 | UBUNTU-CVE-2025-32988 |
| Ubuntu:24.04:LTS | gnutls28 | 3.8.3-1.1ubuntu3.4 | USN-7635-1 |
| Ubuntu:24.04:LTS | gnutls28 | 3.8.3-1.1ubuntu3.4 | UBUNTU-CVE-2025-32988 |
| Ubuntu:25.10 | gnutls28 | 3.8.9-3ubuntu1 | UBUNTU-CVE-2025-32988 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| libgnutls | 0 – before 3.8.10 | |
| Red Hat | Red Hat Enterprise Linux 10 | see references |
| Red Hat | Red Hat Enterprise Linux 8 | see references |
| Red Hat | Red Hat Enterprise Linux 8 | see references |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
| Red Hat | Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | see references |
| Red Hat | Red Hat Enterprise Linux 9.4 Extended Update Support | see references |
| Red Hat | Red Hat Ceph Storage 7 | see references |
| Red Hat | Red Hat Discovery 2 | see references |
| Red Hat | Red Hat Hardened Images | see references |
| Red Hat | Red Hat Insights proxy 1.5 | see references |
| Red Hat | Red Hat Enterprise Linux 6 | see references |
| Red Hat | Red Hat Enterprise Linux 7 | see references |
| Red Hat | Red Hat OpenShift Container Platform 4 | see references |
| Red Hat | Red Hat OpenShift Container Platform 4 | see references |
Weakness: CWE-415 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H
References
- RHSA-2025:16115 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:16116 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:17181 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:17348 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:17361 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:17415 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:19088 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:22529 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:7477 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2025-32988 vdb-entry, x_refsource_REDHAT
- RHBZ#2359622 issue-tracking, x_refsource_REDHAT
- https://lists.gnupg.org/pipermail/gnutls-help/2025-July/004883.html
- https://lists.debian.org/debian-lts-announce/2025/08/msg00005.html
- http://www.openwall.com/lists/oss-security/2025/07/11/3
- https://cert-portal.siemens.com/productcert/html/ssa-082556.html