
CVE catalog
CVE-2025-9165
LibTIFF vulnerabilities
- Severity
- Low · CVSS 3.3
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.23% · Oct 27, 2026
A flaw has been found in LibTIFF 4.7.0. This affects the function _TIFFmallocExt/_TIFFCheckRealloc/TIFFHashSetNew/InitCCITTFax3 of the file tools/tiffcmp.c of the component tiffcmp. Executing manipulation can lead to memory leak. The attack is restricted to local execution. This attack is characterized by high complexity. It is indicated that the exploitability is difficult. The exploit has been published and may be used. There is ongoing doubt regarding the real existence of this vulnerability. This patch is called ed141286a37f6e5ddafb5069347ff5d587e7a4e0. It is best practice to apply a patch to resolve this issue. A researcher disputes the security impact of this issue, because "this is a memory leak on a command line tool that is about to exit anyway". In the reply the project maintainer declares this issue as "a simple 'bug' when leaving the command line tool and (...) not a security issue at all".
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | tiff | sid | 4.7.2-1 | fixed |
| Debian | tiff | forky | 4.7.2-1 | fixed |
| Debian | tiff | trixie | 4.7.0-3+deb13u3 | fixed |
| Debian | tiff | trixie-security | 4.7.0-3+deb13u3 | fixed |
| Debian | tiff | bookworm | 4.5.0-6+deb12u4 | vulnerable |
| Debian | tiff | bookworm-security | 4.5.0-6+deb12u4 | vulnerable |
| Ubuntu | tiff | noble | Not reported | vulnerable |
| Ubuntu | tiff | noble | 4.5.1+git230720-4ubuntu2.4 | fixed |
| Ubuntu | libtiff-dev | noble | 4.5.1+git230720-4ubuntu2.4 | fixed |
| Ubuntu | libtiff-doc | noble | 4.5.1+git230720-4ubuntu2.4 | fixed |
| Ubuntu | libtiff-opengl | noble | 4.5.1+git230720-4ubuntu2.4 | fixed |
| Ubuntu | libtiff-tools | noble | 4.5.1+git230720-4ubuntu2.4 | fixed |
| Ubuntu | libtiff5-dev | noble | 4.5.1+git230720-4ubuntu2.4 | fixed |
| Ubuntu | libtiff6 | noble | 4.5.1+git230720-4ubuntu2.4 | fixed |
| Ubuntu | libtiffxx6 | noble | 4.5.1+git230720-4ubuntu2.4 | fixed |
| Alpine | tiff | 3.21 | 4.7.1-r0 | fixed |
| Alpine | tiff | 3.22 | 4.7.1-r0 | fixed |
| Alpine | tiff | 3.23 | 4.7.1-r0 | fixed |
| Alpine | tiff | 3.24 | 4.7.1-r0 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | tiff | source | sid | 4.7.0-4 | unimportant | Not reported | [1111878] |
| Debian | tiff | source | forky | 4.7.0-4 | unimportant | Not reported | [1111878] |
| Debian | tiff | source | trixie | 4.7.0-3+deb13u1 | not yet assigned | Not reported | [1111878] |
| Debian | tiff | source | bookworm | (unfixed) | unimportant | Not reported | [1111878] |
| Ubuntu | tiff | deb | noble | 4.5.1+git230720-4ubuntu2.4 | Not reported | Not reported | Not reported |
| Ubuntu | libtiff-dev | deb | noble | 4.5.1+git230720-4ubuntu2.4 | Not reported | Not reported | Not reported |
| Ubuntu | libtiff-doc | deb | noble | 4.5.1+git230720-4ubuntu2.4 | Not reported | Not reported | Not reported |
| Ubuntu | libtiff-opengl | deb | noble | 4.5.1+git230720-4ubuntu2.4 | Not reported | Not reported | Not reported |
| Ubuntu | libtiff-tools | deb | noble | 4.5.1+git230720-4ubuntu2.4 | Not reported | Not reported | Not reported |
| Ubuntu | libtiff5-dev | deb | noble | 4.5.1+git230720-4ubuntu2.4 | Not reported | Not reported | Not reported |
| Ubuntu | libtiff6 | deb | noble | 4.5.1+git230720-4ubuntu2.4 | Not reported | Not reported | Not reported |
| Ubuntu | libtiffxx6 | deb | noble | 4.5.1+git230720-4ubuntu2.4 | Not reported | Not reported | Not reported |
| Alpine | tiff | apk | 3.21 | 4.7.1-r0 | Not reported | ALPINE-CVE-2025-9165 | Not reported |
| Alpine | tiff | apk | 3.22 | 4.7.1-r0 | Not reported | ALPINE-CVE-2025-9165 | Not reported |
| Alpine | tiff | apk | 3.23 | 4.7.1-r0 | Not reported | ALPINE-CVE-2025-9165 | Not reported |
| Alpine | tiff | apk | 3.24 | 4.7.1-r0 | Not reported | ALPINE-CVE-2025-9165 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libtiff5-dev]Affected
Source package: [tiff]
Details (4)
4.5.0-6+deb12u4· amd64 · bookwormAffected
usn · tiff · debian · bookworm; usn · tiff · debian · 12
4.5.0-6+deb12u4· arm64 · bookwormAffected
usn · tiff · debian · bookworm; usn · tiff · debian · 12
4.5.0-6+deb12u4· amd64 · bookworm-securityAffected
usn · tiff · debian · bookworm; usn · tiff · debian · 12
4.5.0-6+deb12u4· arm64 · bookworm-securityAffected
usn · tiff · debian · bookworm; usn · tiff · debian · 12
- [libtiff6]Affected
Source package: [tiff]
Details (4)
4.5.0-6+deb12u4· amd64 · bookwormAffected
usn · tiff · debian · bookworm; usn · tiff · debian · 12
4.5.0-6+deb12u4· arm64 · bookwormAffected
usn · tiff · debian · bookworm; usn · tiff · debian · 12
4.5.0-6+deb12u4· amd64 · bookworm-securityAffected
usn · tiff · debian · bookworm; usn · tiff · debian · 12
4.5.0-6+deb12u4· arm64 · bookworm-securityAffected
usn · tiff · debian · bookworm; usn · tiff · debian · 12
- [libtiff-dev]Affected
Source package: [tiff]
Details (4)
4.5.0-6+deb12u4· amd64 · bookwormAffected
usn · tiff · debian · bookworm; usn · tiff · debian · 12
4.5.0-6+deb12u4· arm64 · bookwormAffected
usn · tiff · debian · bookworm; usn · tiff · debian · 12
4.5.0-6+deb12u4· amd64 · bookworm-securityAffected
usn · tiff · debian · bookworm; usn · tiff · debian · 12
4.5.0-6+deb12u4· arm64 · bookworm-securityAffected
usn · tiff · debian · bookworm; usn · tiff · debian · 12
- [libtiff-doc]Affected
Source package: [tiff]
Details (4)
4.5.0-6+deb12u4· all · bookwormAffected
usn · tiff · debian · bookworm; usn · tiff · debian · 12
4.5.0-6+deb12u4· all · bookwormAffected
usn · tiff · debian · bookworm; usn · tiff · debian · 12
4.5.0-6+deb12u4· all · bookworm-securityAffected
usn · tiff · debian · bookworm; usn · tiff · debian · 12
4.5.0-6+deb12u4· all · bookworm-securityAffected
usn · tiff · debian · bookworm; usn · tiff · debian · 12
- [libtiff-opengl]Affected
Source package: [tiff]
Details (4)
4.5.0-6+deb12u4· amd64 · bookwormAffected
usn · tiff · debian · bookworm; usn · tiff · debian · 12
4.5.0-6+deb12u4· arm64 · bookwormAffected
usn · tiff · debian · bookworm; usn · tiff · debian · 12
4.5.0-6+deb12u4· amd64 · bookworm-securityAffected
usn · tiff · debian · bookworm; usn · tiff · debian · 12
4.5.0-6+deb12u4· arm64 · bookworm-securityAffected
usn · tiff · debian · bookworm; usn · tiff · debian · 12
- [libtiff-tools]Affected
Source package: [tiff]
Details (4)
4.5.0-6+deb12u4· amd64 · bookwormAffected
usn · tiff · debian · bookworm; usn · tiff · debian · 12
4.5.0-6+deb12u4· arm64 · bookwormAffected
usn · tiff · debian · bookworm; usn · tiff · debian · 12
4.5.0-6+deb12u4· amd64 · bookworm-securityAffected
usn · tiff · debian · bookworm; usn · tiff · debian · 12
4.5.0-6+deb12u4· arm64 · bookworm-securityAffected
usn · tiff · debian · bookworm; usn · tiff · debian · 12
- [libtiffxx6]Affected
Source package: [tiff]
Details (4)
4.5.0-6+deb12u4· amd64 · bookwormAffected
usn · tiff · debian · bookworm; usn · tiff · debian · 12
4.5.0-6+deb12u4· arm64 · bookwormAffected
usn · tiff · debian · bookworm; usn · tiff · debian · 12
4.5.0-6+deb12u4· amd64 · bookworm-securityAffected
usn · tiff · debian · bookworm; usn · tiff · debian · 12
4.5.0-6+deb12u4· arm64 · bookworm-securityAffected
usn · tiff · debian · bookworm; usn · tiff · debian · 12
[Debian 13 (Trixie)]
- [libtiff5-dev]Fixed
Source package: [tiff]
Details (4)
4.7.0-3+deb13u2· amd64 · trixieFixed · Fixed:
4.7.0-3+deb13u1usn · tiff · debian · 13
4.7.0-3+deb13u2· arm64 · trixieFixed · Fixed:
4.7.0-3+deb13u1usn · tiff · debian · 13
4.7.0-3+deb13u3· amd64 · trixie-securityFixed · Fixed:
4.7.0-3+deb13u1usn · tiff · debian · 13
4.7.0-3+deb13u3· arm64 · trixie-securityFixed · Fixed:
4.7.0-3+deb13u1usn · tiff · debian · 13
- [libtiff6]Fixed
Source package: [tiff]
Details (4)
4.7.0-3+deb13u2· amd64 · trixieFixed · Fixed:
4.7.0-3+deb13u1usn · tiff · debian · 13
4.7.0-3+deb13u2· arm64 · trixieFixed · Fixed:
4.7.0-3+deb13u1usn · tiff · debian · 13
4.7.0-3+deb13u3· amd64 · trixie-securityFixed · Fixed:
4.7.0-3+deb13u1usn · tiff · debian · 13
4.7.0-3+deb13u3· arm64 · trixie-securityFixed · Fixed:
4.7.0-3+deb13u1usn · tiff · debian · 13
- [libtiff-dev]Fixed
Source package: [tiff]
Details (4)
4.7.0-3+deb13u2· amd64 · trixieFixed · Fixed:
4.7.0-3+deb13u1usn · tiff · debian · 13
4.7.0-3+deb13u2· arm64 · trixieFixed · Fixed:
4.7.0-3+deb13u1usn · tiff · debian · 13
4.7.0-3+deb13u3· amd64 · trixie-securityFixed · Fixed:
4.7.0-3+deb13u1usn · tiff · debian · 13
4.7.0-3+deb13u3· arm64 · trixie-securityFixed · Fixed:
4.7.0-3+deb13u1usn · tiff · debian · 13
- [libtiff-doc]Fixed
Source package: [tiff]
Details (4)
4.7.0-3+deb13u2· all · trixieFixed · Fixed:
4.7.0-3+deb13u1usn · tiff · debian · 13
4.7.0-3+deb13u2· all · trixieFixed · Fixed:
4.7.0-3+deb13u1usn · tiff · debian · 13
4.7.0-3+deb13u3· all · trixie-securityFixed · Fixed:
4.7.0-3+deb13u1usn · tiff · debian · 13
4.7.0-3+deb13u3· all · trixie-securityFixed · Fixed:
4.7.0-3+deb13u1usn · tiff · debian · 13
- [libtiff-opengl]Fixed
Source package: [tiff]
Details (4)
4.7.0-3+deb13u2· amd64 · trixieFixed · Fixed:
4.7.0-3+deb13u1usn · tiff · debian · 13
4.7.0-3+deb13u2· arm64 · trixieFixed · Fixed:
4.7.0-3+deb13u1usn · tiff · debian · 13
4.7.0-3+deb13u3· amd64 · trixie-securityFixed · Fixed:
4.7.0-3+deb13u1usn · tiff · debian · 13
4.7.0-3+deb13u3· arm64 · trixie-securityFixed · Fixed:
4.7.0-3+deb13u1usn · tiff · debian · 13
- [libtiff-tools]Fixed
Source package: [tiff]
Details (4)
4.7.0-3+deb13u2· amd64 · trixieFixed · Fixed:
4.7.0-3+deb13u1usn · tiff · debian · 13
4.7.0-3+deb13u2· arm64 · trixieFixed · Fixed:
4.7.0-3+deb13u1usn · tiff · debian · 13
4.7.0-3+deb13u3· amd64 · trixie-securityFixed · Fixed:
4.7.0-3+deb13u1usn · tiff · debian · 13
4.7.0-3+deb13u3· arm64 · trixie-securityFixed · Fixed:
4.7.0-3+deb13u1usn · tiff · debian · 13
- [libtiffxx6]Fixed
Source package: [tiff]
Details (4)
4.7.0-3+deb13u2· amd64 · trixieFixed · Fixed:
4.7.0-3+deb13u1usn · tiff · debian · 13
4.7.0-3+deb13u2· arm64 · trixieFixed · Fixed:
4.7.0-3+deb13u1usn · tiff · debian · 13
4.7.0-3+deb13u3· amd64 · trixie-securityFixed · Fixed:
4.7.0-3+deb13u1usn · tiff · debian · 13
4.7.0-3+deb13u3· arm64 · trixie-securityFixed · Fixed:
4.7.0-3+deb13u1usn · tiff · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2025_03345-1.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2025-9165]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2025-9165]
- [https://security-tracker.debian.org/tracker/CVE-2025-9165]
- [https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-9165.json]
- [https://ubuntu.com/security/notices/USN-7783-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-1730.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]