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.
[
{
"source": "https://github.com/michaelrsweet/htmldoc/commit/6e8a95561988500b5b5ae4861b3b0cbf4fba517f",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "htmldoc/ps-pdf.cxx"
},
"id": "CVE-2021-23165-3ed1c48a",
"digest": {
"threshold": 0.9,
"line_hashes": [
"29899245667637771670938822648097839685",
"137215429918228258668544994580327484211",
"9749687041195673538917204860068654032",
"231466899035723946641679043138322513824"
]
},
"signature_type": "Line"
},
{
"source": "https://github.com/michaelrsweet/htmldoc/commit/6e8a95561988500b5b5ae4861b3b0cbf4fba517f",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "pspdf_prepare_outpages",
"file": "htmldoc/ps-pdf.cxx"
},
"id": "CVE-2021-23165-5a3fe8cf",
"digest": {
"length": 2554.0,
"function_hash": "317143762402956248537184830359378314068"
},
"signature_type": "Function"
}
]