CVE-2022-0534

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-0534
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-0534.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-0534
Downstream
Related
Published
2022-02-09T23:15:16Z
Modified
2025-10-15T13:32:45.775499Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
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).

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.12
v1.9.13
v1.9.14
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

[
    {
        "id": "CVE-2022-0534-04cbff3a",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Function",
        "target": {
            "file": "htmldoc/image.cxx",
            "function": "gif_read_image"
        },
        "digest": {
            "function_hash": "61006888649969542788776187617613035012",
            "length": 1018.0
        },
        "source": "https://github.com/michaelrsweet/htmldoc/commit/312f0f9c12f26fbe015cd0e6cefa40e4b99017d9"
    },
    {
        "id": "CVE-2022-0534-50a64bb0",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Line",
        "target": {
            "file": "htmldoc/image.cxx"
        },
        "digest": {
            "line_hashes": [
                "217608819493624789691786009379105025882",
                "39718001466982375851625521278008146146",
                "220843239006393782119396818274077327800",
                "135412956098730307979935368414269789938",
                "279047646562669804342462782780734892588",
                "40987235627613882659394359311630063746",
                "323702403332425694384612584592530196892"
            ],
            "threshold": 0.9
        },
        "source": "https://github.com/michaelrsweet/htmldoc/commit/312f0f9c12f26fbe015cd0e6cefa40e4b99017d9"
    }
]