NULL pointer dereference in libtiff
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 4 fixed, 1 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-476.
Summary
Null source pointer passed as an argument to memcpy() function within TIFFReadDirectory() in tif_dirread.c in libtiff versions from 4.0 to 4.3.0 could lead to Denial of Service via crafted TIFF file. For users that compile libtiff from sources, a fix is available with commit 561599c.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| libtiff | libtiff | 4.0 – 4.3.0 | — | No fix listed | CNA |
- libtiff Vendorlibtiff Affected 4.0 – 4.3.0 Fixed in — No fix listed CNA
CPE configurations NVD · 6
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:libtiff:libtiff:*:*:*:*:*:*:*:* | 4.0.0 – 4.3.0 | Vulnerable | libtiff |
| cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* | 35 | Vulnerable | Fedoraproject |
| cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* | 10.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* | 11.0 | Vulnerable | Debian |
| cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | NetApp |
- cpe:2.3:a:libtiff:libtiff:*:*:*:*:*:*:*:* Versions 4.0.0 – 4.3.0 Vulnerable ·libtiff
- cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* Versions 35 Vulnerable ·Fedoraproject
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* Versions 11.0 Vulnerable ·Debian
- cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp
Remediation
Red Hat 2 advisories
- RHSA-2022:8194 Released 2022-11-15 · Red Hat rating Moderatelibtiff security update
- Red Hat CodeReady Linux Builder (v. 9) libtiff-tools-4.4.0-2.el9
- Red Hat Enterprise Linux AppStream (v. 9) libtiff-4.4.0-2.el9, libtiff-devel-4.4.0-2.el9
- RHSA-2022:7585 Released 2022-11-08 · Red Hat rating Moderatelibtiff security update
- Red Hat CodeReady Linux Builder (v. 8) libtiff-tools-4.0.9-23.el8
- Red Hat Enterprise Linux AppStream (v. 8) libtiff-4.0.9-23.el8, libtiff-devel-4.0.9-23.el8
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
libtiff — FEDORA-2022-df1df6debd
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2022-00480 NULL pointer dereference in libtiffPriority LOW 27
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat CodeReady Linux Builder (v. 8) | Fixed | RHSA-2022:7585 |
| Red Hat CodeReady Linux Builder (v. 9) | Fixed | RHSA-2022:8194 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2022:7585 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2022:8194 |
Not affected: 3 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
Timeline
- 2026-10-02 Threatist record created from CVE-2022-0562
- 2026-10-03 Alias added: GHSA-6ph5-gf8v-wvm9
References
More Libtiff vulnerabilities
- TI-2023-28739 Libtiff: segment fault in libtiff in tiffreadrgbatileext() leading to denial of service CVSS 3.1HIGH 7.5
- TI-2023-10746 libtiff 4.5.0 is vulnerable to Buffer Overflow via extractContigSamplesBytes() at /libtiff/tools/tiffcrop.c:3215. CVSS 3.1HIGH 8.8
- TI-2022-03639 LibTIFF tif_getimage.c TIFFReadRGBATileExt integer overflow CVSS 3.1HIGH 8.8
- TI-2023-05765 Libtiff: out-of-memory in tiffopen via a craft file CVSS 3.1MEDIUM 6.5
- TI-2022-03286 Out-of-bounds write in libtiff CVSS 3.1HIGH 7.7
- TI-2006-03352 Multiple stack-based buffer overflows in the TIFF library (libtiff) before 3.8.2, as used… CVSS 2.0HIGH 7.5
Sources
- CVE-2022-0562 · CVE Program
- CVE-2022-0562 · NVD
- FIRST EPSS
- GHSA-6ph5-gf8v-wvm9 · GitHub Advisory Database · CC BY 4.0
- CVE-2022-0562 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences