Bug 2170146 (CVE-2023-0796) - CVE-2023-0796 libtiff: out-of-bounds read in extractContigSamplesShifted24bits() in tools/tiffcrop.c
Summary: CVE-2023-0796 libtiff: out-of-bounds read in extractContigSamplesShifted24bit...
Alias: CVE-2023-0796
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 2170147 2170148 2170149 2170150 2170585 2170586 2170587 2170588 2193350
Blocks: 2169674
TreeView+ depends on / blocked
Reported: 2023-02-15 19:12 UTC by Guilherme de Almeida Suckevicz
Modified: 2023-06-22 01:43 UTC (History)
18 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in tiffcrop, a program distributed by the libtiff package. A specially crafted tiff file can lead to an out-of-bounds read in the extractContigSamplesShifted24bits function in tools/tiffcrop.c, resulting in a Denial of Service and limited information disclosure.
Clone Of:
Last Closed: 2023-06-22 01:43:30 UTC

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2023:3711 0 None None None 2023-06-21 14:38:33 UTC

Description Guilherme de Almeida Suckevicz 2023-02-15 19:12:58 UTC
LibTIFF 4.4.0 has an out-of-bounds read in tiffcrop in tools/tiffcrop.c:3592, 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 afaabc3e.


Upstream patch:

Comment 1 Guilherme de Almeida Suckevicz 2023-02-15 19:13:29 UTC
Created iv tracking bugs for this issue:

Affects: fedora-all [bug 2170148]

Created libtiff tracking bugs for this issue:

Affects: fedora-all [bug 2170149]

Created mingw-libtiff tracking bugs for this issue:

Affects: fedora-all [bug 2170147]

Created tkimg tracking bugs for this issue:

Affects: fedora-all [bug 2170150]

Comment 3 errata-xmlrpc 2023-06-21 14:38:30 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2023:3711 https://access.redhat.com/errata/RHSA-2023:3711

Comment 4 Product Security DevOps Team 2023-06-22 01:43:27 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):


Note You need to log in before you can comment on or make changes to this bug.