CVE-2022-0534

Source
https://cve.org/CVERecord?id=CVE-2022-0534
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-0534.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-0534
Downstream
Related
Published
2022-02-09T22:03:41Z
Modified
2026-07-22T02:22:49.609990Z
Summary
[none]
Details

A vulnerability was found in htmldoc version 1.9.15 where the stack out-of-bounds read takes place in gifgetcode() and occurs when opening a malicious GIF file, which can result in a crash (segmentation fault).

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0534.json",
    "cna_assigner": "fedora",
    "cwe_ids": [
        "CWE-125"
    ]
}
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.15:*:*:*:*:*:*:*",
    "source": [
        "CPE_STRING",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "1.9.15"
        },
        {
            "last_affected": "1.9.15"
        }
    ]
}

Affected versions

1.*
1.9.15
htmldoc 1.*
htmldoc 1.9.15

Database specific

vanir_signatures
[
    {
        "digest": {
            "length": 1018.0,
            "function_hash": "61006888649969542788776187617613035012"
        },
        "signature_version": "v1",
        "source": "https://github.com/michaelrsweet/htmldoc/commit/312f0f9c12f26fbe015cd0e6cefa40e4b99017d9",
        "signature_type": "Function",
        "target": {
            "function": "gif_read_image",
            "file": "htmldoc/image.cxx"
        },
        "id": "CVE-2022-0534-04cbff3a",
        "deprecated": false
    },
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "217608819493624789691786009379105025882",
                "39718001466982375851625521278008146146",
                "220843239006393782119396818274077327800",
                "135412956098730307979935368414269789938",
                "279047646562669804342462782780734892588",
                "40987235627613882659394359311630063746",
                "323702403332425694384612584592530196892"
            ]
        },
        "signature_version": "v1",
        "source": "https://github.com/michaelrsweet/htmldoc/commit/312f0f9c12f26fbe015cd0e6cefa40e4b99017d9",
        "signature_type": "Line",
        "target": {
            "file": "htmldoc/image.cxx"
        },
        "id": "CVE-2022-0534-50a64bb0",
        "deprecated": false
    }
]
vanir_signatures_modified
"2026-07-22T02:22:49Z"
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-0534.json"