CVE-2026-112405

Source
https://cve.org/CVERecord?id=CVE-2026-112405
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-112405.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-112405
Aliases
Downstream
ALSA (1)
CGA (44)
CLEANSTART (2)
CLSA (7)
DEBIAN (1)
DHI (1)
ECHO (1)
openSUSE (2)
RHSA (9)
RLSA (1)
ROOT (1)
SUSE (4)
UBUNTU (1)
Related
Published
2026-10-19T21:29:53Z
Modified
2026-11-15T17:28:02Z
Severity
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
Pillow: NULL pointer dereference in Image.merge via an unvalidated band 0
Details

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.

Database specific
{
    "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"
}
References

Affected packages

Git / github.com/python-pillow/pillow

Affected ranges

Type
GIT
Repo
https://github.com/python-pillow/pillow
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "cpe":  "cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "12.0.0"
                },
                {
                    "fixed":  "13.0.0"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "range":  [
                {
                    "fixed":  "b6ee66e8b2c2c0932bdf65f963268d9f2927ef86"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "13.0.0",
            "range":  [
                {
                    "fixed":  "293218ad059d994baf1777d882911bed6a49704a"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

12.*
12.0.0
12.1.0
12.2.0
12.3.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-112405.json"
vanir_signatures
[
    {
        "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"
        }
    }
]
vanir_signatures_modified
"2026-10-29T07:24:16Z"