libtasn1 -- Stack-based buffer overflow
· CVE-2025-13151 · VuXML entry
oss-security@ list reports: 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.
Affected versions
- libtasn1 < 4.21.0
By system
1 still vulnerable, 1 fixed. Where VuXML applies (FreeBSD, DragonFly, FreeBSD's derivatives) a port is vulnerable while its version is in a range; pkgsrc says itself whether it lists a CVE of this advisory; OpenBSD and MidnightBSD keep no list this site reads, so their row is only an estimate: FreeBSD's ranges applied to upstream's version.
| System | Port | Version | State | Fixed |
|---|---|---|---|---|
| DragonFly | security/libtasn1 | 4.20.0_1 | vulnerable since 2026-01-11 | |
| OpenBSD | security/libtasn1 | 4.21.0 | out of range, by version | |
| NetBSD | security/libtasn1 | 4.21.0 | not listed | |
| MidnightBSD | security/libtasn1 | 4.20.0_1 | in range, by version | |
| FreeBSD | security/libtasn1 | 4.21.0 | fixed |