Description
The _asn1_extract_der_octet function in lib/decoding.c in GNU Libtasn1 before 4.8, when used without the ASN1_DECODE_FLAG_STRICT_DER flag, allows remote attackers to cause a denial of service (infinite recursion) via a crafted certificate.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libtasn1-6 | 4.8-1 | — |
| Debian 13 | libtasn1-6 | 4.8-1 | — |
| Debian 12 | libtasn1-6 | 4.8-1 | — |
| Debian 8 | libtasn1-6 | 4.2-3+deb8u2 | DSA-3568-1 |
| Debian 7 | libtasn1-3 | 2.13-2+deb7u3 | DLA-495-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | libtasn1-6 | 4.7-3ubuntu0.16.04.1 | USN-2957-2 |
| Ubuntu 14.04 LTS | libtasn1-6 | 3.4-3ubuntu0.4 | USN-2957-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP1 | libtasn1 | 3.7-11.1 | SUSE-SU-2016:1601-1 |
| SLES 12 | libtasn1 | 3.7-11.1 | SUSE-SU-2016:1601-1 |
| SLES 11 SP4 | libtasn1 | 1.5-1.34.1 | SUSE-SU-2016:1600-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP1 | libtasn1 | 3.7-11.1 | SUSE-SU-2016:1601-1 |
| SLES for SAP 12 | libtasn1 | 3.7-11.1 | SUSE-SU-2016:1601-1 |
| SLES for SAP 11 SP4 | libtasn1 | 1.5-1.34.1 | SUSE-SU-2016:1600-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libtasn1 | 4.9-1.3 | openSUSE-SU-2024:10414-1 |
Advisories 7
- USN-2957-1 libtasn1-3, libtasn1-6 vulnerability Ubuntu Security Notices (USN) · Apr 22, 2026
- USN-2957-2 libtasn1-6 vulnerability Ubuntu Security Notices (USN) · Apr 22, 2026
- DLA-495-1 libtasn1-3 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3568-1 libtasn1-6 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2016:1601-1 Security update for libtasn1 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:1600-1 Security update for libtasn1 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10414-1 libtasn1-4.9-1.3 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- GLSA-201703-05 vendor-advisory
- FEDORA-2016-048ffb6235 vendor-advisory
- http://git.savannah.gnu.org/gitweb/?p=libtasn1.git%3Ba=commit%3Bh=a6e0a0b58f5cdaf4e9beca5bce69c09808cbb625
- USN-2957-2 vendor-advisory
- FEDORA-2016-383b8250e6 vendor-advisory
- openSUSE-SU-2016:1567 vendor-advisory
- [help-libtasn1] 20160411 GNU Libtasn1 4.8 released mailing-list
- http://git.savannah.gnu.org/gitweb/?p=libtasn1.git%3Ba=commit%3Bh=f435825c0f527a8e52e6ffbc3ad0bc60531d537e
- DSA-3568 vendor-advisory
- openSUSE-SU-2016:1674 vendor-advisory
- FEDORA-2016-96bfd9e873 vendor-advisory
- USN-2957-1 vendor-advisory
- [oss-security] 20160411 Infinite loops parsing malicious DER certificates in libtasn1 4.7 mailing-list