{"id":"ALPINE-CVE-2025-13151","details":"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.","modified":"2026-03-09T01:23:53.492950Z","published":"2026-01-07T22:15:43.200Z","upstream":["CVE-2025-13151"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2025-13151"}],"affected":[{"package":{"name":"libtasn1","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/libtasn1?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.21.0-r0"}]}],"versions":["1.8-r0","2.0-r0","2.1-r0","2.12-r0","2.13-r0","2.14-r0","2.2-r0","2.4-r0","2.5-r0","2.5-r1","2.6-r0","2.6-r1","2.6-r2","2.8-r0","2.8-r1","2.9-r0","2.9-r1","3.1-r0","3.2-r0","3.3-r0","3.4-r0","3.6-r0","4.1-r0","4.10-r0","4.10-r1","4.12-r0","4.12-r1","4.12-r2","4.13-r0","4.14-r0","4.15.0-r0","4.16.0-r0","4.16.0-r1","4.17.0-r0","4.18.0-r0","4.19.0-r0","4.19.0-r1","4.19.0-r2","4.2-r0","4.20.0-r0","4.4-r0","4.5-r0","4.6-r0","4.7-r0","4.8-r0","4.9-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2025-13151.json"}},{"package":{"name":"libtasn1","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/libtasn1?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.21.0-r0"}]}],"versions":["1.8-r0","2.0-r0","2.1-r0","2.12-r0","2.13-r0","2.14-r0","2.2-r0","2.4-r0","2.5-r0","2.5-r1","2.6-r0","2.6-r1","2.6-r2","2.8-r0","2.8-r1","2.9-r0","2.9-r1","3.1-r0","3.2-r0","3.3-r0","3.4-r0","3.6-r0","4.1-r0","4.10-r0","4.10-r1","4.12-r0","4.12-r1","4.12-r2","4.13-r0","4.14-r0","4.15.0-r0","4.16.0-r0","4.16.0-r1","4.17.0-r0","4.18.0-r0","4.19.0-r0","4.19.0-r1","4.19.0-r2","4.2-r0","4.20.0-r0","4.4-r0","4.5-r0","4.6-r0","4.7-r0","4.8-r0","4.9-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2025-13151.json"}},{"package":{"name":"libtasn1","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/libtasn1?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.21.0-r0"}]}],"versions":["1.8-r0","2.0-r0","2.1-r0","2.12-r0","2.13-r0","2.14-r0","2.2-r0","2.4-r0","2.5-r0","2.5-r1","2.6-r0","2.6-r1","2.6-r2","2.8-r0","2.8-r1","2.9-r0","2.9-r1","3.1-r0","3.2-r0","3.3-r0","3.4-r0","3.6-r0","4.1-r0","4.10-r0","4.10-r1","4.12-r0","4.12-r1","4.12-r2","4.13-r0","4.14-r0","4.15.0-r0","4.16.0-r0","4.16.0-r1","4.17.0-r0","4.18.0-r0","4.19.0-r0","4.19.0-r1","4.19.0-r2","4.2-r0","4.20.0-r0","4.4-r0","4.5-r0","4.6-r0","4.7-r0","4.8-r0","4.9-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2025-13151.json"}},{"package":{"name":"libtasn1","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/libtasn1?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.21.0-r0"}]}],"versions":["1.8-r0","2.0-r0","2.1-r0","2.12-r0","2.13-r0","2.14-r0","2.2-r0","2.4-r0","2.5-r0","2.5-r1","2.6-r0","2.6-r1","2.6-r2","2.8-r0","2.8-r1","2.9-r0","2.9-r1","3.1-r0","3.2-r0","3.3-r0","3.4-r0","3.6-r0","4.1-r0","4.10-r0","4.10-r1","4.12-r0","4.12-r1","4.12-r2","4.13-r0","4.14-r0","4.15.0-r0","4.16.0-r0","4.16.0-r1","4.17.0-r0","4.18.0-r0","4.19.0-r0","4.19.0-r1","4.19.0-r2","4.2-r0","4.20.0-r0","4.4-r0","4.5-r0","4.6-r0","4.7-r0","4.8-r0","4.9-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2025-13151.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}