Double-Free Vulnerability in GnuTLS Due to Ownership Handling Flaw
CVE-2025-32988

6.5MEDIUM

What is CVE-2025-32988?

A flaw exists in GnuTLS where incorrect ownership handling in the export logic of Subject Alternative Name (SAN) entries containing an otherName can cause a double-free vulnerability. If an invalid or malformed type-id OID is used, GnuTLS erroneously invokes asn1_delete_structure() on an ASN.1 node that it does not own. This leads to a potential double-free scenario when the parent function or another caller attempts to free the same structure. The vulnerability can be exploited using public GnuTLS APIs, resulting in denial of service or memory corruption, depending on allocator behavior.

References

CVSS V3.1

Score:
6.5
Severity:
MEDIUM
Confidentiality:
None
Integrity:
Low
Availability:
None
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.
CVE-2025-32988 : Double-Free Vulnerability in GnuTLS Due to Ownership Handling Flaw