{"id":"CVE-2021-23158","published":"2022-03-16T14:12:28Z","modified":"2024-08-03T18:58:26Z","title":"A flaw was found in htmldoc in v1.9.12","vendor":null,"product":null,"tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02436,"percentile":0.84668,"provenance":"source"},"cwes":[{"id":"CWE-415","name":"Double Free"}],"references":[{"url":"https://github.com/michaelrsweet/htmldoc/issues/414","tags":["x_refsource_MISC"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1967018","tags":["x_refsource_MISC"]},{"url":"https://github.com/michaelrsweet/htmldoc/commit/369b2ea1fd0d0537ba707f20a2f047b6afd2fbdc","tags":["x_refsource_MISC"]}],"priority":{"score":16.9,"factors":[{"name":"EPSS percentile","points":16.93}]},"affectedVersions":[{"vendor":"n/a","product":"htmldoc","versions":["Affects  v1.9.12 and before."]}],"euvd":{"id":"EUVD-2021-10270","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-michaelrsweet-htmldoc-cve-2021-40985","parents":[{"from":"CVE-2021-23180","to":"CVE-2021-23158","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["htmldoc/file.c"],"commits":["https://github.com/michaelrsweet/htmldoc/commit/369b2ea1fd0d0537ba707f20a2f047b6afd2fbdc","https://github.com/michaelrsweet/htmldoc/commit/19c582fb32eac74b57e155cffbb529377a9e751a"],"basis":"rarely changed file"}]}],"children":[{"from":"CVE-2021-23158","to":"CVE-2022-0137","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["htmldoc/image.cxx"],"commits":["https://github.com/michaelrsweet/htmldoc/commit/369b2ea1fd0d0537ba707f20a2f047b6afd2fbdc","https://github.com/michaelrsweet/htmldoc/commit/71fe87878c9cbc3db429f5e5c70f28e4b3d96e3b"],"basis":"shared function","functions":["image_load_gif"]}]},{"from":"CVE-2021-23158","to":"CVE-2022-27114","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["htmldoc/image.cxx"],"commits":["https://github.com/michaelrsweet/htmldoc/commit/369b2ea1fd0d0537ba707f20a2f047b6afd2fbdc","https://github.com/michaelrsweet/htmldoc/commit/31f780487e5ddc426888638786cdc47631687275"],"basis":"shared function","functions":["image_load_gif"]}]}]}}