Name of the Vulnerable Software and Affected Versions:
HTMLDOC versions prior to 1.9.19
Description:
The issue is related to an out-of-bounds write in the `parse paragraph` function in `ps-pdf.cxx` due to an attempt to strip leading whitespace from a whitespace-only node. This flaw can lead to a security risk.
Recommendations:
For versions prior to 1.9.19, update to version 1.9.19 or later to resolve the issue. As a temporary workaround, consider restricting the use of the `parse paragraph` function in `ps-pdf.cxx` until a patch is available.