CVE-2025-9165
CVE-2025-9165 · LibTIFF tiffcmp tiffcmp.c InitCCITTFax3 memory leak
This page contains facts from public vulnerability sources. Check the original advisory before updating.
This page shows selected source facts. See the linked advisories for the complete description and affected versions.
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".
CVSS 2.0 · Low · EPSS 0.2% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
libtiff
- Versions
- 4.7.0: Affected
No fix published
tiff Debian:12
- Versions
- 4.5.0-6
- 4.5.0-6+deb12u1
- 4.5.0-6+deb12u2
- 4.5.0-6+deb12u3
- 4.5.0-6+deb12u4
- 4.5.1+git230720-1
- 4.5.1+git230720-2
- 4.5.1+git230720-3
- 4.5.1+git230720-4
- 4.5.1+git230720-5
- 4.5.1-1
- 4.5.1~rc3-1
- 4.6.0-1
- 4.6.0-2
- 4.7.0-1
- 4.7.0-2
- 4.7.0-3
- 4.7.0-4
- 4.7.0-5
- 4.7.1-1
- 4.7.1-2
- 4.7.1-3
- 4.7.2-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
tiff Debian:13
- Versions
- 4.7.0-3
- Affected ranges
- ECOSYSTEM: < 4.7.0-3+deb13u1
Update to 4.7.0-3+deb13u1
tiff Debian:14
- Versions
- 4.7.0-3
- Affected ranges
- ECOSYSTEM: < 4.7.0-4
Update to 4.7.0-4
gdal Ubuntu:Pro:14.04:LTS
- Versions
- 1.9.0-3.1ubuntu4
- 1.9.0-3.1ubuntu6
- 1.10.1+dfsg-2
- 1.10.1+dfsg-2build1
- 1.10.1+dfsg-3
- 1.10.1+dfsg-3build1
- 1.10.1+dfsg-3build2
- 1.10.1+dfsg-3ubuntu1
- 1.10.1+dfsg-3ubuntu2
- 1.10.1+dfsg-5ubuntu1
- 1.10.1+dfsg-5ubuntu1+esm1
- 1.10.1+dfsg-5ubuntu1+esm2
- 1.10.1+dfsg-5ubuntu1+esm3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
tiff Ubuntu:Pro:14.04:LTS
- Versions
- 4.0.2-4ubuntu3
- 4.0.3-5ubuntu1
- 4.0.3-6
- 4.0.3-6ubuntu1
- 4.0.3-7
- 4.0.3-7ubuntu0.1
- 4.0.3-7ubuntu0.2
- 4.0.3-7ubuntu0.3
- 4.0.3-7ubuntu0.4
- 4.0.3-7ubuntu0.6
- 4.0.3-7ubuntu0.7
- 4.0.3-7ubuntu0.8
- 4.0.3-7ubuntu0.9
- 4.0.3-7ubuntu0.10
- 4.0.3-7ubuntu0.11
- 4.0.3-7ubuntu0.11+esm1
- 4.0.3-7ubuntu0.11+esm2
- 4.0.3-7ubuntu0.11+esm3
- 4.0.3-7ubuntu0.11+esm4
- 4.0.3-7ubuntu0.11+esm5
- 4.0.3-7ubuntu0.11+esm6
- 4.0.3-7ubuntu0.11+esm7
- 4.0.3-7ubuntu0.11+esm8
- 4.0.3-7ubuntu0.11+esm9
- 4.0.3-7ubuntu0.11+esm10
- 4.0.3-7ubuntu0.11+esm11
- 4.0.3-7ubuntu0.11+esm12
- 4.0.3-7ubuntu0.11+esm13
- 4.0.3-7ubuntu0.11+esm14
- 4.0.3-7ubuntu0.11+esm15
- Affected ranges
- ECOSYSTEM: < 4.0.3-7ubuntu0.11+esm16
Update to 4.0.3-7ubuntu0.11+esm16
tiff Ubuntu:Pro:16.04:LTS
- Versions
- 4.0.3-12.3ubuntu2
- 4.0.5-1
- 4.0.6-1
- 4.0.6-1ubuntu0.1
- 4.0.6-1ubuntu0.2
- 4.0.6-1ubuntu0.3
- 4.0.6-1ubuntu0.4
- 4.0.6-1ubuntu0.5
- 4.0.6-1ubuntu0.6
- 4.0.6-1ubuntu0.7
- 4.0.6-1ubuntu0.8
- 4.0.6-1ubuntu0.8+esm1
- 4.0.6-1ubuntu0.8+esm2
- 4.0.6-1ubuntu0.8+esm3
- 4.0.6-1ubuntu0.8+esm4
- 4.0.6-1ubuntu0.8+esm6
- 4.0.6-1ubuntu0.8+esm7
- 4.0.6-1ubuntu0.8+esm8
- 4.0.6-1ubuntu0.8+esm9
- 4.0.6-1ubuntu0.8+esm10
- 4.0.6-1ubuntu0.8+esm11
- 4.0.6-1ubuntu0.8+esm12
- 4.0.6-1ubuntu0.8+esm13
- 4.0.6-1ubuntu0.8+esm14
- 4.0.6-1ubuntu0.8+esm15
- 4.0.6-1ubuntu0.8+esm16
- 4.0.6-1ubuntu0.8+esm17
- 4.0.6-1ubuntu0.8+esm18
- Affected ranges
- ECOSYSTEM: < 4.0.6-1ubuntu0.8+esm19
Update to 4.0.6-1ubuntu0.8+esm19
gdal Ubuntu:Pro:16.04:LTS
- Versions
- 1.11.2+dfsg-3ubuntu3
- 1.11.2+dfsg-3ubuntu4
- 1.11.3+dfsg-2build1
- 1.11.3+dfsg-2build2
- 1.11.3+dfsg-2build3
- 1.11.3+dfsg-3
- 1.11.3+dfsg-3build1
- 1.11.3+dfsg-3build2
- 1.11.3+dfsg-3ubuntu0.1~esm1
- 1.11.3+dfsg-3ubuntu0.1~esm2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
texmaker Ubuntu:16.04:LTS
- Versions
- 4.4.1-1
- 4.4.1-1.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
tiff Ubuntu:Pro:18.04:LTS
- Versions
- 4.0.8-5
- 4.0.8-6
- 4.0.9-1
- 4.0.9-2
- 4.0.9-3
- 4.0.9-4
- 4.0.9-4ubuntu1
- 4.0.9-5
- 4.0.9-5ubuntu0.1
- 4.0.9-5ubuntu0.2
- 4.0.9-5ubuntu0.3
- 4.0.9-5ubuntu0.4
- 4.0.9-5ubuntu0.5
- 4.0.9-5ubuntu0.6
- 4.0.9-5ubuntu0.7
- 4.0.9-5ubuntu0.8
- 4.0.9-5ubuntu0.9
- 4.0.9-5ubuntu0.10
- 4.0.9-5ubuntu0.10+esm1
- 4.0.9-5ubuntu0.10+esm2
- 4.0.9-5ubuntu0.10+esm3
- 4.0.9-5ubuntu0.10+esm4
- 4.0.9-5ubuntu0.10+esm5
- 4.0.9-5ubuntu0.10+esm6
- 4.0.9-5ubuntu0.10+esm7
- 4.0.9-5ubuntu0.10+esm8
- Affected ranges
- ECOSYSTEM: < 4.0.9-5ubuntu0.10+esm9
Update to 4.0.9-5ubuntu0.10+esm9
neuron Ubuntu:18.04:LTS
- Versions
- 7.5-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
qtwebengine-opensource-src Ubuntu:Pro:18.04:LTS
- Versions
- 5.9.1+dfsg-4
- 5.9.1+dfsg-4ubuntu1
- 5.9.2+dfsg-2ubuntu1
- 5.9.3+dfsg-0ubuntu1
- 5.9.4+dfsg-0ubuntu1
- 5.9.5+dfsg-0ubuntu2
- 5.9.5+dfsg-0ubuntu2+esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
texmaker Ubuntu:Pro:18.04:LTS
- Versions
- 4.5-1
- 5.0.2-1
- 5.0.2-1build1
- 5.0.2-1build2
- 5.0.2-1ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
tiff Ubuntu:Pro:20.04:LTS
- Versions
- 4.0.10+git191003-1
- 4.1.0+git191117-1
- 4.1.0+git191117-2
- 4.1.0+git191117-2build1
- 4.1.0+git191117-2ubuntu0.20.04.1
- 4.1.0+git191117-2ubuntu0.20.04.2
- 4.1.0+git191117-2ubuntu0.20.04.3
- 4.1.0+git191117-2ubuntu0.20.04.4
- 4.1.0+git191117-2ubuntu0.20.04.5
- 4.1.0+git191117-2ubuntu0.20.04.6
- 4.1.0+git191117-2ubuntu0.20.04.7
- 4.1.0+git191117-2ubuntu0.20.04.8
- 4.1.0+git191117-2ubuntu0.20.04.9
- 4.1.0+git191117-2ubuntu0.20.04.10
- 4.1.0+git191117-2ubuntu0.20.04.11
- 4.1.0+git191117-2ubuntu0.20.04.12
- 4.1.0+git191117-2ubuntu0.20.04.13
- 4.1.0+git191117-2ubuntu0.20.04.14
- 4.1.0+git191117-2ubuntu0.20.04.14+esm1
- Affected ranges
- ECOSYSTEM: < 4.1.0+git191117-2ubuntu0.20.04.14+esm2
Update to 4.1.0+git191117-2ubuntu0.20.04.14+esm2
neuron Ubuntu:20.04:LTS
- Versions
- 7.6.3-1build2
- 7.6.3-1build3
- 7.6.3-1build4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
qtwebengine-opensource-src Ubuntu:Pro:20.04:LTS
- Versions
- 5.12.4+dfsg-1ubuntu1
- 5.12.4+dfsg-1ubuntu3
- 5.12.5+dfsg-3ubuntu1
- 5.12.5+dfsg-6ubuntu2
- 5.12.5+dfsg-7
- 5.12.5+dfsg-7build1
- 5.12.8+dfsg-0ubuntu1
- 5.12.8+dfsg-0ubuntu1.1
- 5.12.8+dfsg-0ubuntu1.1+esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
texmaker Ubuntu:Pro:20.04:LTS
- Versions
- 5.0.3-1build2
- 5.0.3-1build3
- 5.0.3-1build4
- 5.0.3-1build5
- 5.0.3-1ubuntu0.20.04.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
neuron Ubuntu:22.04:LTS
- Versions
- 7.6.3-1build5
- 7.6.3-1build6
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
tiff Ubuntu:22.04:LTS
- Versions
- 4.3.0-1
- 4.3.0-2
- 4.3.0-3
- 4.3.0-3build1
- 4.3.0-4
- 4.3.0-5
- 4.3.0-6
- 4.3.0-6ubuntu0.1
- 4.3.0-6ubuntu0.2
- 4.3.0-6ubuntu0.3
- 4.3.0-6ubuntu0.4
- 4.3.0-6ubuntu0.5
- 4.3.0-6ubuntu0.6
- 4.3.0-6ubuntu0.7
- 4.3.0-6ubuntu0.8
- 4.3.0-6ubuntu0.9
- 4.3.0-6ubuntu0.10
- 4.3.0-6ubuntu0.11
- Affected ranges
- ECOSYSTEM: < 4.3.0-6ubuntu0.12
Update to 4.3.0-6ubuntu0.12
qtwebengine-opensource-src Ubuntu:Pro:22.04:LTS
- Versions
- 5.15.6+dfsg-1
- 5.15.6+dfsg-2
- 5.15.7+dfsg-2
- 5.15.8+dfsg-1
- 5.15.8+dfsg-1build1
- 5.15.8+dfsg-1build2
- 5.15.8+dfsg-2
- 5.15.9+dfsg-1
- 5.15.9+dfsg-1ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
texmaker Ubuntu:Pro:22.04:LTS
- Versions
- 5.0.3-1build8
- 5.0.3-1build9
- 5.0.3-1ubuntu0.22.04.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
tiff Ubuntu:24.04:LTS
- Versions
- 4.5.1+git230720-1ubuntu1
- 4.5.1+git230720-3ubuntu1
- 4.5.1+git230720-4ubuntu1
- 4.5.1+git230720-4ubuntu2
- 4.5.1+git230720-4ubuntu2.1
- 4.5.1+git230720-4ubuntu2.2
- 4.5.1+git230720-4ubuntu2.3
- Affected ranges
- ECOSYSTEM: < 4.5.1+git230720-4ubuntu2.4
Update to 4.5.1+git230720-4ubuntu2.4
qtwebengine-opensource-src Ubuntu:Pro:24.04:LTS
- Versions
- 5.15.15+dfsg-2
- 5.15.15+dfsg-2build2
- 5.15.15+dfsg-2ubuntu1
- 5.15.16+dfsg-1
- 5.15.16+dfsg-1ubuntu2
- 5.15.16+dfsg-1ubuntu4
- 5.15.16+dfsg-3
- 5.15.16+dfsg-3ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
texmaker Ubuntu:Pro:24.04:LTS
- Versions
- 5.1.3+dfsg-1build4
- 5.1.3+dfsg-1build5
- 5.1.3+dfsg-1build6
- 5.1.3+dfsg-1build7
- 5.1.3+dfsg-1build8
- 5.1.3+dfsg-1ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://vuldb.com/?id.320543
- https://vuldb.com/?ctiid.320543
- https://vuldb.com/?submit.630506
- https://vuldb.com/?submit.630507
- https://gitlab.com/libtiff/libtiff/-/issues/728
- https://gitlab.com/libtiff/libtiff/-/merge_requests/747
- https://drive.google.com/file/d/1FWhmkzksH8-qU0ZM6seBzGNB3aPnX3G8/view?usp=sharing
- https://gitlab.com/libtiff/libtiff/-/commit/ed141286a37f6e5ddafb5069347ff5d587e7a4e0
- http://www.libtiff.org/
- https://gitlab.com/libtiff/libtiff/-/issues/728#note_2709263214
- https://nvd.nist.gov/vuln/detail/CVE-2025-9165