CVE-2019-20509
libarchive: heap-based buffer overflow in archive_read_support_format_lha.c due to insufficient validation of UTF-16 input
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · November 26, 2019
Updated · June 27, 2026
Description
[REJECTED CVE] A vulnerability has been identified in Libarchive in archive_read_support_format_lha.c file. It does not ensure valid sizes for UTF-16 input, which allows remote attackers to cause a denial of service (heap-based buffer over-read and application crash) via a crafted LHA archive.
Statement
This CVE has been rejected by Upstream, because the vulnerability was introduced and fixed in the same version, so there is actually no released version with the vulnerable code: https://github.com/libarchive/libarchive/issues/1284#issuecomment-598381071
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CWE-125 · Out-of-bounds Read