CVE-2022-3970: LibTIFF tif_getimage.c TIFFReadRGBATileExt integer overflow

Published Nov 13, 2022
·
Updated

A vulnerability was found in LibTIFF. It has been classified as critical. This affects the function TIFFReadRGBATileExt of the file libtiff/tifgetimage.c. The manipulation leads to integer overflow. It is possible to initiate the attack remotely.

References: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=53137 https://gitlab.com/libtiff/libtiff/-/commit/227500897dfb07fb7d27f7aa570050e62617e3be

Other sources

A vulnerability was found in LibTIFF. It has been classified as critical. This affects the function TIFFReadRGBATileExt of the file libtiff/tifgetimage.c. The manipulation leads to integer overflow. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used. The name of the patch is 227500897dfb07fb7d27f7aa570050e62617e3be. It is recommended to apply a patch to fix this issue. The identifier VDB-213549 was assigned to this vulnerability.

Launchpad

Accessibility. A privacy issue was addressed with improved private data redaction for log entries.

Apple

Accounts. A privacy issue was addressed with improved private data redaction for log entries.

Apple

AMD. A race condition was addressed with improved state handling.

Apple

Apple Neural Engine. The issue was addressed with improved memory handling.

Apple

Credit

found by OSS-Fuzz, Nick Brook, Kirin@@Pwnrin, pattern-f@@pattern_F_(Ant Security Light), Mohamed GHANNAM@@_simo36, Wojciech Regula(SecuRing), Kirin@@Pwnrin(SecuRing), (SecuRing), Zweig(Kunlun Lab), 香农的三蹦子(Pangu Lab), an anonymous researcher, Pan ZhenPeng@@Peterpan0927(STAR Labs SG Pte), Peter Nguyễn Vũ Hoàng@@peternguyen14(STAR Labs SG Pte), Certik Skyfall Team, Valentin Pashkov(Kaspersky), Mikhail Vinogradov(Kaspersky), Georgy Kucherin@@kucher1n(Kaspersky), Leonid Bezvershenko@@bzvr_(Kaspersky), (Kaspersky), Boris Larin@@oct0xor(Kaspersky), Kaitao Xie(Alibaba Group), Xiaolong Bai(Alibaba Group), Certik Skyfall Team(Ant Security Light), Sei K., Zhipeng Huo@@R3dF09(Tencent Security Xuanwu Lab), Noah Roskin-Frazee, Thijs Alkemade(Computest Sector 7), Adam M., Johan Carlsson (joaxcar), Hritvik Taneja, Jason Kim, Jie Jeff Xu, Stephan van Schaik, Daniel Genkin, Yuval Yarom, Narendra Bhati (twitter.com/imnarendrabhati)(Suma Soft Pvt), Pune - India(TU Wien), Valentino Dalla Valle(TU Wien), Pedro Bernardo(TU Wien), Marco Squarcina(TU Wien), (TU Wien), Lorenzo Veronese(TU Wien), Pune - India, Yuhao Hu, Jiming Wang, Jikai Ren, Anonymous(Trend Micro Zero Day Initiative), Francisco Alonso@@revskills, Junsung Lee, 이준성(Junsung Lee)(Cross Republic), Apple, YeongHyeon Choi@@hyeon101010, Mickey Jin@@patch1t, Gergely Kalman@@gergely_kalman, Erhad Husovic, CVE-2023-28319, CVE-2023-28320, CVE-2023-28321, CVE-2023-28322, Bool(YunShangHuaAn), Arsenii Kostromin (0x3c3e), Taavi Eomäe(Zone Media O), Mickey Jin@@patch1t(Trend Micro Zero Day Initiative), (Trend Micro Zero Day Initiative), Michael DePlante@@izobashi(Trend Micro Zero Day Initiative), CVE-2023-1916, Jonathan Bar Or(Microsoft), Emanuele Cozzi(Microsoft), (Microsoft), Michael Pearse(Microsoft), Csaba Fitzl@@theevilbit(Offensive Security), Sandipan Roy, James Duffy (mangoSecure), Michael Cowell, David Hoyt(Hoyt LLC), Wenchao Li(Hangzhou Orange Shield Information Technology Co), Xiaolong Bai(Hangzhou Orange Shield Information Technology Co), Ltd., CVE-2023-1801, Matthew Loewen, CVE-2023-2426, CVE-2023-2609, CVE-2023-2610, Yiğit Can YILMAZ@@yilmazcanyigit, Pr, Yishu Wang, ABC Research s.r.o.

Affected Software

12 affected componentsFixes available
debian/tiff<=4.4.0-5, <=4.2.0-1, <=4.2.0-1+deb11u1
debian/tiff
4.2.0-1+deb11u54.5.0-6+deb12u14.5.1+git230720-5
Apple macOS Ventura<13.5
13.5
LibTIFF libtiff<4.5.0
NetApp Active Iq Unified Manager Vmware Vsphere
Debian Debian Linux=10.0
Apple Safari<16.5.1
Apple iPadOS<16.6
Apple iPhone OS<16.6
Apple macOS<13.5
Apple iOS<16.6
16.6
Apple iPadOS<16.6
16.6

Event History

Nov 13, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Nov 28, 2022
Data Sourced
via Red Hat·11:13 AM
DescriptionSeverityAffected Software
Jul 24, 2023
Data Sourced
via Apple·12:00 AM
DescriptionWeaknessAffected Software
Updated
via Apple·12:00 AM
DescriptionWeakness
Updated
via Apple·12:00 AM
DescriptionWeaknessAffected Software
Jan 12, 2024
Data Sourced
via Launchpad·12:11 AM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·03:40 AM
RemedyDescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2022-3970?

CVE-2022-3970 is a critical vulnerability found in LibTIFF that allows for remote code execution through integer overflow.

2

How severe is CVE-2022-3970?

CVE-2022-3970 has a severity rating of 8.8 (high).

3

Can CVE-2022-3970 be exploited remotely?

Yes, CVE-2022-3970 can be exploited remotely.

4

Which software versions are affected by CVE-2022-3970?

The affected software versions of CVE-2022-3970 include tiff 4.0.9-5ubuntu0.9, tiff 4.1.0+, tiff 4.3.0-6ubuntu0.3, tiff 4.4.0-4ubuntu3.2, tiff 4.0.3-7ubuntu0.11+, tiff 4.5.0, tiff 4.4.0-6, tiff 4.0.6-1ubuntu0.8+, and tiff 4.4.0-5 to 4.2.0-1+deb11u1.

5

How can I fix CVE-2022-3970?

To fix CVE-2022-3970, upgrade to the latest version of tiff as recommended by your operating system or distribution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203