{"id":"CVE-2024-46478","details":"HTMLDOC v1.9.18 contains a buffer overflow in parse_pre function,ps-pdf.cxx:5681.","modified":"2026-08-12T15:13:08.158449Z","published":"2024-10-24T00:00:00Z","related":["openSUSE-SU-2024:0349-1","openSUSE-SU-2024:14460-1","openSUSE-SU-2026:20219-1"],"database_specific":{"cna_assigner":"mitre","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46478.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46478.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-46478"},{"type":"REPORT","url":"https://github.com/michaelrsweet/htmldoc/issues/529"},{"type":"FIX","url":"https://github.com/michaelrsweet/htmldoc/commit/683bec548e642cf4a17e003fb34f6bbaf2d27b98"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/michaelrsweet/htmldoc","events":[{"introduced":"055acba8778702eb06ba3de8dd208efabccde92a"},{"fixed":"683bec548e642cf4a17e003fb34f6bbaf2d27b98"}],"database_specific":{"extracted_events":[{"introduced":"1.9.18"},{"last_affected":"1.9.18"}],"source":["CPE_STRING","REFERENCES"],"cpe":"cpe:2.3:a:htmldoc_project:htmldoc:1.9.18:*:*:*:*:*:*:*"}}],"versions":["1.9.18","v1.9.18"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-46478.json","vanir_signatures_modified":"2026-08-12T15:13:08Z","vanir_signatures":[{"deprecated":false,"digest":{"function_hash":"122926634146956601626066319180403501459","length":4248},"id":"CVE-2024-46478-5dbed0e8","signature_type":"Function","signature_version":"v1","source":"https://github.com/michaelrsweet/htmldoc/commit/683bec548e642cf4a17e003fb34f6bbaf2d27b98","target":{"file":"htmldoc/ps-pdf.cxx","function":"parse_pre"}},{"id":"CVE-2024-46478-763e035a","signature_type":"Line","signature_version":"v1","source":"https://github.com/michaelrsweet/htmldoc/commit/683bec548e642cf4a17e003fb34f6bbaf2d27b98","target":{"file":"htmldoc/ps-pdf.cxx"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["107845304806009316433213032521932192161","13566477071471835304927988208914450037","237815688042784389105066316423741909195","233936899042131906291059082876210537102","43744723611950485096713286631905954680","338090905609908905498511584388391533610","97889220229450997694779195131473391159","304604292635540183307891501109031754203","291200970386708931740224756452707288931","317332055914834067054192712695264271436","90535726087715507279468299288569175001"]}}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}