Vulnerabilities / CVE-2019-17362

critical

CVE-2019-17362

libtomcrypt: out-of-bounds read in the der_decode_utf8_string function in der_decode_utf8_string.c

Published Modified CWE 125
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Red Hat6.5CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L

Trivy's own label is CRITICAL. Rated critical by NVD, Azure Linux, CBL-Mariner. Rated lower by Red Hat (medium), Ubuntu (medium).

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.

Affected packages and fixed versions

SourcePackageFixed in
Azure Linux 3.0libtomcrypt0:1.18.2-9.azl3
CBL-Mariner 2.0libtomcrypt0:1.18.2-9.cm2
alpine 3.18perl-cryptx0.079-r0
alpine 3.19perl-cryptx0.079-r0
alpine 3.20perl-cryptx0.079-r0
alpine 3.21perl-cryptx0.079-r0
alpine 3.22perl-cryptx0.079-r0
alpine 3.23perl-cryptx0.079-r0
alpine 3.24perl-cryptx0.079-r0
alpine edgeperl-cryptx0.079-r0
debian 10libtomcryptno fix listed
debian 11libtomcrypt1.18.2-3
Show all 21 entries from 21 sources
SourcePackageFixed in
Azure Linux 3.0libtomcrypt0:1.18.2-9.azl3
CBL-Mariner 2.0libtomcrypt0:1.18.2-9.cm2
alpine 3.18perl-cryptx0.079-r0
alpine 3.19perl-cryptx0.079-r0
alpine 3.20perl-cryptx0.079-r0
alpine 3.21perl-cryptx0.079-r0
alpine 3.22perl-cryptx0.079-r0
alpine 3.23perl-cryptx0.079-r0
alpine 3.24perl-cryptx0.079-r0
alpine edgeperl-cryptx0.079-r0
debian 10libtomcryptno fix listed
debian 11libtomcrypt1.18.2-3
debian 12libtomcrypt1.18.2-3
debian 13libtomcrypt1.18.2-3
debian 14libtomcrypt1.18.2-3
debian 8libtomcrypt1.17-6+deb8u1
debian 9libtomcryptno fix listed
echolibtomcrypt1.18.2-3
ubuntu 14.04-ESMlibtomcrypt1.17-5ubuntu0.1+esm1
ubuntu 16.04-ESMlibtomcrypt1.17-7ubuntu0.1+esm1
ubuntu 18.04-ESMlibtomcrypt1.18.1-1ubuntu0.1+esm1

References

All 12 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.