Skip to main content
VulnerabilityPublished Updated

CVE-2025-13151: GnuTLS libtasn1 · Classic Buffer Overflow

Affects GnuTLS libtasn1Source CVE Database V5

0

Not known to be exploited · CVSS 7.5 High.

Data as of 26 Oct 2026, 10:12 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
1.3% chance of exploitation in 30 days – higher than 71% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 7 Jan 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
GnuTLSlibtasn1Affected
  • <=4.20.0
Fixed in–

AI-suggested

  1. Monitor official GnuTLS and libtasn1 project channels for patches addressing CVE-2025-13151 and apply updates immediately upon release.
  2. In the interim, implement network-level protections such as intrusion detection/prevention systems (IDS/IPS) to detect anomalous ASN.1 traffic patterns that may indicate exploitation attempts.
  3. Employ runtime protections including stack canaries, Address Space Layout Randomization (ASLR), and Data Execution Prevention (DEP) on affected systems to reduce exploitation success.
  4. Conduct an inventory of all software and devices using libtasn1 to identify vulnerable versions and prioritize patching or mitigation.
  5. For embedded and IoT devices where patching is difficult, consider network segmentation and strict access controls to limit exposure.
  6. Review and harden TLS/SSL configurations to minimize attack surface, including disabling unnecessary services that rely on libtasn1.
  7. Engage in threat hunting and monitoring for unusual crashes or service disruptions that could indicate exploitation attempts.
  8. Collaborate with vendors and open-source communities to accelerate patch availability and deployment.
  9. Educate system administrators and security teams about the vulnerability specifics to ensure rapid response.

Description

Stack-based buffer overflow in libtasn1 version: v4.20.0. The function fails to validate the size of input data resulting in a buffer overflow in asn1_expend_octet_string.

References

Community reviews

Loading reviews…