CVE-2025-8851

Source
https://cve.org/CVERecord?id=CVE-2025-8851
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-8851.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-8851
Downstream
AZL (2)
CGA (2)
DEBIAN (1)
ECHO (1)
JLSEC (1)
MINI (1)
OESA (3)
openSUSE (3)
ROOT (1)
SUSE (4)
UBUNTU (1)
Related
Published
2025-08-11T13:32:08Z
Modified
2026-10-22T19:04:55Z
Severity
  • 4.8 (Medium) CVSS_V4 - 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:X CVSS Calculator
Summary
LibTIFF tiffcrop tiffcrop.c readSeparateStripsetoBuffer stack-based overflow
Details

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.

Database specific
{
    "cna_assigner": "VulDB",
    "cwe_ids": [
        "CWE-119",
        "CWE-121"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/8xxx/CVE-2025-8851.json"
}
References

Affected packages

Git / gitlab.com/libtiff/libtiff

Affected ranges

Type
GIT
Repo
https://gitlab.com/libtiff/libtiff
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "4.5.0"
                },
                {
                    "last_affected": "4.5.0"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandaloneSingleVersion"
        },
        {
            "range": [
                {
                    "introduced": "4.5.1"
                },
                {
                    "last_affected": "4.5.1"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandaloneSingleVersion"
        },
        {
            "range": [
                {
                    "fixed": "8a7a48d7a645992ca83062b3a1873c951661e2b3"
                }
            ],
            "source": "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

4.*
4.5.0
4.5.1
v4.*
v4.5.0
v4.5.0rc3
v4.5.1
v4.5.1rc1
v4.5.1rc2
v4.5.1rc3
v4.6.0rc1

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-8851.json"
vanir_signatures
[
    {
        "deprecated": false,
        "digest": {
            "function_hash": "125298522252730818421245691744552631017",
            "length": 3979
        },
        "id": "CVE-2025-8851-28bcd593",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://gitlab.com/libtiff/libtiff@8a7a48d7a645992ca83062b3a1873c951661e2b3",
        "target": {
            "file": "tools/tiffcrop.c",
            "function": "readSeparateStripsIntoBuffer"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "34022840763250157474568839397085064740",
            "length": 6924
        },
        "id": "CVE-2025-8851-3452ee39",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://gitlab.com/libtiff/libtiff@8a7a48d7a645992ca83062b3a1873c951661e2b3",
        "target": {
            "file": "tools/tiffcrop.c",
            "function": "computeInputPixelOffsets"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "36454668606399299175254352562079297732",
                "86593624022343917326464537104057332182",
                "297816011729360198695957399470278816102",
                "123861256728091389215896363249692244411",
                "71546548977246555874571454000912003165",
                "94270534225520452429230680293087787513",
                "53691178128712445025392756347489050518",
                "79977354643059646240846593326149536825",
                "316069950000112904847962696635819942549",
                "139935833162598263634426386551541950132",
                "147554800457837394638369826680900780974",
                "209794363378237830095653664224621081086",
                "168178383345132606674997683275615763509",
                "15171199821626497939431793220763544586",
                "92829902071770722406479005335305883946",
                "276141438418785306018475415495915166670",
                "63487499956538644684707008804100484765",
                "41288238668761617364167757964345005628",
                "283471126993750564820383235345562369159",
                "211905676596364823751247821756842415302",
                "120661997554235405725421301863932165211",
                "79884091891383752394662996787880551727",
                "84885903517656229598501670325406677430"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2025-8851-91eb4ae2",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://gitlab.com/libtiff/libtiff@8a7a48d7a645992ca83062b3a1873c951661e2b3",
        "target": {
            "file": "tools/tiffcrop.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "29294408729669865357160709214619444427",
            "length": 5283
        },
        "id": "CVE-2025-8851-97860ee1",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://gitlab.com/libtiff/libtiff@8a7a48d7a645992ca83062b3a1873c951661e2b3",
        "target": {
            "file": "tools/tiffcrop.c",
            "function": "computeOutputPixelOffsets"
        }
    }
]
vanir_signatures_modified
"2026-10-22T19:04:55Z"