A flaw was found in htmldoc in v1.9.12 and prior. A stack buffer overflow in parse_table() in ps-pdf.cxx may lead to execute arbitrary code and denial of service.
[
{
"source": "https://github.com/michaelrsweet/htmldoc/commit/ba61a3ece382389ae4482c7027af8b32e8ab4cc8",
"target": {
"function": "render_table_row",
"file": "htmldoc/ps-pdf.cxx"
},
"digest": {
"function_hash": "286740561967303496883007309346580622876",
"length": 16179.0
},
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2021-23206-1b6a26db",
"signature_version": "v1"
},
{
"source": "https://github.com/michaelrsweet/htmldoc/commit/ba61a3ece382389ae4482c7027af8b32e8ab4cc8",
"target": {
"file": "htmldoc/ps-pdf.cxx"
},
"digest": {
"line_hashes": [
"226305219384265653921651652291527168498",
"312786812986221524017030466711465721759",
"248881942351859967399891898708216035900",
"100044695840884250015235649283980975188",
"67369235504030147037387646618481637029",
"68560888885934909608735818683816569441",
"283399597847895068512198141070330852352",
"207968872124558090440769507997069876452",
"202211541399609575394648521218735327191",
"111931546384935815270989048337050235836",
"91871316662392284632946802558202801936",
"40200726183932834868101819092894647972",
"26357264643605942196638892146108110582",
"47340553285007915119623372580896477598",
"114870920087860501124723412437940591453",
"218953146322284919093319144259412888686"
],
"threshold": 0.9
},
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2021-23206-779113e7",
"signature_version": "v1"
},
{
"source": "https://github.com/michaelrsweet/htmldoc/commit/ba61a3ece382389ae4482c7027af8b32e8ab4cc8",
"target": {
"function": "parse_table",
"file": "htmldoc/ps-pdf.cxx"
},
"digest": {
"function_hash": "233701428516035447414400569068903417021",
"length": 19153.0
},
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2021-23206-858b0bab",
"signature_version": "v1"
}
]