---
title: "CVE-2022-2869"
canonical_url: "https://pkgseek.com/security/CVE-2022-2869"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2022-2869

libtiff's tiffcrop tool has a uint32_t underflow which leads to out of bounds read and write in the extractContigSamples8bits routine. An attacker who supplies a crafted file to tiffcrop could trigger this flaw, most likely by tricking a user into opening the crafted file with tiffcrop. Triggering this flaw could cause a crash or potentially further exploitation.

CVE-2022-2869 is rated MEDIUM (5.5), with 12 indexed affected package builds across 2 distributions.

- **Severity / Score**: MEDIUM (5.5)
- **Affected builds**: 12
- **Affected distros**: 2
- **Distros with fixed_in**: Oracle Linux, Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Oracle Linux | 8 | libtiff | 4.0.9-23.el8 | 4.0.9-26.el8_7 |
| Oracle Linux | 8 | libtiff-devel | 4.0.9-23.el8 | 4.0.9-26.el8_7 |
| Ubuntu | focal | libtiff5 | 4.1.0+git191117-2build1 | 4.1.0+git191117-2ubuntu0.20.04.6 |
| Ubuntu | focal | libtiff5-dev | 4.1.0+git191117-2build1 | 4.1.0+git191117-2ubuntu0.20.04.6 |
| Ubuntu | focal | libtiff-dev | 4.1.0+git191117-2build1 | 4.1.0+git191117-2ubuntu0.20.04.6 |
| Ubuntu | focal | libtiff-doc | 4.1.0+git191117-2build1 | 4.1.0+git191117-2ubuntu0.20.04.6 |
| Ubuntu | focal | libtiffxx5 | 4.1.0+git191117-2build1 | 4.1.0+git191117-2ubuntu0.20.04.6 |
| Ubuntu | jammy | libtiff5 | 4.3.0-6 | 4.3.0-6ubuntu0.2 |
| Ubuntu | jammy | libtiff5-dev | 4.3.0-6 | 4.3.0-6ubuntu0.2 |
| Ubuntu | jammy | libtiff-dev | 4.3.0-6 | 4.3.0-6ubuntu0.2 |
| Ubuntu | jammy | libtiff-doc | 4.3.0-6 | 4.3.0-6ubuntu0.2 |
| Ubuntu | jammy | libtiffxx5 | 4.3.0-6 | 4.3.0-6ubuntu0.2 |
