CVE-2022-0561

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-0561
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-0561.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-0561
Downstream
Related
Published
2022-02-11T18:15:11Z
Modified
2025-10-14T19:00:09.679838Z
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

Null source pointer passed as an argument to memcpy() function within TIFFFetchStripThing() in tif_dirread.c in libtiff versions from 3.9.0 to 4.3.0 could lead to Denial of Service via crafted TIFF file. For users that compile libtiff from sources, the fix is available with commit eecb0712.

References

Affected packages

Git / gitlab.com/libtiff/libtiff

Affected ranges

Type
GIT
Repo
https://gitlab.com/libtiff/libtiff
Events
Type
GIT
Repo
https://gitlab.com/freedesktop-sdk/mirrors/gitlab/libtiff/libtiff
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

Other

Pre360
Release-
Release-3-7-0
Release-v3-5-
Release-v3-5-4
Release-v3-5-5
Release-v3-5-7
Release-v3-6-0
Release-v3-6-0beta2
Release-v3-6-1
Release-v3-7-0-alpha
Release-v3-7-0beta
Release-v3-7-0beta2
Release-v3-7-1
Release-v3-7-2
Release-v3-7-3
Release-v3-7-4
Release-v3-8-0
Release-v3-8-1
Release-v3-8-2
Release-v4-0-0
Release-v4-0-0alpha
Release-v4-0-0alpha4
Release-v4-0-0alpha5
Release-v4-0-0alpha6
Release-v4-0-0beta7
Release-v4-0-1
Release-v4-0-2
Release-v4-0-3
Release-v4-0-4
Release-v4-0-4beta
Release-v4-0-5
Release-v4-0-6
Release-v4-0-7
Release-v4-0-8
Release-v4-0-9

v3.*

v3.5.3
v3.5.4
v3.5.5
v3.5.7
v3.6.0
v3.6.0beta2
v3.6.1
v3.7.0
v3.7.0alpha
v3.7.0beta
v3.7.0beta2
v3.7.1
v3.7.2
v3.7.3
v3.7.4
v3.8.0
v3.8.1
v3.8.2
v3.9.0
v3.9.1
v3.9.2
v3.9.3
v3.9.4
v3.9.5
v3.9.6
v3.9.7

v4.*

v4.0.0
v4.0.0alpha
v4.0.0alpha4
v4.0.0alpha5
v4.0.0alpha6
v4.0.0beta7
v4.0.1
v4.0.10
v4.0.2
v4.0.3
v4.0.4
v4.0.4beta
v4.0.5
v4.0.6
v4.0.7
v4.0.8
v4.0.9
v4.1.0
v4.2.0
v4.3.0
v4.3.0rc1

Database specific

{
    "vanir_signatures": [
        {
            "signature_version": "v1",
            "signature_type": "Function",
            "target": {
                "file": "libtiff/tif_dirread.c",
                "function": "TIFFFetchStripThing"
            },
            "deprecated": false,
            "digest": {
                "length": 1259.0,
                "function_hash": "225260569226593337854214569939011471238"
            },
            "id": "CVE-2022-0561-89db7e88",
            "source": "https://gitlab.com/freedesktop-sdk/mirrors/gitlab/libtiff/libtiff@eecb0712f4c3a5b449f70c57988260a667ddbdef"
        },
        {
            "signature_version": "v1",
            "signature_type": "Line",
            "target": {
                "file": "libtiff/tif_dirread.c"
            },
            "deprecated": false,
            "digest": {
                "line_hashes": [
                    "80521516397946030531103059465007775525",
                    "227366162166277127987313849463608651928",
                    "227429221493257104158645547355081559985",
                    "161621442614744863726198903650384197476",
                    "281928727460335330136340000435100795434"
                ],
                "threshold": 0.9
            },
            "id": "CVE-2022-0561-8efdedfe",
            "source": "https://gitlab.com/freedesktop-sdk/mirrors/gitlab/libtiff/libtiff@eecb0712f4c3a5b449f70c57988260a667ddbdef"
        }
    ]
}