Stack-based buffer overflow in HTMLDOC - CVE-2019-19630

 

Stack-based buffer overflow in HTMLDOC - CVE-2019-19630

Published: December 9, 2019 / Updated: June 10, 2021


Vulnerability identifier: #VU23464
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2019-19630
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Michael R Sweet
Affected software:
HTMLDOC

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists in the "hd_strlcpy()" function in "string.c" (when called from "render_contents" in "ps-pdf.cxx") due to a boundary error when processing a crafted HTML document. A remote unauthenticated attacker can trigger stack-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system

How to mitigate CVE-2019-19630

Install update from vendor's website.

Sources