Libtiff: libtiff write-what-where
A flaw was found in Libtiff. This vulnerability is a "write-what-where" condition, triggered when the library processes a specially crafted TIFF image file. By providing an abnormally large image height value in the file's metadata, an attacker can trick the library into writing attacker-controlled color data to an arbitrary memory location. This memory corruption can be exploited to cause a denial of service (application crash) or to achieve arbitrary code execution with the permissions of the user.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-9900
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 05:53 UTC · Revision 1
Source evidence
A flaw was found in Libtiff. This vulnerability is a "write-what-where" condition, triggered when the library processes a specially crafted TIFF image file. By providing an abnormally large image height value in the file's metadata, an attacker can trick the library into writing attacker-controlled color data to an arbitrary memory location. This memory corruption can be exploited to cause a denial of service (application crash) or to achieve arbitrary code execution with the permissions of the user.
osv:CVE-2025-9900
Complete source record
{
"id": "461e16691395f6f9f62888f8ce5ad16911b40e09b930afbd81691a6517a8ee20",
"url": "https://osv.dev/vulnerability/CVE-2025-9900",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Libtiff: libtiff write-what-where",
"summary": "A flaw was found in Libtiff. This vulnerability is a \"write-what-where\" condition, triggered when the library processes a specially crafted TIFF image file. By providing an abnormally large image height value in the file's metadata, an attacker can trick the library into writing attacker-controlled color data to an arbitrary memory location. This memory corruption can be exploited to cause a denial of service (application crash) or to achieve arbitrary code execution with the permissions of the user.",
"evidence": "osv:CVE-2025-9900",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2025-9900",
"aliases": [
"CVE-2025-9900"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://gitlab.com/libtiff/libtiff",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "5fe20d0e9aba49a6a350ed533459d1505203838f"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "4.7.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
}
],
"versions": [
"v4.7.0rc2",
"v4.7.0",
"v4.7.0rc1",
"v4.6.0rc1",
"v4.5.1rc3",
"v4.5.1",
"v4.5.1rc2",
"v4.5.1rc1",
"v4.5.0rc3",
"v4.5.0",
"v4.5.0rc2",
"v4.4.0rc1",
"v4.4.0",
"v4.3.0rc1",
"v4.3.0",
"v4.2.0",
"v4.1.0",
"v4.0.10",
"v4.0.9",
"v4.0.8",
"v4.0.7",
"v4.0.6",
"v4.0.5",
"v4.0.4",
"v4.0.4beta",
"v4.0.3",
"v4.0.2",
"v4.0.1",
"v4.0.0",
"v4.0.0beta7",
"v4.0.0alpha6",
"v4.0.0alpha5",
"v4.0.0alpha4",
"v4.0.0alpha",
"v3.8.2",
"v3.8.1",
"v3.8.0",
"v3.7.4",
"v3.7.3",
"v3.7.2",
"v3.7.1",
"v3.7.0",
"v3.7.0beta2",
"v3.7.0beta",
"v3.7.0alpha",
"v3.6.1",
"v3.6.0",
"v3.6.0beta2",
"v3.5.7",
"v3.5.5",
"v3.5.4",
"v3.5.3"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-9900.json"
}
}
],
"modified": "2026-10-28T02:30:43.068586012Z",
"provider": "osv",
"references": [
"https://access.redhat.com/downloads/content/package-browser/",
"https://catalog.redhat.com/software/containers/",
"https://libtiff.gitlab.io/libtiff/",
"https://lists.debian.org/debian-lts-announce/2025/09/msg00031.html",
"https://access.redhat.com/errata/RHSA-2025:17651",
"https://access.redhat.com/errata/RHSA-2025:17675",
"https://access.redhat.com/errata/RHSA-2025:17710",
"https://access.redhat.com/errata/RHSA-2025:17738",
"https://access.redhat.com/errata/RHSA-2025:17739",
"https://access.redhat.com/errata/RHSA-2025:17740",
"https://access.redhat.com/errata/RHSA-2025:19113",
"https://access.redhat.com/errata/RHSA-2025:19156",
"https://access.redhat.com/errata/RHSA-2025:19276",
"https://access.redhat.com/errata/RHSA-2025:19906",
"https://access.redhat.com/errata/RHSA-2025:19947",
"https://access.redhat.com/errata/RHSA-2025:20956",
"https://access.redhat.com/errata/RHSA-2025:20998",
"https://access.redhat.com/errata/RHSA-2025:21060",
"https://access.redhat.com/errata/RHSA-2025:21061",
"https://access.redhat.com/errata/RHSA-2025:21062",
"https://access.redhat.com/errata/RHSA-2025:21407",
"https://access.redhat.com/errata/RHSA-2025:21506",
"https://access.redhat.com/errata/RHSA-2025:21507",
"https://access.redhat.com/errata/RHSA-2025:21508",
"https://access.redhat.com/errata/RHSA-2025:21994",
"https://access.redhat.com/errata/RHSA-2025:23078",
"https://access.redhat.com/errata/RHSA-2025:23079",
"https://access.redhat.com/errata/RHSA-2025:23080",
"https://access.redhat.com/errata/RHSA-2026:0001",
"https://access.redhat.com/errata/RHSA-2026:0076",
"https://access.redhat.com/errata/RHSA-2026:0077",
"https://access.redhat.com/errata/RHSA-2026:0078",
"https://access.redhat.com/errata/RHSA-2026:3461",
"https://access.redhat.com/errata/RHSA-2026:3462",
"https://access.redhat.com/errata/RHSA-2026:7504",
"https://access.redhat.com/security/cve/CVE-2025-9900",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/9xxx/CVE-2025-9900.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-9900",
"https://bugzilla.redhat.com/show_bug.cgi?id=2392784",
"https://gitlab.com/libtiff/libtiff/-/issues/704",
"https://gitlab.com/libtiff/libtiff/-/merge_requests/732",
"https://github.com/SexyShoelessGodofWar/LibTiff-4.7.0-Write-What-Where?tab=readme-ov-file",
"https://libtiff.gitlab.io/libtiff/releases/v4.7.1.html"
],
"provider_metadata": {
"cwe_ids": [
"CWE-123"
],
"cna_assigner": "redhat",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "0:4.6.0-6.el10_0.1"
},
{
"fixed": "0:4.6.0-6.el10_1.1"
},
{
"fixed": "0:3.9.4-12.el7_9.1"
},
{
"fixed": "0:4.0.3-35.el7_9.1"
},
{
"fixed": "0:3.9.4-14.el8_10"
},
{
"fixed": "0:4.0.9-35.el8_10"
},
{
"fixed": "0:4.0.9-3.el8_10"
},
{
"fixed": "0:3.9.4-13.el8_2.1"
},
{
"fixed": "0:4.0.9-17.el8_2.1"
},
{
"fixed": "0:8.10-3.el8_2.1"
},
{
"fixed": "0:3.9.4-13.el8_4.1"
},
{
"fixed": "0:4.0.9-18.el8_4.1"
},
{
"fixed": "0:8.10-3.el8_4.1"
},
{
"fixed": "0:3.9.4-13.el8_4.1"
},
{
"fixed": "0:4.0.9-18.el8_4.1"
},
{
"fixed": "0:8.10-3.el8_4.1"
},
{
"fixed": "0:3.9.4-13.el8_6.1"
},
{
"fixed": "0:4.0.9-21.el8_6.1"
},
{
"fixed": "0:8.10-3.el8_6.1"
},
{
"fixed": "0:3.9.4-13.el8_6.1"
},
{
"fixed": "0:4.0.9-21.el8_6.1"
},
{
"fixed": "0:8.10-3.el8_6.1"
},
{
"fixed": "0:3.9.4-13.el8_6.1"
},
{
"fixed": "0:4.0.9-21.el8_6.1"
},
{
"fixed": "0:8.10-3.el8_6.1"
},
{
"fixed": "0:3.9.4-13.el8_8.1"
},
{
"fixed": "0:4.0.9-29.el8_8.1"
},
{
"fixed": "0:8.10-3.el8_8.1"
},
{
"fixed": "0:3.9.4-13.el8_8.1"
},
{
"fixed": "0:4.0.9-29.el8_8.1"
},
{
"fixed": "0:8.10-3.el8_8.1"
},
{
"fixed": "0:4.4.0-13.el9_6.2"
},
{
"fixed": "0:4.4.0-15.el9_7.2"
},
{
"fixed": "0:4.2.0-3.el9_0.2"
},
{
"fixed": "0:4.4.0-8.el9_2.4"
},
{
"fixed": "0:4.4.0-12.el9_4.4"
},
{
"fixed": "3.2.2-1765379088"
},
{
"fixed": "3.2.2-1765379049"
},
{
"fixed": "3.2.2-1764871796"
},
{
"fixed": "1772160593"
},
{
"fixed": "1772160625"
},
{
"fixed": "2.4.0-1763656152"
},
{
"fixed": "4.7.1-2.1.hum1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "InverseAffectedRanges"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/9xxx/CVE-2025-9900.json"
}
},
"related_cves": [
{
"value": "CVE-2025-9900",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 510856,
"published_at": "2025-09-23T16:26:22.846+00:00"
}