CVE-2024-46478

Source
https://cve.org/CVERecord?id=CVE-2024-46478
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-46478.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-46478
Downstream
Related
Published
2024-10-24T00:00:00Z
Modified
2026-07-15T01:27:28.467963Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

HTMLDOC v1.9.18 contains a buffer overflow in parse_pre function,ps-pdf.cxx:5681.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46478.json",
    "cna_assigner": "mitre"
}
References

Affected packages

Git / github.com/michaelrsweet/htmldoc

Affected ranges

Type
GIT
Repo
https://github.com/michaelrsweet/htmldoc
Events
Database specific
{
    "cpe": "cpe:2.3:a:htmldoc_project:htmldoc:1.9.18:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "1.9.18"
        },
        {
            "last_affected": "1.9.18"
        }
    ],
    "source": [
        "CPE_STRING",
        "REFERENCES"
    ]
}

Affected versions

1.*
1.9.18
v1.*
v1.9.18

Database specific

vanir_signatures_modified
"2026-07-15T01:27:28Z"
source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-46478.json"
vanir_signatures
[
    {
        "id": "CVE-2024-46478-5dbed0e8",
        "digest": {
            "function_hash": "122926634146956601626066319180403501459",
            "length": 4248.0
        },
        "source": "https://github.com/michaelrsweet/htmldoc/commit/683bec548e642cf4a17e003fb34f6bbaf2d27b98",
        "signature_version": "v1",
        "deprecated": false,
        "signature_type": "Function",
        "target": {
            "function": "parse_pre",
            "file": "htmldoc/ps-pdf.cxx"
        }
    },
    {
        "id": "CVE-2024-46478-763e035a",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "107845304806009316433213032521932192161",
                "13566477071471835304927988208914450037",
                "237815688042784389105066316423741909195",
                "233936899042131906291059082876210537102",
                "43744723611950485096713286631905954680",
                "338090905609908905498511584388391533610",
                "97889220229450997694779195131473391159",
                "304604292635540183307891501109031754203",
                "291200970386708931740224756452707288931",
                "317332055914834067054192712695264271436",
                "90535726087715507279468299288569175001"
            ]
        },
        "source": "https://github.com/michaelrsweet/htmldoc/commit/683bec548e642cf4a17e003fb34f6bbaf2d27b98",
        "signature_version": "v1",
        "deprecated": false,
        "signature_type": "Line",
        "target": {
            "file": "htmldoc/ps-pdf.cxx"
        }
    }
]