Description
In LibTomCrypt through 1.18.2, the der_decode_utf8_string function (in der_decode_utf8_string.c) does not properly detect certain invalid UTF-8 sequences. This allows context-dependent attackers to cause a denial of service (out-of-bounds read and crash) or read information from other memory locations via carefully crafted DER-encoded data.
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 | libtomcrypt | 1.18.2-3 | — |
| Debian 13 | libtomcrypt | 1.18.2-3 | — |
| Debian 12 | libtomcrypt | 1.18.2-3 | — |
| Debian 8 | libtomcrypt | 1.17-6+deb8u1 | DLA-1951-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | libtomcrypt | 1.18.1-1ubuntu0.1+esm1 | USN-4868-1 |
| Ubuntu Pro 16.04 LTS | libtomcrypt | 1.17-7ubuntu0.1+esm1 | USN-4868-1 |
| Ubuntu Pro 14.04 LTS | libtomcrypt | 1.17-5ubuntu0.1+esm1 | USN-4868-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP5 | libtomcrypt | 1.17-3.3.1 | SUSE-SU-2019:3095-1 |
| SLES 12 SP4 | libtomcrypt | 1.17-3.3.1 | SUSE-SU-2019:3095-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.1 | libtomcrypt | 1.17-lp151.3.3.1 | openSUSE-SU-2019:2514-1 |
| openSUSE Leap 15.0 | libtomcrypt | 1.17-lp150.2.3.1 | openSUSE-SU-2019:2454-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | perl-cryptx | 0.079-r0 | — |
| Alpine v3.23 | perl-cryptx | 0.079-r0 | — |
| Alpine v3.22 | perl-cryptx | 0.079-r0 | — |
| Alpine v3.21 | perl-cryptx | 0.079-r0 | — |
| Alpine v3.20 | perl-cryptx | 0.079-r0 | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | perl-cryptx | 0.079-r0 | — |
| Alpine v3.18 | perl-cryptx | 0.079-r0 | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | libtomcrypt | 1.18.2-9 | — |
| Azure Linux 2 (CBL-Mariner) | libtomcrypt | 1.18.2-9 | — |
Advisories 5
- USN-4868-1 libtomcrypt vulnerability Ubuntu Security Notices (USN) · Jun 29, 2026
- DLA-1951-1 libtomcrypt - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2019:2454-1 Security update for libtomcrypt SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2019:2514-1 Security update for libtomcrypt SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:3095-1 Security update for libtomcrypt SUSE / openSUSE Security Updates · May 2, 2025
References
- https://vuldb.com/?id.142995
- https://github.com/libtom/libtomcrypt/issues/507
- https://github.com/libtom/libtomcrypt/pull/508
- [debian-lts-announce] 20191009 [SECURITY] [DLA 1951-1] libtomcrypt security update mailing-list
- openSUSE-SU-2019:2454 vendor-advisory
- openSUSE-SU-2019:2514 vendor-advisory
- FEDORA-2023-1f0ac1260e vendor-advisory
- FEDORA-2023-b4b9b38f23 vendor-advisory