UnratedFix available
tiff — security advisory
Integer overflow in (1) tif_dirread.c and (2) tif_fax3.c for libtiff 3.5.7 and 3.7.0 allows remote attackers to execute arbitrary code via a TIFF file containing a TIFF_ASCII or TIFF_UNDEFINED directory entry with a -1 entry count, which leads to a heap-based buffer overflow.
- Products
- tiff
- Affected versions
- Not specified
- Fixed versions
- 3.6.1-4
- CVEs
- CVE-2004-1308
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 14:24 UTC · Revision 1
Source evidence
Integer overflow in (1) tif_dirread.c and (2) tif_fax3.c for libtiff 3.5.7 and 3.7.0 allows remote attackers to execute arbitrary code via a TIFF file containing a TIFF_ASCII or TIFF_UNDEFINED directory entry with a -1 entry count, which leads to a heap-based buffer overflow.
osv:DEBIAN-CVE-2004-1308
tiff
Fixed versions: 3.6.1-4
tiff
Fixed versions: 3.6.1-4
tiff
Fixed versions: 3.6.1-4
Complete source record
{
"id": "3f560644720b28459c2a6e56f1c727d7e83b6791a1a4cc3d91864bd1768ac782",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2004-1308",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2004-1308",
"summary": "Integer overflow in (1) tif_dirread.c and (2) tif_fax3.c for libtiff 3.5.7 and 3.7.0 allows remote attackers to execute arbitrary code via a TIFF file containing a TIFF_ASCII or TIFF_UNDEFINED directory entry with a -1 entry count, which leads to a heap-based buffer overflow.",
"evidence": "osv:DEBIAN-CVE-2004-1308",
"products": [
{
"name": {
"value": "tiff",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.6.1-4",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "tiff",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.6.1-4",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "tiff",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.6.1-4",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "DEBIAN-CVE-2004-1308",
"aliases": [
"DEBIAN-CVE-2004-1308"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.6.1-4"
}
]
}
],
"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-1308.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.6.1-4"
}
]
}
],
"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-1308.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.6.1-4"
}
]
}
],
"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-1308.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-21T15:47:32.340317734Z",
"provider": "osv",
"upstream": [
"CVE-2004-1308"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2004-1308"
]
},
"related_cves": [
{
"value": "CVE-2004-1308",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 393973,
"published_at": "2005-01-10T05:00:00+00:00"
}