CVE-2025-13151: Stack-based buffer overflow in libtasn1 version: v4.20.0
CVE-2025-13151 is a high-severity flaw (CVSS 7.5) affecting libtasn1. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- Remotely exploitable, no login, no user action
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.4% (top 28%) |
| CISA exploited list | No |
| Weakness | CWE-787 |
| Published | 2026-01-07 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Advisories and coverage
Official advisories
- AlmaLinux Errata: [ALSA-2026:28253] Low: libtasn1 security update 2026-06-25
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-13151?
libtasn1: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2025-13151 being exploited?
CVE-2025-13151 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2025-13151 affect?
CVE-2025-13151 affects libtasn1. Severity is high (CVSS 7.5). 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.
How urgent is CVE-2025-13151?
Priority 49/100. High severity; Remotely exploitable, no login, no user action