CVE-2023-40745: Libtiff: integer overflow in tiffcp.c

Published Aug 28, 2023
·
Updated

LibTIFF is vulnerable to a denial of service, caused by an integer overflow in tiffcp.c. By persuading a victim to open a specially crafted tiff image file, a remote attacker could exploit this vulnerability to cause the application to crash.

Other sources

LibTIFF is vulnerable to an integer overflow. This flaw allows remote attackers to cause a denial of service (application crash) or possibly execute an arbitrary code via a crafted tiff image, which triggers a heap-based buffer overflow.

— NVD

Multiple potential integer overflow in tiffcp.c in libtiff <= 4.5.1 can allow remote attackers to cause a denial of service (application crash) or possibly execute an arbitrary code via a crafted tiff image which triggers a heap-based buffer overflow.

— Red Hat

Affected Software

12 affected componentsFixes available
IBM Cognos Analytics<=12.0.0-12.0.3
IBM Cognos Analytics<=11.2.0-11.2.4 FP4
LibTIFF libtiff<4.6.0
Fedoraproject Fedora
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
redhat/libtiff<4.6.0
4.6.0
debian/tiff
4.1.0+git191117-2~deb10u84.2.0-1+deb11u54.5.0-6+deb12u14.5.1+git230720-1
NetApp Active Iq Unified Manager Vmware Vsphere
debian/tiff<4.5.0-6+deb12u1
4.5.0-6+deb12u1
debian/tiff<4.5.1+git230720-1
4.5.1+git230720-1
debian/tiff<4.5.1+git230720-1
4.5.1+git230720-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/libtiff to a version that resolves this vulnerability.

    Fixed in 4.6.0
  2. Upgrade

    Upgrade debian/tiff to a version that resolves this vulnerability.

    Fixed in 4.1.0+git191117-2~deb10u8Fixed in 4.2.0-1+deb11u5Fixed in 4.5.0-6+deb12u1Fixed in 4.5.1+git230720-1
  3. Upgrade

    Upgrade debian/tiff to a version that resolves this vulnerability.

    Fixed in 4.5.0-6+deb12u1
  4. Upgrade

    Upgrade debian/tiff to a version that resolves this vulnerability.

    Fixed in 4.5.1+git230720-1

Event History

Aug 28, 2023
Data Sourced
08:46 AM
DescriptionSeverityAffected Software
Oct 5, 2023
CVE Published
via MITRE·06:55 PM
Data Sourced
06:55 PM
Weakness
Data Sourced
via OSV·06:55 PM
DescriptionSeverityWeakness
Oct 10, 2023
Updated
02:52 PM
Severity
Nov 30, 2023
Data Sourced
via Red Hat·10:36 AM
DescriptionSeverityAffected Software
Jan 21, 2024
Data Sourced
via NVD·01:56 AM
DescriptionSeverityWeaknessAffected Software
Updated
via NVD·01:56 AM
Affected Software
Jan 23, 2024
Data Sourced
via MITRE·02:16 AM
DescriptionSeverityWeakness
Apr 30, 2024
Updated
via NVD·03:15 PM
Affected Software
Sep 16, 2024
Updated
via NVD·05:15 PM
Affected Software
Dec 17, 2024
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Nov 26, 2026
Updated
via NVD·08:17 PM
Affected Software
Nov 27, 2026
Data Sourced
via OSV·09:47 AM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is CVE-2023-40745?

CVE-2023-40745 is a vulnerability in LibTIFF that allows remote attackers to cause a denial of service or possibly execute arbitrary code via a crafted tiff image.

2

How does CVE-2023-40745 affect LibTIFF?

CVE-2023-40745 affects LibTIFF versions up to but excluding version 4.6.0.

3

What is the severity level of CVE-2023-40745?

The severity level of CVE-2023-40745 is medium, with a CVSS score of 6.5.

4

How can I fix CVE-2023-40745?

To fix CVE-2023-40745, update LibTIFF to version 4.6.0 or later.

5

Where can I find more information about CVE-2023-40745?

You can find more information about CVE-2023-40745 in the following references: [Bugzilla Red Hat - ID 2224974](https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=2224974), [Bugzilla Red Hat - ID 2237199](https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=2237199), [Bugzilla Red Hat - ID 2237200](https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=2237200).

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