cve.bz

CVE-2025-8851 libtiff libtiff: Stack-based Buffer Overflow

4.8 mediumEPSS 0.2%Fix available

Medium (4.8) in libtiff libtiff. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
A vulnerability was determined in LibTIFF up to 4.5.1. Affected by this issue is the function readSeparateStripsetoBuffer of the file tools/tiffcrop.c of the component tiffcrop. The manipulation leads to stack-based buffer overflow. Local access is required to approach this attack. The patch is identified as 8a7a48d7a645992ca83062b3a1873c951661e2b3. It is recommended to apply a patch to fix this issue.

Severity

CVSS 4.0

4.8 medium
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

CVSS 3.1

5.3 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 12th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2025-08-11. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
CWE-121 Stack-based Buffer Overflow
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-8851 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-8851?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-8851?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-8851 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
libtiff:libtiffthrough 4.5.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12tiffno fix listedDEBIAN-CVE-2025-8851
Debian13, 14tiff4.7.0-1DEBIAN-CVE-2025-8851
Ubuntu16.04:LTS, 26.04:LTStexmakerno fix listedUBUNTU-CVE-2025-8851
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTSneuronno fix listedUBUNTU-CVE-2025-8851
Ubuntu22.04:LTStiff4.3.0-6ubuntu0.11UBUNTU-CVE-2025-8851 USN-7707-1
Ubuntu24.04:LTStiff4.5.1+git230720-4ubuntu2.3UBUNTU-CVE-2025-8851 USN-7707-1
Ubuntu25.10, 26.10, Pro:18.04:LTS and 3 moretexmaker, qtwebengine-opensource-srcno fix listedUBUNTU-CVE-2025-8851
UbuntuPro:14.04:LTStiff4.0.3-7ubuntu0.11+esm15UBUNTU-CVE-2025-8851 USN-7707-1
UbuntuPro:14.04:LTS, Pro:16.04:LTSgdalno fix listedUBUNTU-CVE-2025-8851
UbuntuPro:16.04:LTStiff4.0.6-1ubuntu0.8+esm18UBUNTU-CVE-2025-8851 USN-7707-1
UbuntuPro:18.04:LTStiff4.0.9-5ubuntu0.10+esm8UBUNTU-CVE-2025-8851 USN-7707-1
UbuntuPro:20.04:LTStiff4.1.0+git191117-2ubuntu0.20.04.14+esm1UBUNTU-CVE-2025-8851 USN-7707-1
UbuntuPro:26.04:LTSqtwebengine-opensource-srcno fix listedUBUNTU-CVE-2025-8851
SUSELinux Enterprise Module for Basesystem 15 SP6, Linux Enterprise Module for Basesystem 15 SP7, Linux Enterprise Module for Package Hub 15 SP6 and 1 moretiff4.7.1-150600.3.23.1SUSE-SU-2025:3957-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0tiff4.7.1-160000.2.1SUSE-SU-2026:22306-1
SUSELinux Enterprise Server LTSS Extended Security 12 SP5tiff4.0.9-44.106.1SUSE-SU-2025:3989-1
SUSELinux Micro 6.2tiff4.7.1-160000.2.1SUSE-SU-2026:22234-1
openSUSELeap 15.6tiff4.7.1-150600.3.23.1SUSE-SU-2025:3957-1
openSUSELeap 16.0tiff, tiff-man4.7.1-160000.2.1openSUSE-SU-2026:20995-1
openSUSETumbleweedtiff4.7.1-3.1openSUSE-SU-2025:15682-1
openSUSETumbleweedtkimg2.1.0-1.1openSUSE-SU-2025:15556-1
Azure Linux2libtiff4.6.0-8AZL-66282
Azure Linux3libtiff4.6.0-8AZL-66258

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6libtiffOut of support scope
Red Hat Enterprise Linux 7compat-libtiff3Out of support scope
Red Hat Enterprise Linux 7libtiffOut of support scope
Red Hat Enterprise Linux 8compat-libtiff3Will not fix
Red Hat Enterprise Linux 8libtiffWill not fix
Red Hat Enterprise Linux 8mingw-libtiffWill not fix
Red Hat Enterprise Linux 9libtiffWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-8851.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12).

References

Check your stackJSON