CVE-2026-112902

Source
https://cve.org/CVERecord?id=CVE-2026-112902
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-112902.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-112902
Aliases
Downstream
CGA (44)
CLEANSTART (2)
DEBIAN (1)
ECHO (1)
openSUSE (3)
ROOT (1)
SUSE (4)
UBUNTU (1)
Related
Published
2026-11-05T20:38:07Z
Modified
2026-11-17T13:40:51Z
Severity
  • 8.3 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
Pillow: Memory disclosure and segfault in libtiff encoder via crafted TIFF tags
Details

Pillow is a Python imaging library. In versions through 12.3.0, the libtiff TIFF encoder can pass arguments to  TIFFSetField()  that do not match libtiff’s definition of the corresponding tag. When an application saves attacker-controlled image metadata through this encoder, crafted tag values can cause invalid memory reads, copying process memory into the encoded output or crashing the process. Applications that return the encoded output to an attacker can disclose that memory. The issue is reachable when re-saving compressed TIFF images and through certain conversions that preserve EXIF metadata into compressed TIFF output. This vulnerability is fixed in version 13.0.0.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-686"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112902.json"
}
References

Affected packages

Git / github.com/python-pillow/pillow

Affected ranges

Type
GIT
Repo
https://github.com/python-pillow/pillow
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "cpe": "cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "fixed": "13.0.0"
                }
            ],
            "source": "CPE_RANGE"
        },
        {
            "range": [
                {
                    "fixed": "570df030c0d30c2bf5336b2ab59f3902d8ab0b6d"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "original_tag": "13.0.0",
            "range": [
                {
                    "fixed": "293218ad059d994baf1777d882911bed6a49704a"
                }
            ],
            "source": "REFERENCES_TAG"
        }
    ]
}

Affected versions

1.*
1.0
1.2
1.7.7
1.7.8
10.*
10.0.0
10.1.0
10.2.0
10.3.0
10.4.0
11.*
11.0.0
11.1.0
11.2.1
11.3.0
12.*
12.0.0
12.1.0
12.2.0
12.3.0
2.*
2.0.0
2.1.0
2.2.0
2.2.1
2.3.0
2.5.0
2.7.0
2.8.0
2.8.1
2.9.0
2.9.0.dev0
2.9.0.dev1
2.9.0.dev2
3.*
3.1.0
3.1.0-rc1
3.2.0
3.3.0
3.4.0
4.*
4.0.0
4.0.0a
4.1.0
4.2.0
4.3.0
5.*
5.0.0
5.1.0
5.2.0
5.3.0
5.4.0
6.*
6.0.0
6.1.0
6.2.0
7.*
7.0.0
7.1.0
7.2.0
8.*
8.0.0
8.1.0
8.2.0
8.3.0
8.4.0
9.*
9.0.0
9.1.0
9.2.0
9.3.0
9.4.0
9.5.0

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-112902.json"
vanir_signatures
[
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "42345819334958621003018187150678158408",
                "303869106318999777827028131108887788492",
                "334472524397288459555396978597240563238"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-112902-21279f4a",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/python-pillow/pillow/commit/570df030c0d30c2bf5336b2ab59f3902d8ab0b6d",
        "target": {
            "file": "src/libImaging/TiffDecode.h"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "118390841253538294985025112245904824066",
                "185438035307531056132724964770939835128",
                "131760503468157407596521363272888970227"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-112902-272c4ed7",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/python-pillow/pillow/commit/570df030c0d30c2bf5336b2ab59f3902d8ab0b6d",
        "target": {
            "file": "src/libImaging/TiffDecode.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "31663412072167567292071745918771911969",
                "156407126177337599133681118550762429047",
                "168102959833345429135270736149579887239",
                "222833171588469118095547958305824666752",
                "288452519204264922779602858624427334446",
                "160515643009175413724317994799276623589",
                "90862337004545232035123727042791848674",
                "338563970373103409383744120760322714496",
                "297945895272607977117233708498414655770",
                "266287466044624288992283490921648757506",
                "85495679808000838609682773166131436629",
                "140427884361702632201978704930419630211",
                "328965028245693881223838630900833142750",
                "317054329359979277355042912922831355044",
                "282643644393118644121483899786509922545",
                "250524798063355812560065161740980194783",
                "34497289419477136010998666322502280067",
                "2805758609855817151558427205128647790",
                "158398276267281161875762842710672995072",
                "203543303376493210536631408402965842892",
                "178587616825665349604274822679730069020",
                "299684912966120883888708929775822965435",
                "264977409308143687859225540828082075664",
                "272922678930543919820023882596461743093",
                "332685200689475446204219949001249541717",
                "153106909487626332141558193159943284364",
                "245055199906934348685886930991309375649",
                "220698390134128230952256140361292353443",
                "276476372720168312181022489186403322735",
                "152977170281505624254778545732031163547",
                "320820418042134761145346990863434681890",
                "155603812962371314580891009414122727015",
                "43264574558648579476849654556173335008",
                "132259914308561545897836904661970549950",
                "153036591044858586819812828436598456280",
                "310319944975817709166556493084843504017",
                "337300229853968658243863417202280999382",
                "219870620128357392613503972514235796150",
                "125388874829374840999328262645264655399",
                "233289927763741350619565275907631821688",
                "310319944975817709166556493084843504017",
                "337300229853968658243863417202280999382",
                "219870620128357392613503972514235796150",
                "226551325755512062499117155711074308325",
                "137042560948371429005166857863817156496",
                "310319944975817709166556493084843504017",
                "337300229853968658243863417202280999382",
                "219870620128357392613503972514235796150",
                "82749340416082171130650061392001737877",
                "247291251810524292109007536747681704526",
                "310319944975817709166556493084843504017",
                "337300229853968658243863417202280999382",
                "219870620128357392613503972514235796150",
                "108677747470700341720258499553679343597",
                "225141265747668661975709403358554907282",
                "310319944975817709166556493084843504017",
                "337300229853968658243863417202280999382",
                "219870620128357392613503972514235796150",
                "100538515522810019787213940203264292472",
                "106537646735049083042979393621747908319",
                "310319944975817709166556493084843504017",
                "337300229853968658243863417202280999382",
                "219870620128357392613503972514235796150",
                "210206773521115290482100682274357166436",
                "257472424208648556249289125861503399342",
                "310319944975817709166556493084843504017",
                "337300229853968658243863417202280999382",
                "219870620128357392613503972514235796150",
                "85340654675027211831270861427910320607",
                "225141658808316735332962235943490380849",
                "41623671230694014818920495563135388328",
                "324147261030337942351042535251112000861",
                "35226059889809954777758679558399136055",
                "283160873378947736008267175874828654381",
                "184637128350686623209933795558161238403",
                "269540723257028677635949960941228675709",
                "251705034517598296573889117408188772415"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-112902-6cad89da",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/python-pillow/pillow/commit/570df030c0d30c2bf5336b2ab59f3902d8ab0b6d",
        "target": {
            "file": "src/encode.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "30668985768680872181706991011484992181",
            "length": 7617
        },
        "id": "CVE-2026-112902-ff572460",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/python-pillow/pillow/commit/570df030c0d30c2bf5336b2ab59f3902d8ab0b6d",
        "target": {
            "file": "src/encode.c",
            "function": "PyImaging_LibTiffEncoderNew"
        }
    }
]
vanir_signatures_modified
"2026-11-12T07:07:35Z"