Out-of-bounds write in libtiff
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 2 fixed, 2 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-787 and the CVSS impact.
Summary
LibTIFF 4.4.0 has an out-of-bounds write in _TIFFmemset in libtiff/tif_unix.c:340 when called from processCropSelections, tools/tiffcrop.c:7619, allowing attackers to cause a denial-of-service via a crafted tiff file. For users that compile libtiff from sources, the fix is available with commit 236b7191.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| libtiff | libtiff | up to 4.4.0 | — | No fix listed | CNA |
- libtiff Vendorlibtiff Affected up to 4.4.0 Fixed in — No fix listed CNA
Remediation
Red Hat 1 advisory
- RHSA-2023:2340 Released 2023-05-09 · Red Hat rating Moderatelibtiff security update
- Red Hat Enterprise Linux AppStream (v. 9) libtiff-4.4.0-7.el9, libtiff-devel-4.4.0-7.el9
- Red Hat Enterprise Linux CRB (v. 9) libtiff-tools-4.4.0-7.el9
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2023:2340 |
| Red Hat Enterprise Linux CRB (v. 9) | Fixed | RHSA-2023:2340 |
Not affected: 1 product
- Red Hat Enterprise Linux 8
Timeline
- 2026-10-02 Threatist record created from CVE-2022-3626
- 2026-10-03 Alias added: GHSA-q8fq-52x5-p228
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-3626 · CVE Program
- CVE-2022-3626 · NVD
- FIRST EPSS
- GHSA-q8fq-52x5-p228 · GitHub Advisory Database · CC BY 4.0
- CVE-2022-3626 · 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