CVE-2026-25990

Source
https://cve.org/CVERecord?id=CVE-2026-25990
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-25990.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-25990
Aliases
Downstream
Related
Published
2026-02-11T20:53:52.524Z
Modified
2026-07-23T08:25:08.380897Z
Severity
  • 8.6 (High) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
Pillow has an out-of-bounds write when loading PSD images
Details

Pillow is a Python imaging library. From 10.3.0 to before 12.1.1, an out-of-bounds write may be triggered when loading a specially crafted PSD image. This vulnerability is fixed in 12.1.1.

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

Affected packages

Git / github.com/python-pillow/pillow

Affected ranges

Type
GIT
Repo
https://github.com/python-pillow/pillow
Events
Database specific
{
    "extracted_events": [
        {
            "introduced": "10.3.0"
        },
        {
            "fixed": "12.1.1"
        }
    ],
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ],
    "cpe": "cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*"
}

Affected versions

10.*
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

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-25990.json"
vanir_signatures_modified
"2026-07-23T08:25:08Z"
vanir_signatures
[
    {
        "digest": {
            "line_hashes": [
                "229877032534658977623741786717659447044",
                "319974852630686695120822858934520984635",
                "116638166775813595046580037362080071046",
                "215184650403678509934958989381934626184"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-25990-aee91039",
        "deprecated": false,
        "signature_version": "v1",
        "source": "https://github.com/python-pillow/pillow/commit/9000313cc5d4a31bdcdd6d7f0781101abab553aa",
        "signature_type": "Line",
        "target": {
            "file": "src/encode.c"
        }
    },
    {
        "digest": {
            "function_hash": "234504920600121291969141422632203918330",
            "length": 1136.0
        },
        "id": "CVE-2026-25990-cbeaa7be",
        "deprecated": false,
        "signature_version": "v1",
        "source": "https://github.com/python-pillow/pillow/commit/9000313cc5d4a31bdcdd6d7f0781101abab553aa",
        "signature_type": "Function",
        "target": {
            "function": "_setimage",
            "file": "src/encode.c"
        }
    },
    {
        "digest": {
            "line_hashes": [
                "239855394713965671458712582677481759630",
                "306750425315581094017714380387831410748",
                "138410729778201785556805472567368274465",
                "25558607824357045323675274244141785619"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-25990-d050afcc",
        "deprecated": false,
        "signature_version": "v1",
        "source": "https://github.com/python-pillow/pillow/commit/9000313cc5d4a31bdcdd6d7f0781101abab553aa",
        "signature_type": "Line",
        "target": {
            "file": "src/decode.c"
        }
    },
    {
        "digest": {
            "function_hash": "270383409341186395449353466342428425790",
            "length": 1181.0
        },
        "id": "CVE-2026-25990-f5eda44c",
        "deprecated": false,
        "signature_version": "v1",
        "source": "https://github.com/python-pillow/pillow/commit/9000313cc5d4a31bdcdd6d7f0781101abab553aa",
        "signature_type": "Function",
        "target": {
            "function": "_setimage",
            "file": "src/decode.c"
        }
    }
]