{"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-03-13T05:44:53.484394Z","published":"2022-04-27T03:15:39.650Z","related":["openSUSE-SU-2024:12035-1"],"references":[{"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":{"versions":[{"introduced":"0"},{"fixed":"1.9.16"}]}}],"versions":["v1.8.30","v1.9","v1.9.1","v1.9.10","v1.9.11","v1.9.12","v1.9.13","v1.9.14","v1.9.15","v1.9.2","v1.9.3","v1.9.4","v1.9.5","v1.9.6","v1.9.7","v1.9.8","v1.9.9"],"database_specific":{"vanir_signatures":[{"id":"CVE-2022-28085-322ea87c","deprecated":false,"signature_version":"v1","source":"https://github.com/michaelrsweet/htmldoc/commit/46c8ec2b9bccb8ccabff52d998c5eee77a228348","digest":{"function_hash":"25789124432837364923987592691643841617","length":1284},"signature_type":"Function","target":{"function":"pdf_write_names","file":"htmldoc/ps-pdf.cxx"}},{"id":"CVE-2022-28085-7cc2c32c","deprecated":false,"signature_version":"v1","source":"https://github.com/michaelrsweet/htmldoc/commit/46c8ec2b9bccb8ccabff52d998c5eee77a228348","digest":{"threshold":0.9,"line_hashes":["83231825606128046903467581598764065347","119108905711847759334100117435727871152","193643972328961041793432327525559741087"]},"signature_type":"Line","target":{"file":"htmldoc/ps-pdf.cxx"}}],"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-28085.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}