Pillow is a Python imaging library. From 12.0.0 until 13.0.0, Pillow's Image.merge() can dereference a null image8 plane. Validation skips the first input band, allowing a 32-bit integer or floating-point image backed by image32 storage to be merged as a narrower multiband image. A crafted IPTC file can reach this path when an application opens and loads it, or a caller can invoke Image.merge() directly with such a first band. This causes a native process crash. This issue is fixed in version 13.0.0.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-476"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112405.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "12.0.0"
},
{
"fixed": "13.0.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
}
]
},
{
"extracted_events": [
{
"range": [
{
"fixed": "13.0.0"
}
],
"source": "DESCRIPTION"
}
]
}
]
}{
"extracted_events": [
{
"range": [
{
"fixed": "b6ee66e8b2c2c0932bdf65f963268d9f2927ef86"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "13.0.0",
"range": [
{
"fixed": "293218ad059d994baf1777d882911bed6a49704a"
}
],
"source": "REFERENCES_TAG"
}
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-112405.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "193459129178121911948828196224834832575",
"length": 2041
},
"id": "CVE-2026-112405-e32d4a67",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/python-pillow/pillow/commit/b6ee66e8b2c2c0932bdf65f963268d9f2927ef86",
"target": {
"file": "src/libImaging/Bands.c",
"function": "ImagingMerge"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"250794764123263324197498914438116061245",
"169091917877980220189679798427483786468",
"317878413223139980140027752359642102745",
"96082465364421759874928216317487010857",
"36359792585899783629032670261589713656",
"192839002253453241433723353730446181183",
"48317581898119425030675793569410991375",
"272611402321680526621265836179300503552",
"112935392692548227893262439151674231617",
"121360432752104958315734959606209274569",
"249399748374427168688481972367994878849",
"135018300971368061530998862149924570989",
"319416612265986988400971221204247619345",
"178491451249301220972997501332343829264",
"166562583417110962452184047892650187552",
"281756467319718804905225764719337120728",
"182046593354383855883375723427694871184",
"50476628973131086992474947479316544084",
"290551283469382941448589648393350357944",
"334717040422619420912784346337270231984"
],
"threshold": 0.9
},
"id": "CVE-2026-112405-f9c12e6d",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/python-pillow/pillow/commit/b6ee66e8b2c2c0932bdf65f963268d9f2927ef86",
"target": {
"file": "src/libImaging/Bands.c"
}
}
]
"2026-10-21T09:40:04Z"