{"id":"CVE-2024-46478","details":"HTMLDOC v1.9.18 contains a buffer overflow in parse_pre function,ps-pdf.cxx:5681.","modified":"2026-03-12T02:33:13.494384Z","published":"2024-10-24T18:15:08.863Z","related":["MGASA-2024-0353","openSUSE-SU-2024:0349-1","openSUSE-SU-2024:14460-1","openSUSE-SU-2026:20219-1"],"references":[{"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":"0"},{"last_affected":"055acba8778702eb06ba3de8dd208efabccde92a"},{"fixed":"683bec548e642cf4a17e003fb34f6bbaf2d27b98"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"1.9.18"}]}}],"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.16","v1.9.17","v1.9.18","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":[{"signature_type":"Function","target":{"function":"parse_pre","file":"htmldoc/ps-pdf.cxx"},"source":"https://github.com/michaelrsweet/htmldoc/commit/683bec548e642cf4a17e003fb34f6bbaf2d27b98","digest":{"length":4248,"function_hash":"122926634146956601626066319180403501459"},"deprecated":false,"id":"CVE-2024-46478-5dbed0e8","signature_version":"v1"},{"signature_type":"Line","target":{"file":"htmldoc/ps-pdf.cxx"},"source":"https://github.com/michaelrsweet/htmldoc/commit/683bec548e642cf4a17e003fb34f6bbaf2d27b98","digest":{"line_hashes":["107845304806009316433213032521932192161","13566477071471835304927988208914450037","237815688042784389105066316423741909195","233936899042131906291059082876210537102","43744723611950485096713286631905954680","338090905609908905498511584388391533610","97889220229450997694779195131473391159","304604292635540183307891501109031754203","291200970386708931740224756452707288931","317332055914834067054192712695264271436","90535726087715507279468299288569175001"],"threshold":0.9},"deprecated":false,"id":"CVE-2024-46478-763e035a","signature_version":"v1"}],"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-46478.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"}]}