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

Medium 6.5 Published Updated

A double-free vulnerability in GnuTLS SAN export logic allows attackers to cause denial of service or potential code execution via malformed otherName entries.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-32988?

CVE-2025-32988 is a medium-severity memory corruption vulnerability in Gnu Gnutls, published on 10 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

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.

Weakness: CWE-415

Which versions are affected by CVE-2025-32988?

It affects 3 products.

Products include Gnu Gnutls, Redhat Enterprise Linux, Redhat Openshift Container Platform.

How do I fix CVE-2025-32988?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-32988 being exploited?

There is no known exploitation of CVE-2025-32988 in the wild and no public exploit code.

All Gnu Gnutls vulnerabilities

Sources

Also known as ALPINE-CVE-2025-32988, AZL-65085, AZL-65106, BELL-CVE-2025-32988, CLSA-2025-1756751437, CLSA-2025-1756759707 and 5 more.

Is CVE-2025-32988 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free