CVE-2025-8176
published medium CVSS 4.0 · 4.8LibTIFF tiffmedian.c get_histogram use after free
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | LibTIFF4.0 · 4.1 · 4.2 · 4.3 · 4.4 · 4.5 · 4.6 · 4.7.0 | Affected | Not stated | VulDB |
| Amazon Linux | AL2 | Release evaluationALAS2-2025-2965 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1153 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | libtiff | Advisory build | 4.0.9-36.el8_10 | ALSA-2025:20034 |
| Alpine Linux | edge | tiff | Fixed | 4.7.1-r0 | Package fix record |
| Oracle Linux | 7 | libtiffx86_64 | Advisory build | 0:4.0.3-35.0.1.el7 | ELSA-2025-21407 |
| Red Hat Enterprise Linux | RHEL-7 | libtiffi686 | Advisory build | 4.0.3-35.el7_9.1 | RHSA-2025:21407 |
| AlmaLinux | 8 | libtiff-devel | Advisory build | 4.0.9-36.el8_10 | ALSA-2025:20034 |
Show 95 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 8 | libtiff-tools | Advisory build | 4.0.9-36.el8_10 | ALSA-2025:20034 |
| AlmaLinux | 8 | mingw32-libtiff | Advisory build | 4.0.9-3.el8_10 | ALSA-2025:19906 |
| AlmaLinux | 8 | mingw32-libtiff-static | Advisory build | 4.0.9-3.el8_10 | ALSA-2025:19906 |
| AlmaLinux | 8 | mingw64-libtiff | Advisory build | 4.0.9-3.el8_10 | ALSA-2025:19906 |
| AlmaLinux | 8 | mingw64-libtiff-static | Advisory build | 4.0.9-3.el8_10 | ALSA-2025:19906 |
| AlmaLinux | 9 | libtiff | Advisory build | 4.4.0-13.el9_6.2 | ALSA-2025:19113 |
| AlmaLinux | 9 | libtiff | Advisory build | 4.4.0-15.el9_7.2 | ALSA-2025:20956 |
| AlmaLinux | 9 | libtiff-devel | Advisory build | 4.4.0-13.el9_6.2 | ALSA-2025:19113 |
| AlmaLinux | 9 | libtiff-devel | Advisory build | 4.4.0-15.el9_7.2 | ALSA-2025:20956 |
| AlmaLinux | 9 | libtiff-tools | Advisory build | 4.4.0-13.el9_6.2 | ALSA-2025:19113 |
| AlmaLinux | 9 | libtiff-tools | Advisory build | 4.4.0-15.el9_7.2 | ALSA-2025:20956 |
| Oracle Linux | 7 | libtiff-develx86_64 | Advisory build | 0:4.0.3-35.0.1.el7 | ELSA-2025-21407 |
| Oracle Linux | 7 | libtiff-staticx86_64 | Advisory build | 0:4.0.3-35.0.1.el7 | ELSA-2025-21407 |
| Oracle Linux | 7 | libtiff-toolsx86_64 | Advisory build | 0:4.0.3-35.0.1.el7 | ELSA-2025-21407 |
| Oracle Linux | 8 | libtiffaarch64 | Advisory build | 0:4.0.9-36.el8_10 | ELSA-2025-20034-0 |
| Oracle Linux | 8 | libtiffx86_64 | Advisory build | 0:4.0.9-36.el8_10 | ELSA-2025-20034-0 |
| Oracle Linux | 8 | libtiff-develaarch64 | Advisory build | 0:4.0.9-36.el8_10 | ELSA-2025-20034-0 |
| Oracle Linux | 8 | libtiff-develx86_64 | Advisory build | 0:4.0.9-36.el8_10 | ELSA-2025-20034-0 |
| Oracle Linux | 8 | libtiff-toolsaarch64 | Advisory build | 0:4.0.9-36.el8_10 | ELSA-2025-20034-0 |
| Oracle Linux | 8 | libtiff-toolsx86_64 | Advisory build | 0:4.0.9-36.el8_10 | ELSA-2025-20034-0 |
| Oracle Linux | 8 | mingw32-libtiffx86_64 | Advisory build | 0:4.0.9-3.el8_10 | ELSA-2025-19906 |
| Oracle Linux | 8 | mingw32-libtiff-staticx86_64 | Advisory build | 0:4.0.9-3.el8_10 | ELSA-2025-19906 |
| Oracle Linux | 8 | mingw64-libtiffx86_64 | Advisory build | 0:4.0.9-3.el8_10 | ELSA-2025-19906 |
| Oracle Linux | 8 | mingw64-libtiff-staticx86_64 | Advisory build | 0:4.0.9-3.el8_10 | ELSA-2025-19906 |
| Oracle Linux | 9 | libtiffaarch64 | Advisory build | 0:4.4.0-13.el9_6.2 | ELSA-2025-19113 |
| Oracle Linux | 9 | libtiffaarch64 | Advisory build | 0:4.4.0-15.el9_7.2 | ELSA-2025-20956 |
| Oracle Linux | 9 | libtiffx86_64 | Advisory build | 0:4.4.0-13.el9_6.2 | ELSA-2025-19113 |
| Oracle Linux | 9 | libtiffx86_64 | Advisory build | 0:4.4.0-15.el9_7.2 | ELSA-2025-20956 |
| Oracle Linux | 9 | libtiff-develaarch64 | Advisory build | 0:4.4.0-13.el9_6.2 | ELSA-2025-19113 |
| Oracle Linux | 9 | libtiff-develaarch64 | Advisory build | 0:4.4.0-15.el9_7.2 | ELSA-2025-20956 |
| Oracle Linux | 9 | libtiff-develx86_64 | Advisory build | 0:4.4.0-13.el9_6.2 | ELSA-2025-19113 |
| Oracle Linux | 9 | libtiff-develx86_64 | Advisory build | 0:4.4.0-15.el9_7.2 | ELSA-2025-20956 |
| Oracle Linux | 9 | libtiff-toolsaarch64 | Advisory build | 0:4.4.0-13.el9_6.2 | ELSA-2025-19113 |
| Oracle Linux | 9 | libtiff-toolsaarch64 | Advisory build | 0:4.4.0-15.el9_7.2 | ELSA-2025-20956 |
| Oracle Linux | 9 | libtiff-toolsx86_64 | Advisory build | 0:4.4.0-13.el9_6.2 | ELSA-2025-19113 |
| Oracle Linux | 9 | libtiff-toolsx86_64 | Advisory build | 0:4.4.0-15.el9_7.2 | ELSA-2025-20956 |
| Red Hat Enterprise Linux | RHEL-7 | libtiffppc | Advisory build | 4.0.3-35.el7_9.1 | RHSA-2025:21407 |
| Red Hat Enterprise Linux | RHEL-7 | libtiffppc64 | Advisory build | 4.0.3-35.el7_9.1 | RHSA-2025:21407 |
| Red Hat Enterprise Linux | RHEL-7 | libtiffppc64le | Advisory build | 4.0.3-35.el7_9.1 | RHSA-2025:21407 |
| Red Hat Enterprise Linux | RHEL-7 | libtiffs390 | Advisory build | 4.0.3-35.el7_9.1 | RHSA-2025:21407 |
| Red Hat Enterprise Linux | RHEL-7 | libtiffs390x | Advisory build | 4.0.3-35.el7_9.1 | RHSA-2025:21407 |
| Red Hat Enterprise Linux | RHEL-7 | libtiffsrc | Advisory build | 4.0.3-35.el7_9.1 | RHSA-2025:21407 |
| Red Hat Enterprise Linux | RHEL-7 | libtiffx86_64 | Advisory build | 4.0.3-35.el7_9.1 | RHSA-2025:21407 |
| Red Hat Enterprise Linux | RHEL-7 | libtiff-statici686 | Advisory build | 4.0.3-35.el7_9.1 | RHSA-2025:21407 |
| Red Hat Enterprise Linux | RHEL-7 | libtiff-staticppc | Advisory build | 4.0.3-35.el7_9.1 | RHSA-2025:21407 |
| Red Hat Enterprise Linux | RHEL-7 | libtiff-staticppc64 | Advisory build | 4.0.3-35.el7_9.1 | RHSA-2025:21407 |
| Red Hat Enterprise Linux | RHEL-7 | libtiff-staticppc64le | Advisory build | 4.0.3-35.el7_9.1 | RHSA-2025:21407 |
| Red Hat Enterprise Linux | RHEL-7 | libtiff-statics390 | Advisory build | 4.0.3-35.el7_9.1 | RHSA-2025:21407 |
| Red Hat Enterprise Linux | RHEL-7 | libtiff-statics390x | Advisory build | 4.0.3-35.el7_9.1 | RHSA-2025:21407 |
| Red Hat Enterprise Linux | RHEL-7 | libtiff-staticx86_64 | Advisory build | 4.0.3-35.el7_9.1 | RHSA-2025:21407 |
| Red Hat Enterprise Linux | RHEL-7 | libtiff-toolsppc64 | Advisory build | 4.0.3-35.el7_9.1 | RHSA-2025:21407 |
| Red Hat Enterprise Linux | RHEL-7 | libtiff-toolsppc64le | Advisory build | 4.0.3-35.el7_9.1 | RHSA-2025:21407 |
| Red Hat Enterprise Linux | RHEL-7 | libtiff-toolss390x | Advisory build | 4.0.3-35.el7_9.1 | RHSA-2025:21407 |
| Red Hat Enterprise Linux | RHEL-7 | libtiff-toolsx86_64 | Advisory build | 4.0.3-35.el7_9.1 | RHSA-2025:21407 |
| Red Hat Enterprise Linux | RHEL-8 | libtiffaarch64 | Advisory build | 4.0.9-36.el8_10 | RHSA-2025:20034 |
| Red Hat Enterprise Linux | RHEL-8 | libtiffi686 | Advisory build | 4.0.9-36.el8_10 | RHSA-2025:20034 |
| Red Hat Enterprise Linux | RHEL-8 | libtiffppc64le | Advisory build | 4.0.9-36.el8_10 | RHSA-2025:20034 |
| Red Hat Enterprise Linux | RHEL-8 | libtiffs390x | Advisory build | 4.0.9-36.el8_10 | RHSA-2025:20034 |
| Red Hat Enterprise Linux | RHEL-8 | libtiffsrc | Advisory build | 4.0.9-36.el8_10 | RHSA-2025:20034 |
| Red Hat Enterprise Linux | RHEL-8 | libtiffx86_64 | Advisory build | 4.0.9-36.el8_10 | RHSA-2025:20034 |
| Red Hat Enterprise Linux | RHEL-8 | libtiff-debuginfoaarch64 | Advisory build | 4.0.9-36.el8_10 | RHSA-2025:20034 |
| Red Hat Enterprise Linux | RHEL-8 | libtiff-debuginfoi686 | Advisory build | 4.0.9-36.el8_10 | RHSA-2025:20034 |
| Red Hat Enterprise Linux | RHEL-8 | libtiff-debuginfoppc64le | Advisory build | 4.0.9-36.el8_10 | RHSA-2025:20034 |
| Red Hat Enterprise Linux | RHEL-8 | libtiff-debuginfos390x | Advisory build | 4.0.9-36.el8_10 | RHSA-2025:20034 |
| Red Hat Enterprise Linux | RHEL-8 | libtiff-debuginfox86_64 | Advisory build | 4.0.9-36.el8_10 | RHSA-2025:20034 |
| Red Hat Enterprise Linux | RHEL-8 | libtiff-debugsourceaarch64 | Advisory build | 4.0.9-36.el8_10 | RHSA-2025:20034 |
| Red Hat Enterprise Linux | RHEL-8 | libtiff-debugsourcei686 | Advisory build | 4.0.9-36.el8_10 | RHSA-2025:20034 |
| Red Hat Enterprise Linux | RHEL-8 | libtiff-debugsourceppc64le | Advisory build | 4.0.9-36.el8_10 | RHSA-2025:20034 |
| Red Hat Enterprise Linux | RHEL-8 | libtiff-debugsources390x | Advisory build | 4.0.9-36.el8_10 | RHSA-2025:20034 |
| Red Hat Enterprise Linux | RHEL-8 | libtiff-debugsourcex86_64 | Advisory build | 4.0.9-36.el8_10 | RHSA-2025:20034 |
| Red Hat Enterprise Linux | RHEL-8 | libtiff-develaarch64 | Advisory build | 4.0.9-36.el8_10 | RHSA-2025:20034 |
| Red Hat Enterprise Linux | RHEL-8 | libtiff-develi686 | Advisory build | 4.0.9-36.el8_10 | RHSA-2025:20034 |
| Red Hat Enterprise Linux | RHEL-8 | libtiff-develppc64le | Advisory build | 4.0.9-36.el8_10 | RHSA-2025:20034 |
| Red Hat Enterprise Linux | RHEL-8 | libtiff-devels390x | Advisory build | 4.0.9-36.el8_10 | RHSA-2025:20034 |
| Red Hat Enterprise Linux | RHEL-8 | libtiff-develx86_64 | Advisory build | 4.0.9-36.el8_10 | RHSA-2025:20034 |
| Red Hat Enterprise Linux | RHEL-8 | libtiff-toolsaarch64 | Advisory build | 4.0.9-36.el8_10 | RHSA-2025:20034 |
| Red Hat Enterprise Linux | RHEL-8 | libtiff-toolsppc64le | Advisory build | 4.0.9-36.el8_10 | RHSA-2025:20034 |
| Red Hat Enterprise Linux | RHEL-8 | libtiff-toolss390x | Advisory build | 4.0.9-36.el8_10 | RHSA-2025:20034 |
| Red Hat Enterprise Linux | RHEL-8 | libtiff-toolsx86_64 | Advisory build | 4.0.9-36.el8_10 | RHSA-2025:20034 |
| Red Hat Enterprise Linux | RHEL-8 | libtiff-tools-debuginfoaarch64 | Advisory build | 4.0.9-36.el8_10 | RHSA-2025:20034 |
| Red Hat Enterprise Linux | RHEL-8 | libtiff-tools-debuginfoi686 | Advisory build | 4.0.9-36.el8_10 | RHSA-2025:20034 |
| Red Hat Enterprise Linux | RHEL-8 | libtiff-tools-debuginfoppc64le | Advisory build | 4.0.9-36.el8_10 | RHSA-2025:20034 |
| Red Hat Enterprise Linux | RHEL-8 | libtiff-tools-debuginfos390x | Advisory build | 4.0.9-36.el8_10 | RHSA-2025:20034 |
| Red Hat Enterprise Linux | RHEL-8 | libtiff-tools-debuginfox86_64 | Advisory build | 4.0.9-36.el8_10 | RHSA-2025:20034 |
| Red Hat Enterprise Linux | RHEL-8 | mingw-libtiffsrc | Advisory build | 4.0.9-3.el8_10 | RHSA-2025:19906 |
| Red Hat Enterprise Linux | RHEL-8 | mingw32-libtiffnoarch | Advisory build | 4.0.9-3.el8_10 | RHSA-2025:19906 |
| Red Hat Enterprise Linux | RHEL-8 | mingw32-libtiff-debuginfonoarch | Advisory build | 4.0.9-3.el8_10 | RHSA-2025:19906 |
| Red Hat Enterprise Linux | RHEL-8 | mingw32-libtiff-staticnoarch | Advisory build | 4.0.9-3.el8_10 | RHSA-2025:19906 |
| Red Hat Enterprise Linux | RHEL-8 | mingw64-libtiffnoarch | Advisory build | 4.0.9-3.el8_10 | RHSA-2025:19906 |
| Red Hat Enterprise Linux | RHEL-8 | mingw64-libtiff-debuginfonoarch | Advisory build | 4.0.9-3.el8_10 | RHSA-2025:19906 |
| Red Hat Enterprise Linux | RHEL-8 | mingw64-libtiff-staticnoarch | Advisory build | 4.0.9-3.el8_10 | RHSA-2025:19906 |
| Red Hat Enterprise Linux | RHEL-8 | spice-client-winsrc | Advisory build | 8.10-3.el8_2.1 | RHSA-2026:0078 |
| Red Hat Enterprise Linux | RHEL-8 | spice-client-winsrc | Advisory build | 8.10-3.el8_4.1 | RHSA-2026:0077 |
| Red Hat Enterprise Linux | RHEL-8 | spice-client-winsrc | Advisory build | 8.10-3.el8_6.1 | RHSA-2026:0076 |
| Red Hat Enterprise Linux | RHEL-8 | spice-client-winsrc | Advisory build | 8.10-3.el8_8.1 | RHSA-2026:0001 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
A vulnerability was found in LibTIFF up to 4.7.0. It has been declared as critical. This vulnerability affects the function get_histogram of the file tools/tiffmedian.c. The manipulation leads to use after free. The attack needs to be approached locally. The exploit has been disclosed to the public and may be used. The patch is identified as fe10872e53efba9cc36c66ac4ab3b41a839d5172. It is recommended to apply a patch to fix this issue.
In LibTIFF bis 4.7.0 wurde eine Schwachstelle ausgemacht. Sie wurde als kritisch eingestuft. Es geht um die Funktion get_histogram der Datei tools/tiffmedian.c. Durch das Beeinflussen mit unbekannten Daten kann eine use after free-Schwachstelle ausgenutzt werden. Die Umsetzung des Angriffs hat dabei lokal zu erfolgen. Der Exploit steht zur öffentlichen Verfügung. Der Patch wird als fe10872e53efba9cc36c66ac4ab3b41a839d5172 bezeichnet. Als bestmögliche Massnahme wird Patching empfohlen.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 4.8 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.3 | medium | VulDB · cna | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C | — |
| 3.0 | 5.3 | medium | VulDB · cna | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C | — |
| 2.0 | 4.3 | medium | VulDB · cna | AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | LibTIFF | 4.0 (affected)4.1 (affected)4.2 (affected)4.3 (affected)4.4 (affected)4.5 (affected)4.6 (affected)4.7.0 (affected) | VulDB · cna |
Weaknesses
2- CWE-416 Use After Free
- CWE-119 Memory Corruption
References
7- http://www.libtiff.org/
- https://gitlab.com/libtiff/libtiff/-/commit/fe10872e53efba9cc36c66ac4ab3b41a839d5172
- https://gitlab.com/libtiff/libtiff/-/issues/707
- https://gitlab.com/libtiff/libtiff/-/merge_requests/727
- VDB-317590 | CTI Indicators (IOB, IOC, IOA) https://vuldb.com/?ctiid.317590
- VDB-317590 | LibTIFF tiffmedian.c get_histogram use after free https://vuldb.com/?id.317590
- Submit #621796 | LibTIFF v4.7.0 Use After Free https://vuldb.com/?submit.621796
Provider assertions
2VulDB · cna
LibTIFF tiffmedian.c get_histogram use after free
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- e4f3e2e04ab11ade267f7e78a0079a03634d6e978770d7eea7492ef7447433bb
- Ingested
- 23 Sep 2026, 08:58:57 UTC
- Source record
- Official CVE record