CVE-2025-32988
JSON

6.5medium

Gnutls: vulnerability in gnutls othername san export

Severity
6.5medium CVSS:3.1 by redhat
Exploit likelihood
1.47% (higher than 74% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

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

Product or packageVersionsReported by
libgnutlsbefore 3.8.10CVE List
gnutlsNot specified
Not affected: from 0:3.8.9-9.el10_0.14 before *, from 0:3.6.16-8.el8_10.4 before *, from 0:3.8.3-6.el9_6.2 before *, from 0:3.7.6-21.el9_2.4 before *, from 0:3.8.3-4.el9_4.4 before *
CVE List
rhceph/rhceph-7-rhel9Not specified
Not affected: from 7 before *
CVE List
discovery/discovery-ui-rhel9Not specified
Not affected: from 2.3.0-1760554384 before *
CVE List
gnutls-mainNot specified
Not affected: from 3.8.12-1.1.hum1 before *
CVE List
insights-proxy/insights-proxy-container-rhel9Not specified
Not affected: from 1.5.7-1759331989 before *
CVE List
openshift/ose-rhel-coreos-8Not specifiedCVE List
openshift/ose-rhel-coreos-9Not specifiedCVE List
gnu gnutlsbefore 3.8.10NVD
redhat openshift_container_platform4.0NVD
redhat enterprise_linux6.0, 7.0, 8.0, 9.0, 10.0NVD

All scores

redhat6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H
NVD8.2high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H

Classification

CWE-415

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Se encontró una falla en GnuTLS. Existe una vulnerabilidad de doble liberación debido a una gestión incorrecta de la propiedad en la lógica de exportación de las entradas de Nombre Alternativo del Sujeto (SAN) que contienen un otro nombre. Si el OID de tipo no es válido o está mal formado, GnuTLS llamará a asn1_delete_structure() en un nodo ASN.1 que no le pertenece, lo que genera una condición de doble liberación cuando la función principal o el invocador intenta posteriormente liberar la misma estructura. Esta vulnerabilidad puede activarse utilizando únicamente las API públicas de GnuTLS y puede provocar denegación de servicio o corrupción de memoria, según el comportamiento del asignador.

References

https://access.redhat.com/errata/RHSA-2025:16115vendor-advisory
https://access.redhat.com/errata/RHSA-2025:16116vendor-advisory
https://access.redhat.com/errata/RHSA-2025:17181vendor-advisory
https://access.redhat.com/errata/RHSA-2025:17348vendor-advisory
https://access.redhat.com/errata/RHSA-2025:17361vendor-advisory
https://access.redhat.com/errata/RHSA-2025:17415vendor-advisory
https://access.redhat.com/errata/RHSA-2025:19088vendor-advisory
https://access.redhat.com/errata/RHSA-2025:22529vendor-advisory
https://access.redhat.com/errata/RHSA-2026:7477vendor-advisory
https://access.redhat.com/security/cve/CVE-2025-32988vdb-entry, vendor-advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2359622issue-tracking
https://lists.gnupg.org/pipermail/gnutls-help/2025-July/004883.html

Sources

SourceRecordLicence
CVE ListCVE-2025-32988 changed 2026-11-05CVE Terms of Use
NVDCVE-2025-32988 changed 2026-11-05Public domain