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.
{
"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"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-25990.json"
"2026-07-23T08:25:08Z"
[
{
"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"
}
}
]