First published: Tue Aug 16 2022(Updated: )
In libtiff's tiffcrop utility (tools/tiffcrop.c), a crafted file could supply an invalid crop_width and/or crop_length, and since these values were computed prior to the sanity check, invalid values could later cause out-of-bounds reads in reverseSamples16bits(). References: 1. <a href="https://gitlab.com/libtiff/libtiff/-/issues/335">https://gitlab.com/libtiff/libtiff/-/issues/335</a> 2. <a href="https://gitlab.com/libtiff/libtiff/-/merge_requests/294/diffs?commit_id=b258ed69a485a9cfb299d9f060eb2a46c54e5903">https://gitlab.com/libtiff/libtiff/-/merge_requests/294/diffs?commit_id=b258ed69a485a9cfb299d9f060eb2a46c54e5903</a>
Credit: secalert@redhat.com 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-2868 is a vulnerability in libtiff's tiffcrop utility that allows for out of bounds read and can cause a crash if a crafted file is supplied to tiffcrop.
The severity of CVE-2022-2868 is medium with a CVSS score of 5.5.
CVE-2022-2868 affects libtiff versions up to and exclusive of 4.4.0.
To fix CVE-2022-2868 on Red Hat, update to libtiff version 4.4.0 or later.
To fix CVE-2022-2868 on Debian Linux, update to tiff version 4.1.0+git191117-2~deb10u8 or later.