{"id":"CVE-2021-23158","details":"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.","modified":"2026-05-18T17:51:31.720952Z","published":"2022-03-16T15:15:10.100Z","references":[{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1967018"},{"type":"REPORT","url":"https://github.com/michaelrsweet/htmldoc/issues/414"},{"type":"FIX","url":"https://github.com/michaelrsweet/htmldoc/commit/369b2ea1fd0d0537ba707f20a2f047b6afd2fbdc"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/michaelrsweet/htmldoc","events":[{"introduced":"0"},{"last_affected":"df5d3010151a506c5ca138548aac02b37fb421f9"}],"database_specific":{"source":"CPE_FIELD","cpe":"cpe:2.3:a:htmldoc_project:htmldoc:1.9.12:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"1.9.12"}]}}],"versions":["v1.9.12","v1.9.11","v1.9.10","v1.9.9","v1.9.8","v1.9.7","v1.9.6","v1.9.5","v1.9.4","v1.9.3","v1.9.2","v1.9.1","v1.9","v1.8.30"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-23158.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}