Stack-based buffer overflow in HTMLDOC - CVE-2019-19630
Published: December 9, 2019 / Updated: June 10, 2021
Vulnerability details
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 systemAffected software
Fedora
Ubuntu
htmldoc (Ubuntu package)
htmldoc
How to mitigate CVE-2019-19630
htmldoc (Ubuntu package) - addressed in versions 1.8.27-8ubuntu1.1, 1.9.2-1ubuntu0.1
htmldoc - addressed in versions 1.8.28-6.el7, 1.9.7-1.fc30, 1.9.7-1.fc31