CVE-2022-28085

Source
https://cve.org/CVERecord?id=CVE-2022-28085
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-28085.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-28085
Downstream
Related
Published
2022-04-27T02:19:23Z
Modified
2026-07-08T23:46:27.589178Z
Summary
[none]
Details

A flaw was found in htmldoc commit 31f7804. A heap buffer overflow in the function pdfwritenames in ps-pdf.cxx may lead to arbitrary code execution and Denial of Service (DoS).

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/28xxx/CVE-2022-28085.json",
    "cna_assigner": "mitre"
}
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
{
    "cpe": "cpe:2.3:a:htmldoc_project:htmldoc:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.9.16"
        }
    ],
    "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.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
[
    {
        "digest": {
            "function_hash": "25789124432837364923987592691643841617",
            "length": 1284.0
        },
        "target": {
            "function": "pdf_write_names",
            "file": "htmldoc/ps-pdf.cxx"
        },
        "id": "CVE-2022-28085-322ea87c",
        "signature_version": "v1",
        "signature_type": "Function",
        "source": "https://github.com/michaelrsweet/htmldoc/commit/46c8ec2b9bccb8ccabff52d998c5eee77a228348",
        "deprecated": false
    },
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "83231825606128046903467581598764065347",
                "119108905711847759334100117435727871152",
                "193643972328961041793432327525559741087"
            ]
        },
        "target": {
            "file": "htmldoc/ps-pdf.cxx"
        },
        "id": "CVE-2022-28085-7cc2c32c",
        "signature_version": "v1",
        "signature_type": "Line",
        "source": "https://github.com/michaelrsweet/htmldoc/commit/46c8ec2b9bccb8ccabff52d998c5eee77a228348",
        "deprecated": false
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-28085.json"
vanir_signatures_modified
"2026-07-08T23:46:27Z"