HTMLDOC v1.9.18 contains a buffer overflow in parsepre function,ps-pdf.cxx:5681.
HTMLDOC before 1.9.19 has an out-of-bounds write in parseparagraph in ps-pdf.cxx because of an attempt to strip leading whitespace from a whitespace-only node.
A flaw was discovered in htmodoc 1.9.12 in function parseparagraph in ps-pdf.cxx ,this flaw possibly allows possible code execution and a denial of service via a crafted file.
An Out of Bounds flaw was discovered in htmodoc 1.9.12 in function parsetree() in toc.cxx, this possibly leads to memory layout information leaking in the data. This might be used in a chain of vulnerability in order to reach code execution.
A heap buffer overflow in imagesetmask function of HTMLDOC before 1.9.15 allows an attacker to write outside the buffer boundaries.
Buffer Overflow vulnerability in writeheader in htmldoc through 1.9.11 allows attackers to casue a denial of service via /htmldoc/htmldoc/html.cxx:273.
Buffer overflow vulnerability in writenode in htmldoc through 1.9.11 allows attackers to cause a denial of service via htmldoc/htmldoc/html.cxx:588.
HTMLDoc v1.9.12 and below was discovered to contain a heap overflow via enode htmldoc/htmldoc/html.cxx:588.
HTMLDoc v1.9.15 was discovered to contain a heap overflow via (writeheader) /htmldoc/htmldoc/html.cxx:273.
Last updated 27 January 2025
A flaw was found in htmldoc commit 31f7804. A heap buffer overflow in the function pdfwritenames in ps-pdf.cxx may lead to arbitrary code execution and Denial of Service (DoS).
In HTMLDOC 1.9.14, an infinite loop in the gifreadlzw function can lead to a pointer arbitrarily pointing to heap memory and resulting in a buffer overflow.
A flaw was found in htmldoc in v1.9.12. Heap buffer overflow in rendertablerow(),in ps-pdf.cxx may lead to arbitrary code execution and denial of service.
Last updated 8 January 2025
A vulnerability was found in htmldoc version 1.9.15 where the stack out-of-bounds read takes place in gifgetcode() and occurs when opening a malicious GIF file, which can result in a crash (segmentation fault).
A stack-based buffer overflow in imageloadbmp() in HTMLDOC <= 1.9.13 results in remote code execution if the victim converts an HTML document linking to a crafted BMP file.
A stack-based buffer under-read in htmldoc before 1.9.12, allows attackers to cause a denial of service via a crafted BMP image to imageloadbmp.
A flaw was found in htmldoc in v1.9.12 and before. Null pointer dereference in fileextension(),in file.c may lead to execute arbitrary code and denial of service.
A flaw was found in htmldoc in v1.9.12 and prior. A stack buffer overflow in parsetable() in ps-pdf.cxx may lead to execute arbitrary code and denial of service.
A flaw was found in htmldoc in versions prior to 1.9.12. NULL pointer dereference in function imageloadjpeg(),in image.cxx may result in code execution and denial of service.
Reference: https://github.com/michaelrsweet/htmldoc/issues/415
Upstream patch: https://github.com/michaelrsweet/htmldoc/commit/369b2ea1fd0d0537ba707f20a2f047b6afd2fbdc
A flaw was found in htmldoc before v1.9.12. Heap buffer overflow in pspdfprepareoutpages(), in ps-pdf.cxx may lead to execute arbitrary code and denial of service.
A flaw was found in htmldoc in v1.9.12. Heap buffer overflow in pspdfpreparepage(),in ps-pdf.cxx may lead to execute arbitrary code and denial of service.
Integer overflow in the htmldoc 1.9.11 and before may allow attackers to execute arbitrary code and cause a denial of service that is similar to CVE-2017-9181.
HTMLDOC 1.9.7 allows a stack-based buffer overflow in the hdstrlcpy() function in string.c (when called from rendercontents in ps-pdf.cxx) via a crafted HTML document.
Buffer overflow in the setpagesize function in util.cxx in HTMLDOC 1.8.27 and earlier allows context-dependent attackers to execute arbitrary code via a long MEDIA SIZE comment. NOTE: it was later reported that there were additional vectors in htmllib.cxx and ps-pdf.cxx using an AFM font file with a long glyph name, but these vectors do not cross privilege boundaries.