CVE-2021-23165

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-23165
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-23165.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-23165
Downstream
Related
Published
2022-03-16T15:15:10Z
Modified
2025-10-21T06:02:01.534114Z
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

A flaw was found in htmldoc before v1.9.12. Heap buffer overflow in pspdfprepareoutpages(), in ps-pdf.cxx may lead to execute arbitrary code and denial of service.

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

Affected versions

v1.*

v1.8.30
v1.9
v1.9.1
v1.9.10
v1.9.11
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

[
    {
        "source": "https://github.com/michaelrsweet/htmldoc/commit/6e8a95561988500b5b5ae4861b3b0cbf4fba517f",
        "signature_version": "v1",
        "deprecated": false,
        "target": {
            "file": "htmldoc/ps-pdf.cxx"
        },
        "id": "CVE-2021-23165-3ed1c48a",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "29899245667637771670938822648097839685",
                "137215429918228258668544994580327484211",
                "9749687041195673538917204860068654032",
                "231466899035723946641679043138322513824"
            ]
        },
        "signature_type": "Line"
    },
    {
        "source": "https://github.com/michaelrsweet/htmldoc/commit/6e8a95561988500b5b5ae4861b3b0cbf4fba517f",
        "signature_version": "v1",
        "deprecated": false,
        "target": {
            "function": "pspdf_prepare_outpages",
            "file": "htmldoc/ps-pdf.cxx"
        },
        "id": "CVE-2021-23165-5a3fe8cf",
        "digest": {
            "length": 2554.0,
            "function_hash": "317143762402956248537184830359378314068"
        },
        "signature_type": "Function"
    }
]