CVE-2004-1307: Buffer Overflow

Published Dec 21, 2004
·
Updated

Flaw bug created to hold information about an old flaw we knew something about. For more details see the MITRE CVE description.

Other sources

Integer overflow in the TIFFFetchStripThing function in tifdirread.c for libtiff 3.6.1 allows remote attackers to execute arbitrary code via a TIFF file with the STRIPOFFSETS flag and a large number of strips, which causes a zero byte buffer to be allocated and leads to a heap-based buffer overflow.

Affected Software

72 affected componentsFixes available
Avaya Call Management System Server=8.0
Avaya Call Management System Server=9.0
Avaya Call Management System Server=11.0
Avaya Call Management System Server=12.0
Avaya Call Management System Server=13.0
Avaya Cvlan
Avaya Integrated Management
Avaya Interactive Response
Avaya Interactive Response=1.2.1
Avaya Interactive Response=1.3
Avaya Intuity Audix Lx
F5 Icontrol Service Manager=1.3
F5 Icontrol Service Manager=1.3.4
F5 Icontrol Service Manager=1.3.5
F5 Icontrol Service Manager=1.3.6
LibTIFF libtiff=3.4
LibTIFF libtiff=3.5.1
LibTIFF libtiff=3.5.2
LibTIFF libtiff=3.5.3
LibTIFF libtiff=3.5.4
LibTIFF libtiff=3.5.5
LibTIFF libtiff=3.5.7
LibTIFF libtiff=3.6.0
LibTIFF libtiff=3.6.1
LibTIFF libtiff=3.7.0
SGI ProPack=3.0
Conectiva Linux=9.0
Conectiva Linux=10.0
Avaya Mn100
Apple iOS and macOS=10.3
Apple iOS and macOS=10.3.1
Apple iOS and macOS=10.3.2
Apple iOS and macOS=10.3.3
Apple iOS and macOS=10.3.4
Apple iOS and macOS=10.3.5
Apple iOS and macOS=10.3.6
Apple iOS and macOS=10.3.7
Apple iOS and macOS=10.3.8
Apple iOS and macOS=10.3.9
Apple Mac OS X Server=10.3
Apple Mac OS X Server=10.3.1
Apple Mac OS X Server=10.3.2
Apple Mac OS X Server=10.3.3
Apple Mac OS X Server=10.3.4
Apple Mac OS X Server=10.3.5
Apple Mac OS X Server=10.3.6
Apple Mac OS X Server=10.3.7
Apple Mac OS X Server=10.3.8
Apple Mac OS X Server=10.3.9
Avaya Modular Messaging Message Storage Server=1.1
Avaya Modular Messaging Message Storage Server=2.0
Gentoo Linux
Mandrakesoft Mandrake Linux=10.0
Mandrakesoft Mandrake Linux=10.0
Mandrakesoft Mandrake Linux=10.1
Mandrakesoft Mandrake Linux=10.1
Mandrakesoft Mandrake Linux Corporate Server=3.0
Mandrakesoft Mandrake Linux Corporate Server=3.0
SCO UnixWare=7.1.4
Sun Solaris=7.0
Sun Solaris=8.0
Sun Solaris=9.0
Sun Solaris=9.0
Sun Solaris=9.0-x86_update_2
Sun Solaris=10.0
Sun Solaris=10.0
Sun SunOS=5.7
Sun SunOS=5.8
debian/tiff<3.7.0
3.7.0
debian/tiff<3.7.0
3.7.0
debian/tiff<3.7.0
3.7.0
debian/tiff
3.7.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 3.7.0

Event History

Dec 21, 2004
CVE Published
05:00 AM
Data Sourced
05:00 AM
DescriptionWeaknessAffected Software
Data Sourced
via NVD·05:00 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via OSV·05:00 AM
DescriptionAffected Software
May 4, 2005
CVE Published
via MITRE·04:00 AM
Data Sourced
via MITRE·04:00 AM
Description
CVE Published
via MITRE·08:00 AM
Aug 16, 2018
Data Sourced
via Red Hat·03:36 AM
DescriptionSeverityAffected Software
Oct 30, 2018
Data Sourced
04:26 PM
RemedySeverity

Frequently Asked Questions

1

What is the severity of CVE-2004-1307?

CVE-2004-1307 is considered a high severity vulnerability due to its potential to allow remote code execution.

2

How do I fix CVE-2004-1307?

To fix CVE-2004-1307, update the affected libtiff library to a version that addresses this vulnerability.

3

What causes CVE-2004-1307?

CVE-2004-1307 is caused by an integer overflow in the TIFFFetchStripThing function in libtiff, which leads to a heap-based buffer overflow.

4

Which software is affected by CVE-2004-1307?

CVE-2004-1307 affects libtiff version 3.6.1 and various other software that relies on this library, including certain Avaya and F5 products.

5

Can CVE-2004-1307 be exploited remotely?

Yes, CVE-2004-1307 can be exploited remotely via specially crafted TIFF files.

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