First published: Tue Aug 16 2022(Updated: )
In libtiff's tiffcrop utility, a uint32_t underflow results in an out-of-bounds read and write in extractContigSamples8bits and extractContigSamplesShifted32bits of tiffcrop.c. References: <a href="https://gitlab.com/libtiff/libtiff/-/issues/350">https://gitlab.com/libtiff/libtiff/-/issues/350</a> <a href="https://gitlab.com/libtiff/libtiff/-/issues/351">https://gitlab.com/libtiff/libtiff/-/issues/351</a> <a href="https://gitlab.com/libtiff/libtiff/-/merge_requests/294/diffs?commit_id=7d7bfa4416366ec64068ac389414241ed4730a54">https://gitlab.com/libtiff/libtiff/-/merge_requests/294/diffs?commit_id=7d7bfa4416366ec64068ac389414241ed4730a54</a>
Credit: secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
Libtiff Libtiff | <4.4.0 | |
Fedoraproject Fedora | =35 | |
Fedoraproject Fedora | =36 | |
Debian Debian Linux | =10.0 | |
Debian Debian Linux | =11.0 | |
debian/tiff | <=4.1.0+git191117-2~deb10u4 | 4.1.0+git191117-2~deb10u8 4.2.0-1+deb11u4 4.2.0-1+deb11u5 4.5.0-6+deb12u1 4.5.1+git230720-3 |
redhat/libtiff | <4.4.0 | 4.4.0 |
IBM Cognos Analytics | <=12.0.0-12.0.3 | |
IBM Cognos Analytics | <=11.2.0-11.2.4 FP4 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2022-2867 is a vulnerability in libtiff's tiffcrop utility that allows for a uint32_t underflow, leading to out-of-bounds read and write.
An attacker can exploit CVE-2022-2867 by supplying a crafted file to tiffcrop, potentially tricking a user into running tiffcrop on it with certain parameters.
CVE-2022-2867 has a severity level of medium (4) based on the CVSS scoring.
Versions up to and exclusive of 4.4.0 for libtiff on Red Hat, and versions up to and inclusive of 4.1.0+git191117-2~deb10u4 for tiff on Debian are affected.
To fix CVE-2022-2867, update to version 4.4.0 for libtiff on Red Hat, or to a version higher than 4.1.0+git191117-2~deb10u4 for tiff on Debian.