UnratedFix available
tiff — security advisory
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.
- Products
- tiff
- Affected versions
- Not specified
- Fixed versions
- 3.7.0
- CVEs
- CVE-2004-1307
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 14:24 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2004-1307
tiff
Fixed versions: 3.7.0
tiff
Fixed versions: 3.7.0
tiff
Fixed versions: 3.7.0
Complete source record
{
"id": "3ac38dcbd48dc4eea59aec8655425a2abfc1bf943a082728f6b5a22752a90529",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2004-1307",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2004-1307",
"summary": "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.",
"evidence": "osv:DEBIAN-CVE-2004-1307",
"products": [
{
"name": {
"value": "tiff",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.7.0",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "tiff",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.7.0",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "tiff",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.7.0",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "DEBIAN-CVE-2004-1307",
"aliases": [
"DEBIAN-CVE-2004-1307"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.7.0"
}
]
}
],
"package": {
"name": "tiff",
"purl": "pkg:deb/debian/tiff?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2004-1307.json"
},
"ecosystem_specific": {
"urgency": "low"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.7.0"
}
]
}
],
"package": {
"name": "tiff",
"purl": "pkg:deb/debian/tiff?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2004-1307.json"
},
"ecosystem_specific": {
"urgency": "low"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.7.0"
}
]
}
],
"package": {
"name": "tiff",
"purl": "pkg:deb/debian/tiff?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2004-1307.json"
},
"ecosystem_specific": {
"urgency": "low"
}
}
],
"modified": "2026-10-21T15:47:30.492187186Z",
"provider": "osv",
"upstream": [
"CVE-2004-1307"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2004-1307"
]
},
"related_cves": [
{
"value": "CVE-2004-1307",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 393945,
"published_at": "2004-12-21T05:00:00+00:00"
}