{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-112401",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-10-19T16:58:51.959Z",
        "datePublished": "2026-10-19T21:15:21.484Z",
        "dateUpdated": "2026-10-19T21:15:21.484Z"
    },
    "containers": {
        "cna": {
            "title": "Pillow: Quadratic GIF comment concatenation allows DoS in Image.open()",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-407",
                            "lang": "en",
                            "description": "CWE-407: Inefficient Algorithmic Complexity",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "attackRequirements": "NONE",
                        "privilegesRequired": "NONE",
                        "userInteraction": "NONE",
                        "vulnConfidentialityImpact": "NONE",
                        "vulnIntegrityImpact": "NONE",
                        "vulnAvailabilityImpact": "LOW",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 6.9,
                        "baseSeverity": "MEDIUM",
                        "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N",
                        "version": "4.0"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/python-pillow/Pillow/security/advisories/GHSA-74r2-7ff9-mjj2",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/python-pillow/Pillow/security/advisories/GHSA-74r2-7ff9-mjj2"
                },
                {
                    "name": "https://github.com/python-pillow/Pillow/commit/68a3fe957d8a4d552e8c69d96066d749f0614c7e",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/python-pillow/Pillow/commit/68a3fe957d8a4d552e8c69d96066d749f0614c7e"
                },
                {
                    "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": ">= 5.4.0, < 13.0.0",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-10-19T21:15:21.484Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Pillow is a Python imaging library. From 5.4.0 until 13.0.0, Pillow performs quadratic copying while parsing GIF comments. GifImageFile._seek() repeatedly appends immutable bytes for comment sub-blocks and multiple comment extensions, and frame zero is parsed during Image.open(). An attacker can submit a small-dimension GIF containing many comment extensions to any application that opens the file. This can consume excessive CPU and deny service before the application can inspect the image. This issue is fixed in version 13.0.0."
                }
            ],
            "source": {
                "advisory": "GHSA-74r2-7ff9-mjj2",
                "discovery": "UNKNOWN"
            }
        }
    }
}