Description
An issue was discovered in the _asn1_decode_simple_ber function in decoding.c in GNU Libtasn1 before 4.13. Unlimited recursion in the BER decoder leads to stack exhaustion and DoS.
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.13-2 | — |
| Debian 13 | libtasn1-6 | 4.13-2 | — |
| Debian 12 | libtasn1-6 | 4.13-2 | — |
| Debian 9 | libtasn1-6 | 4.10-1.1+deb9u1 | DSA-4106-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | libtasn1-6 | 4.7-3ubuntu0.16.04.3 | USN-3547-1 |
| Ubuntu 14.04 LTS | libtasn1-6 | 3.4-3ubuntu0.6 | USN-3547-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP3 | libtasn1 | 4.9-3.5.1 | SUSE-SU-2018:0295-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP3 | libtasn1 | 4.9-3.5.1 | SUSE-SU-2018:0295-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libtasn1 | 4.17.0-1.2 | openSUSE-SU-2024:11001-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | libtasn1 | 4.13-r0 | — |
| Alpine v3.23 | libtasn1 | 4.13-r0 | — |
| Alpine v3.22 | libtasn1 | 4.13-r0 | — |
| Alpine v3.21 | libtasn1 | 4.13-r0 | — |
| Alpine v3.20 | libtasn1 | 4.13-r0 | — |
Show 16 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | libtasn1 | 4.13-r0 | — |
| Alpine v3.18 | libtasn1 | 4.13-r0 | — |
| Alpine v3.17 | libtasn1 | 4.13-r0 | — |
| Alpine v3.16 | libtasn1 | 4.13-r0 | — |
| Alpine v3.15 | libtasn1 | 4.13-r0 | — |
| Alpine v3.14 | libtasn1 | 4.13-r0 | — |
| Alpine v3.13 | libtasn1 | 4.13-r0 | — |
| Alpine v3.12 | libtasn1 | 4.13-r0 | — |
| Alpine v3.11 | libtasn1 | 4.13-r0 | — |
| Alpine v3.10 | libtasn1 | 4.13-r0 | — |
| Alpine v3.9 | libtasn1 | 4.13-r0 | — |
| Alpine v3.8 | libtasn1 | 4.13-r0 | — |
| Alpine v3.7 | libtasn1 | 4.12-r3 | — |
| Alpine v3.6 | libtasn1 | 4.10-r3 | — |
| Alpine v3.5 | libtasn1 | 4.9-r3 | — |
| Alpine v3.4 | libtasn1 | 4.8-r3 | — |
Advisories 4
- USN-3547-1 libtasn1-6 vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-4106-1 libtasn1-6 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:11001-1 libtasn1-6-32bit-4.17.0-1.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:0295-1 Security update for libtasn1 SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://gitlab.com/gnutls/libtasn1/commit/946565d8eb05fbf7970ea366e817581bb5a90910
- https://bugzilla.suse.com/show_bug.cgi?id=1076832
- https://bugzilla.redhat.com/show_bug.cgi?id=1535926
- DSA-4106 vendor-advisory
- http://git.savannah.nongnu.org/cgit/libtasn1.git/commit/?id=c593ae84cfcde8fea45787e53950e0ac71e9ca97
- [bookkeeper-issues] 20210628 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8 mailing-list
- [bookkeeper-issues] 20210629 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8 mailing-list