CVE-2023-6228: Libtiff: heap-based buffer overflow in cpstriptotile() in tools/tiffcp.c
Noroxi assessment
Priority: Monitor (action score 13/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.39% (FIRST EPSS).
- Someone with local access to the system can trigger it. No account or password is required. A user must open a link or visit a page. No special conditions are required; it is repeatable.
- Fixed version: libtiff (AlmaLinux:8) 4.0.9-32.el8_10; libtiff-devel (AlmaLinux:8) 4.0.9-32.el8_10; libtiff-tools (AlmaLinux:8) 4.0.9-32.el8_10.
Low priority for now. Upgrade to libtiff (AlmaLinux:8) 4.0.9-32.el8_10; libtiff-devel (AlmaLinux:8) 4.0.9-32.el8_10; libtiff-tools (AlmaLinux:8) 4.0.9-32.el8_10 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
An issue was found in the tiffcp utility distributed by the libtiff package where a crafted TIFF file on processing may cause a heap-based buffer overflow leads to an application crash.
- Published
- Dec 18, 2023
- Updated
- Jun 17, 2026
- EPSS
- 0.3% · 34th percentile
- CWE
- CWE-787
Report tools
Action score
13
Monitor
Low priority for now.
- CVSS
- 13 / 40 · 3.3 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.3%
CNA vs NVD score
- NVD
- —
- CNA · redhat
- 3.3
- NVD has not scored this yet; the score shown is the CNA’s.
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| libtiff | libtiff | cpe:2.3:a:libtiff:libtiff |
| redhat | enterprise linux | cpe:2.3:o:redhat:enterprise_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- libtiff libtiffall versions
Versions reported by the vendor
Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.
Red Hat Red Hat Enterprise Linux 6
- all versionsunknown
Red Hat Red Hat Enterprise Linux 7
- all versionsunknown
- all versionsunknown
Red Hat Red Hat Enterprise Linux 8
- 0:4.0.9-32.el8_10 and laternot affected · rpm
- all versionsaffected
Red Hat Red Hat Enterprise Linux 9
- 0:4.4.0-12.el9 and laternot affected · rpm
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | libtiff | before 4.0.9-32.el8_10 | 4.0.9-32.el8_10 |
| AlmaLinux:8 | libtiff-devel | before 4.0.9-32.el8_10 | 4.0.9-32.el8_10 |
| AlmaLinux:8 | libtiff-tools | before 4.0.9-32.el8_10 | 4.0.9-32.el8_10 |
| AlmaLinux:9 | libtiff | before 4.4.0-12.el9 | 4.4.0-12.el9 |
| AlmaLinux:9 | libtiff-devel | before 4.4.0-12.el9 | 4.4.0-12.el9 |
| AlmaLinux:9 | libtiff-tools | before 4.4.0-12.el9 | 4.4.0-12.el9 |
| Debian:12 | tiff | from 0 | — |
| Debian:13 | tiff | before 4.7.0-1 | 4.7.0-1 |
| Red Hat:enterprise_linux:8::appstream | libtiff | before 0:4.0.9-32.el8_10 | 0:4.0.9-32.el8_10 |
| Red Hat:enterprise_linux:8::appstream | libtiff-debuginfo | before 0:4.0.9-32.el8_10 | 0:4.0.9-32.el8_10 |
| Red Hat:enterprise_linux:8::appstream | libtiff-debugsource | before 0:4.0.9-32.el8_10 | 0:4.0.9-32.el8_10 |
| Red Hat:enterprise_linux:8::appstream | libtiff-devel | before 0:4.0.9-32.el8_10 | 0:4.0.9-32.el8_10 |
| Red Hat:enterprise_linux:8::appstream | libtiff-tools-debuginfo | before 0:4.0.9-32.el8_10 | 0:4.0.9-32.el8_10 |
| Red Hat:enterprise_linux:8::crb | libtiff-tools | before 0:4.0.9-32.el8_10 | 0:4.0.9-32.el8_10 |
| Red Hat:enterprise_linux:9::appstream | libtiff | before 0:4.4.0-12.el9 | 0:4.4.0-12.el9 |
| Red Hat:enterprise_linux:9::appstream | libtiff-debuginfo | before 0:4.4.0-12.el9 | 0:4.4.0-12.el9 |
| Red Hat:enterprise_linux:9::appstream | libtiff-debugsource | before 0:4.4.0-12.el9 | 0:4.4.0-12.el9 |
| Red Hat:enterprise_linux:9::appstream | libtiff-devel | before 0:4.4.0-12.el9 | 0:4.4.0-12.el9 |
| Red Hat:enterprise_linux:9::appstream | libtiff-tools-debuginfo | before 0:4.4.0-12.el9 | 0:4.4.0-12.el9 |
| Red Hat:enterprise_linux:9::crb | libtiff-tools | before 0:4.4.0-12.el9 | 0:4.4.0-12.el9 |
| Rocky Linux:8 | libtiff | before 0:4.0.9-32.el8_10 | 0:4.0.9-32.el8_10 |
Same product
libtiff: all recordsOther highest-scoring records for the same primary product.
- CVE-2006-3459Multiple stack-based buffer overflows in the TIFF library (libtiff) before 3.8.2, as used in Adobe Reader 9.3.0 and other products, allow co46Plan
- CVE-2004-1308Integer overflow in (1) tif_dirread.c and (2) tif_fax3.c for libtiff 3.5.7 and 3.7.0 allows remote attackers to execute arbitrary code via a44Plan
- CVE-2018-12900Heap-based buffer overflow in the cpSeparateBufToContigBuf function in tiffcp.c in LibTIFF 3.9.3, 3.9.4, 3.9.5, 3.9.6, 3.9.7, 4.0.0beta7, 4.43Plan
Published before and after this one in the same product
- ← EarlierCVE-2023-3164Nov 2, 2023 · Heap-buffer-overflow in extractimagesection()22Monitor
- ← EarlierCVE-2023-6277Nov 24, 2023 · Libtiff: out-of-memory in tiffopen via a craft file27Monitor
- Later →CVE-2023-52355Jan 25, 2024 · Libtiff: tiffrasterscanlinesize64 produce too-big size and could cause oom31Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| almalinux:libtiff | 4.4.0-12.el9 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:libtiff-devel | 4.4.0-12.el9 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:libtiff-tools | 4.4.0-12.el9 · AlmaLinux:9 | Package registry (OSV) |
| debian:tiff | 4.7.0-1 · Debian:13 | Package registry (OSV) |
| red hat:libtiff | 0:4.4.0-12.el9 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:libtiff-debuginfo | 0:4.4.0-12.el9 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:libtiff-debugsource | 0:4.4.0-12.el9 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:libtiff-devel | 0:4.4.0-12.el9 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:libtiff-tools | 0:4.4.0-12.el9 · Red Hat:enterprise_linux:9::crb | Package registry (OSV) |
| red hat:libtiff-tools-debuginfo | 0:4.4.0-12.el9 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| rocky linux:libtiff | 0:4.0.9-32.el8_10 · Rocky Linux:8 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2023-5235538 days apartLibtiff: tiffrasterscanlinesize64 produce too-big size and could cause oom31Monitor
- CVE-2022-34526507 days apartA stack overflow was discovered in the _TIFFVGetField function of Tiffsplit v4.4.0.27Monitor
- CVE-2022-3597423 days apartLibTIFF 4.4.0 has an out-of-bounds write in _TIFFmemcpy in libtiff/tif_unix.c:346 when called from extractImageSection, tools/tiffcrop.c:68226Monitor
- CVE-2022-3598423 days apartLibTIFF 4.4.0 has an out-of-bounds write in extractContigSamplesShifted24bits in tools/tiffcrop.c:3604, allowing attackers to cause a denial26Monitor
- CVE-2022-3626423 days apartLibTIFF 4.4.0 has an out-of-bounds write in _TIFFmemset in libtiff/tif_unix.c:340 when called from processCropSelections, tools/tiffcrop.c:726Monitor
- CVE-2022-3627423 days apartLibTIFF 4.4.0 has an out-of-bounds write in _TIFFmemcpy in libtiff/tif_unix.c:346 when called from extractImageSection, tools/tiffcrop.c:68626Monitor
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- No account or password is required.
- A user must open a link or visit a page.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- low · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- Low
Weakness class (CWE)
CWE-787 · Out-of-bounds WriteCVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
nvd-secondary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (3 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.