CVE-2024-45508

Source
https://cve.org/CVERecord?id=CVE-2024-45508
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-45508.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-45508
Downstream
DEBIAN (1)
MGASA (1)
openSUSE (4)
UBUNTU (1)
Related
Published
2024-09-01T00:00:00Z
Modified
2026-08-12T15:15:33Z
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 before 1.9.19 has an out-of-bounds write in parse_paragraph in ps-pdf.cxx because of an attempt to strip leading whitespace from a whitespace-only node.

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

Affected packages

Git / github.com/michaelrsweet/htmldoc

Affected ranges

Type
GIT
Repo
https://github.com/michaelrsweet/htmldoc
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:htmldoc_project:htmldoc:*:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "fixed":  "1.9.19"
        }
    ],
    "source":  [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

v1.*
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

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-45508.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "68782867560060017259724923564816750929",
                "160264590626436307499930712334009916347",
                "300369049026148807027730437905144355335",
                "27365475782180572492597347525659984954"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2024-45508-01e0d9cc",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/michaelrsweet/htmldoc/commit/2d5b2ab9ddbf2aee2209010cebc11efdd1cab6e2",
        "target":  {
            "file":  "htmldoc/ps-pdf.cxx"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "441327441782029693950174389595358123",
            "length":  14220
        },
        "id":  "CVE-2024-45508-231704bb",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/michaelrsweet/htmldoc/commit/2d5b2ab9ddbf2aee2209010cebc11efdd1cab6e2",
        "target":  {
            "file":  "htmldoc/ps-pdf.cxx",
            "function":  "parse_paragraph"
        }
    }
]
vanir_signatures_modified
"2026-08-12T15:15:33Z"