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-08-12T13:00:45Z
Summary
[none]
Details

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

Database specific
{
    "cna_assigner":  "mitre",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/28xxx/CVE-2022-28085.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.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

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-28085.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "25789124432837364923987592691643841617",
            "length":  1284
        },
        "id":  "CVE-2022-28085-322ea87c",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/michaelrsweet/htmldoc/commit/46c8ec2b9bccb8ccabff52d998c5eee77a228348",
        "target":  {
            "file":  "htmldoc/ps-pdf.cxx",
            "function":  "pdf_write_names"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "83231825606128046903467581598764065347",
                "119108905711847759334100117435727871152",
                "193643972328961041793432327525559741087"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2022-28085-7cc2c32c",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/michaelrsweet/htmldoc/commit/46c8ec2b9bccb8ccabff52d998c5eee77a228348",
        "target":  {
            "file":  "htmldoc/ps-pdf.cxx"
        }
    }
]
vanir_signatures_modified
"2026-08-12T13:00:45Z"