{"id":"CVE-2022-28085","details":"A flaw was found in htmldoc commit 31f7804. A heap buffer overflow in the function pdf_write_names in ps-pdf.cxx may lead to arbitrary code execution and Denial of Service (DoS).","modified":"2026-08-12T13:00:45.264631Z","published":"2022-04-27T02:19:23Z","related":["openSUSE-SU-2024:12035-1"],"database_specific":{"cna_assigner":"mitre","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/28xxx/CVE-2022-28085.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/28xxx/CVE-2022-28085.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-28085"},{"type":"REPORT","url":"https://github.com/michaelrsweet/htmldoc/issues/480"},{"type":"FIX","url":"https://github.com/michaelrsweet/htmldoc/commit/46c8ec2b9bccb8ccabff52d998c5eee77a228348"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/michaelrsweet/htmldoc","events":[{"introduced":"0"},{"fixed":"8b15a4e4fc58f4dbbecb91c5ca256a5dde28b793"},{"fixed":"46c8ec2b9bccb8ccabff52d998c5eee77a228348"}],"database_specific":{"cpe":"cpe:2.3:a:htmldoc_project:htmldoc:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"1.9.16"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["v1.9.15","v1.9.14","v1.9.13","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/cve-osv-conversion/osv-output/CVE-2022-28085.json","vanir_signatures_modified":"2026-08-12T13:00:45Z","vanir_signatures":[{"target":{"file":"htmldoc/ps-pdf.cxx","function":"pdf_write_names"},"deprecated":false,"digest":{"function_hash":"25789124432837364923987592691643841617","length":1284},"id":"CVE-2022-28085-322ea87c","signature_type":"Function","signature_version":"v1","source":"https://github.com/michaelrsweet/htmldoc/commit/46c8ec2b9bccb8ccabff52d998c5eee77a228348"},{"signature_version":"v1","source":"https://github.com/michaelrsweet/htmldoc/commit/46c8ec2b9bccb8ccabff52d998c5eee77a228348","target":{"file":"htmldoc/ps-pdf.cxx"},"deprecated":false,"digest":{"line_hashes":["83231825606128046903467581598764065347","119108905711847759334100117435727871152","193643972328961041793432327525559741087"],"threshold":0.9},"id":"CVE-2022-28085-7cc2c32c","signature_type":"Line"}]}}],"schema_version":"1.9.0"}