{"schema_version":"1.9.0","id":"CVE-2026-25990","published":"2026-02-11T20:53:52.524Z","modified":"2026-08-19T09:06:14.097933Z","aliases":["BIT-pillow-2026-25990","GHSA-cfh3-3jmp-rvhc","PYSEC-2026-2249"],"related":["CGA-w7gh-42x2-jfqf","SUSE-SU-2026:20992-1","openSUSE-SU-2026:10198-1","openSUSE-SU-2026:20458-1"],"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.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/python-pillow/pillow","events":[{"introduced":"5c89d88eee199ba53f64581ea39b6a1bc52feb1a"},{"fixed":"5158d98c807e719c5938aa3886913ef0ea6814e9"},{"fixed":"9000313cc5d4a31bdcdd6d7f0781101abab553aa"}],"database_specific":{"cpe":"cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"10.3.0"},{"fixed":"12.1.1"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["12.1.0","12.0.0","11.3.0","11.2.1","11.1.0","11.0.0","10.4.0","10.3.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-25990.json","vanir_signatures":[{"deprecated":false,"digest":{"line_hashes":["229877032534658977623741786717659447044","319974852630686695120822858934520984635","116638166775813595046580037362080071046","215184650403678509934958989381934626184"],"threshold":0.9},"id":"CVE-2026-25990-aee91039","signature_type":"Line","signature_version":"v1","source":"https://github.com/python-pillow/pillow/commit/9000313cc5d4a31bdcdd6d7f0781101abab553aa","target":{"file":"src/encode.c"}},{"deprecated":false,"digest":{"function_hash":"234504920600121291969141422632203918330","length":1136},"id":"CVE-2026-25990-cbeaa7be","signature_type":"Function","signature_version":"v1","source":"https://github.com/python-pillow/pillow/commit/9000313cc5d4a31bdcdd6d7f0781101abab553aa","target":{"file":"src/encode.c","function":"_setimage"}},{"deprecated":false,"digest":{"line_hashes":["239855394713965671458712582677481759630","306750425315581094017714380387831410748","138410729778201785556805472567368274465","25558607824357045323675274244141785619"],"threshold":0.9},"id":"CVE-2026-25990-d050afcc","signature_type":"Line","signature_version":"v1","source":"https://github.com/python-pillow/pillow/commit/9000313cc5d4a31bdcdd6d7f0781101abab553aa","target":{"file":"src/decode.c"}},{"deprecated":false,"digest":{"function_hash":"270383409341186395449353466342428425790","length":1181},"id":"CVE-2026-25990-f5eda44c","signature_type":"Function","signature_version":"v1","source":"https://github.com/python-pillow/pillow/commit/9000313cc5d4a31bdcdd6d7f0781101abab553aa","target":{"file":"src/decode.c","function":"_setimage"}}],"vanir_signatures_modified":"2026-08-19T09:06:14Z"}}],"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2026/02/12/1"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25990.json"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:10184"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:14873"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:14874"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:16174"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:19712"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:28385"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:3461"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:3462"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:4128"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:42644"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:4942"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:5168"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:5665"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:6277"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:6278"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:6308"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:6309"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:6497"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:6567"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:6568"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-25990"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25990.json"},{"type":"ADVISORY","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-cfh3-3jmp-rvhc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25990"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2439170"},{"type":"FIX","url":"https://github.com/python-pillow/Pillow/commit/9000313cc5d4a31bdcdd6d7f0781101abab553aa"}],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-787"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25990.json"},"severity":[{"type":"CVSS_V4","score":"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"}]}