{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-96636",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-09-23T14:35:50.130Z",
        "datePublished": "2026-10-21T21:05:20.850Z",
        "dateUpdated": "2026-10-21T21:05:20.850Z"
    },
    "containers": {
        "cna": {
            "title": "Pillow: Decompression-bomb protection bypass via multi-frame seek() in MPO and DCX (MpoImageFile.seek / DcxImageFile.seek)",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-400",
                            "lang": "en",
                            "description": "CWE-400: Uncontrolled Resource Consumption",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-409",
                            "lang": "en",
                            "description": "CWE-409: Improper Handling of Highly Compressed Data (Data Amplification)",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "HIGH",
                        "baseScore": 6.5,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "NONE",
                        "privilegesRequired": "NONE",
                        "scope": "UNCHANGED",
                        "userInteraction": "REQUIRED",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/python-pillow/Pillow/security/advisories/GHSA-p8hx-v2p6-rp84",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/python-pillow/Pillow/security/advisories/GHSA-p8hx-v2p6-rp84"
                },
                {
                    "name": "https://github.com/python-pillow/Pillow/pull/10011",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/python-pillow/Pillow/pull/10011"
                },
                {
                    "name": "https://github.com/python-pillow/Pillow/commit/f1acfc54c53502948d0d14121872061df931db48",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/python-pillow/Pillow/commit/f1acfc54c53502948d0d14121872061df931db48"
                },
                {
                    "name": "https://github.com/python-pillow/Pillow/releases/tag/13.0.0",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/python-pillow/Pillow/releases/tag/13.0.0"
                }
            ],
            "affected": [
                {
                    "vendor": "python-pillow",
                    "product": "Pillow",
                    "versions": [
                        {
                            "version": "< 13.0.0",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-10-21T21:05:20.850Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Pillow is a Python imaging library. Prior to 13.0.0, MpoImageFile.seek() and DcxImageFile.seek() reparse later MPO or DCX frames and replace self._size without rerunning Image._decompression_bomb_check(). A crafted multi-frame image can use a tiny first frame to pass Image.open() and then declare an over-limit later frame. Normal frame iteration through seek(), load(), or ImageSequence.Iterator can decode that frame and commit hundreds of megabytes or more, causing memory-exhaustion denial of service. This issue is fixed in version 13.0.0."
                }
            ],
            "source": {
                "advisory": "GHSA-p8hx-v2p6-rp84",
                "discovery": "UNKNOWN"
            }
        }
    }
}