Not ratedCVE-2004-1307

    LibTiff: Heap-Based Buffer Overflow (CVE-2004-1307)

    Published Sources: CVE.org

    What is affected, what to do

    Integer overflow in the TIFFFetchStripThing function in tif_dirread.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.

    The available sources name no fixed version. Check the vendor guidance in the references below.

    Affected
    • Avaya CMS Server eq 8.0..8.0
    • Avaya CMS Server eq 9.0..9.0
    • Avaya CMS Server eq 11.0..11.0
    • Avaya CMS Server eq 12.0..12.0
    • Avaya CMS Server eq 13.0..13.0
    • Avaya Interactive Response eq 1.2.1..1.2.1
    • Avaya Interactive Response eq 1.3..1.3
    • F5 iControl Service Manager eq 1.3..1.3
    • F5 iControl Service Manager eq 1.3.4..1.3.4
    • F5 iControl Service Manager eq 1.3.5..1.3.5
    • F5 iControl Service Manager eq 1.3.6..1.3.6
    • LibTiff eq 3.4..3.4
    • LibTiff eq 3.5.1..3.5.1
    • LibTiff eq 3.5.2..3.5.2
    • LibTiff eq 3.5.3..3.5.3
    • LibTiff eq 3.5.4..3.5.4
    • LibTiff eq 3.5.5..3.5.5
    • LibTiff eq 3.5.7..3.5.7
    • LibTiff eq 3.6.0..3.6.0
    • LibTiff eq 3.6.1..3.6.1
    • LibTiff eq 3.7.0..3.7.0
    • SGI ProPack eq 3.0..3.0
    • Conectiva Conectiva Linux prg graficos eq 9.0..9.0
    • Conectiva Conectiva Linux prg graficos eq 10.0..10.0
    • Apple Mac OS X eq 10.3..10.3
    • Apple Mac OS X eq 10.3.1..10.3.1
    • Apple Mac OS X eq 10.3.2..10.3.2
    • Apple Mac OS X eq 10.3.3..10.3.3
    • Apple Mac OS X eq 10.3.4..10.3.4
    • Apple Mac OS X eq 10.3.5..10.3.5
    • Apple Mac OS X eq 10.3.6..10.3.6
    • Apple Mac OS X eq 10.3.7..10.3.7
    • Apple Mac OS X eq 10.3.8..10.3.8
    • Apple Mac OS X eq 10.3.9..10.3.9
    • Apple Mac OS X Server eq 10.3..10.3
    • Apple Mac OS X Server eq 10.3.1..10.3.1
    • Apple Mac OS X Server eq 10.3.2..10.3.2
    • Apple Mac OS X Server eq 10.3.3..10.3.3
    • Apple Mac OS X Server eq 10.3.4..10.3.4
    • Apple Mac OS X Server eq 10.3.5..10.3.5
    • Apple Mac OS X Server eq 10.3.6..10.3.6
    • Apple Mac OS X Server eq 10.3.7..10.3.7
    • Apple Mac OS X Server eq 10.3.8..10.3.8
    • Apple Mac OS X Server eq 10.3.9..10.3.9
    • Avaya Modular Messaging Message Storage Server eq 1.1..1.1
    • Avaya Modular Messaging Message Storage Server eq 2.0..2.0
    • MandrakeSoft Mandrake Linux eq 10.0..10.0
    • MandrakeSoft Mandrake Linux eq 10.1..10.1
    • MandrakeSoft Mandrake Corporate Server eq 3.0..3.0
    • Sco Unixware eq 7.1.4..7.1.4
    • Sun Solaris eq 7.0..7.0
    • Sun Solaris eq 8.0..8.0
    • Sun Solaris eq 9.0..9.0
    • Sun Solaris eq 10.0..10.0
    • Sun SunOS eq 5.7..5.7
    • Sun SunOS eq 5.8..5.8

    Not sure whether and how you are affected? Ask a question about this vulnerability

    Metrics

    —

    Priority

    No value is available for this vulnerability.

    —

    CVSS v3

    No value is available for this vulnerability.

    6.3 %

    EPSS score

    Moderate — model estimates 1-10% exploitation likelihood.

    Source: FIRST EPSS, percentile 93.6

    Show all metrics
    Severity
    Not rated
    Priority (0–325)

    The priority score is a consolidated metric that condenses several individual signals into a single, action-guiding ranking: technical severity (CVSS), exploitation likelihood (EPSS), known-exploited status (KEV) and the context of the affected asset. The aim is to answer the only truly important question in vulnerability management: what first?

    Read in glossary
    70.09 Methodology
    Exploit maturity

    An exploit is code or a technique that specifically uses a concrete vulnerability to force unintended behaviour — such as executing code or escalating privileges. It is the tool that turns a theoretical flaw into a practical attack.

    Read in glossary
    no public PoC known
    EPSS score

    The EPSS score is the absolute model output for an individual vulnerability: the estimated probability of real-world exploitation within the next 30 days, expressed as a value between 0 and 1 (i.e. 0 % to 100 %). A score of 0.42 means „the model estimates a 42 % chance of real-world exploitation within 30 days“.

    Read in glossary
    6.3 %
    Moderate — model estimates 1-10% exploitation likelihood.
    EPSS percentile

    The EPSS percentile is the relative position of a vulnerability within all EPSS-scored CVEs, expressed as a value between 0 and 1. A percentile of 0.90 means „this CVE has a higher EPSS score than 90 % of all other scored CVEs“. Unlike the EPSS score, it is not a probability — but a positioning within a ranking.

    Read in glossary
    93.6
    Critical — this CVE ranks in the top fifth of all CVEs scored today (rank ≥ 80%).
    KEV status

    The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.

    Read in glossary
    —
    Published

    Detection rules

    No NEOSEC detection rule is available for this vulnerability yet.

    Classification under NIS2 and CRA

    Rule-based classification from exploitation status and severity. It does not replace a case-by-case assessment.

    NIS2

    NIS2 is EU Directive (EU) 2022/2555 to raise the level of cybersecurity across the Union. It substantially broadens obligations compared with the first NIS directive: more sectors, mandatory risk management, staged reporting duties and personal accountability of senior management.

    Read in glossary
    Handle the vulnerability in regular vulnerability handling under Art. 21(2)(e) NIS2.
    CRA

    The CRA is EU Regulation (EU) 2024/2847 setting horizontal cybersecurity requirements for „products with digital elements“ — from industrial controllers and software to connected consumer devices. For the first time manufacturers must ensure security across the entire product lifecycle, handle vulnerabilities and provide security updates.

    Read in glossary
    From 11.12.2027, Annex I Part II CRA requires manufacturers of affected products with digital elements to handle vulnerabilities without delay and provide security updates.
    ISO/IEC 27001

    ISO/IEC 27001 is the internationally leading standard for an information security management system (ISMS). It describes a risk-based, process-oriented framework to systematically plan, implement, review and improve information security.

    Read in glossary
    Control A.8.8, management of technical vulnerabilities: assess relevance to your systems, plan remediation and keep evidence.

    Description

    Integer overflow in the TIFFFetchStripThing function in tif_dirread.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.

    Source: cvelistv5, NVD (NIST)

    Affected products

    The following versions are affected. Older releases of the same product line are also vulnerable unless stated otherwise.

    Affected products
    Affected versionsFixed in
    avayacall_management_system_server
    • 13.0
    • 8.0
    • 12.0
    • 11.0
    • 9.0
    • —
    • —
    • —
    • —
    • —
    avayacvlan
    • —
    • —
    avayaintegrated_management
    • —
    • —
    avayainteractive_response
    • 1.3
    • —
    • 1.2.1
    • —
    • —
    • —
    avayaintuity_audix_lx
    • —
    • —
    avayamn100
    • —
    • —
    f5icontrol_service_manager
    • 1.3.4
    • 1.3.5
    • 1.3.6
    • 1.3
    • —
    • —
    • —
    • —
    libtifflibtiff
    • 3.5.5
    • 3.4
    • 3.7.0
    • 3.5.2
    • 3.6.1
    • 3.5.3
    • 3.6.0
    • 3.5.4
    • 3.5.1
    • 3.5.7
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    sgipropack
    • 3.0
    • —

    Vendors and products

    Affected operating systems

    Affected operating systems
    Linuxconectivalinux10.0
    Linuxconectivalinux9.0
    Linuxgentoolinux—
    Linuxmandrakesoftmandrake_linux10.0
    Linuxmandrakesoftmandrake_linux10.1
    Linuxmandrakesoftmandrake_linux_corporate_server3.0
    macOSapplemac_os_x10.3
    macOSapplemac_os_x10.3.1
    macOSapplemac_os_x10.3.2
    macOSapplemac_os_x10.3.3
    macOSapplemac_os_x10.3.4
    macOSapplemac_os_x10.3.5
    macOSapplemac_os_x10.3.6
    macOSapplemac_os_x10.3.7
    macOSapplemac_os_x10.3.8
    macOSapplemac_os_x10.3.9
    macOSapplemac_os_x_server10.3
    macOSapplemac_os_x_server10.3.1
    macOSapplemac_os_x_server10.3.2
    macOSapplemac_os_x_server10.3.3
    macOSapplemac_os_x_server10.3.4
    macOSapplemac_os_x_server10.3.5
    macOSapplemac_os_x_server10.3.6
    macOSapplemac_os_x_server10.3.7

    References & sources

    • us-cert.govTA05-136AThird-party advisory, x_refsource_CERT
    • kb.cert.orgVU#539110Third-party advisory, x_refsource_CERT-VN
    • sunsolve.sun.com201072Vendor advisory, x_refsource_SUNALERT
    • sunsolve.sun.com101677Vendor advisory, x_refsource_SUNALERT
    • idefense.com20041221 libtiff STRIPOFFSETS Integer Overflow VulnerabilityThird-party advisory, x_refsource_IDEFENSE
    • lists.apple.comAPPLE-SA-2005-05-03Vendor advisory, x_refsource_APPLE
    • oval.cisecurity.orgoval:org.mitre.oval:def:11175Vulnerability database, signature, x_refsource_OVAL
    Embed badge

    Show the severity and KEV status of this vulnerability on your site – with a link back here. The image is updated hourly.

    Badge preview for CVE-2004-1307
    <a href="https://intel.neosec.eu/en/cve/CVE-2004-1307"><img src="https://intel.neosec.eu/badge/cve/CVE-2004-1307.svg?lang=en" alt="CVE-2004-1307 – NEOSEC Intel" height="20"></a>