{"id":"CVE-2021-23158","aliases":["CVE-2021-23158"],"related":[],"kind":"vulnerability","state":"published","title":"A flaw was found in htmldoc in v1.9.12.","summary":"A flaw was found in htmldoc in v1.9.12. Double-free in function pspdf_export(),in ps-pdf.cxx may result in a write-what-where condition, allowing an attacker to execute arbitrary code and denial of service.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A flaw was found in htmldoc in v1.9.12. Double-free in function pspdf_export(),in ps-pdf.cxx may result in a write-what-where condition, allowing an attacker to execute arbitrary code and denial of service.","source":"cvelist"},{"lang":"es","text":"Se ha encontrado un fallo en htmldoc en versión 1.9.12. Una doble liberación en la función pspdf_export(), en el archivo ps-pdf.cxx puede resultar en una condición de escritura en cualquier lugar, permitiendo a un atacante ejecutar código arbitrario y denegación de servicio","source":"nvd"}],"published":"2022-03-16T14:12:28.000Z","modified":"2026-06-17T03:38:21.357Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-415"],"affected":[{"ranges":[{"version":"Affects  v1.9.12 and before.","status":"affected"}],"product":"htmldoc","source":"cvelist"},{"ranges":[{"status":"affected","version":"1.9.12"}],"vendor":"htmldoc_project","product":"htmldoc","cpe":"cpe:2.3:a:htmldoc_project:htmldoc:1.9.12:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/michaelrsweet/htmldoc/issues/414","tags":["exploit","issue-tracking","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1967018","tags":["issue-tracking","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/michaelrsweet/htmldoc/commit/369b2ea1fd0d0537ba707f20a2f047b6afd2fbdc","tags":["patch","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"redhat","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-23158","url":"https://www.cve.org/CVERecord?id=CVE-2021-23158","licence":"CVE Terms of Use","modified":"2024-08-03T18:58:26.369Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-23158","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23158","licence":"Public domain","modified":"2026-06-17T03:38:21.357Z"}],"updatedAt":"2026-11-25T22:58:07.199Z","epss":{"score":0.02436,"percentile":0.84727,"date":"2026-12-01T12:00:22.000Z"}}