{
  "id": "CVE-2025-48379",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-48379",
  "published_at": "2025-07-01T18:33:30.687Z",
  "title": "Pillow Vulnerable to Write Buffer Overflow on BCn encoding",
  "vendor": "python-pillow",
  "product": "Pillow",
  "cvss": {
    "score": 7.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Pillow is a Python imaging library. In versions 11.2.0 to before 11.3.0, there is a heap buffer overflow when writing a sufficiently large (\u003e64k encoded with default settings) image in the DDS format due to writing into a buffer without checking for available space. This only affects users who save untrusted data as a compressed DDS image. This issue has been patched in version 11.3.0.",
  "cwe": "CWE-122",
  "cpes": [
    "cpe:2.3:a:python:pillow:11.2.1:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.1,
    "nvd": 5.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "python-pillow",
        "product": "Pillow",
        "ranges": [
          "\u003e= 11.2.0, \u003c 11.3.0"
        ],
        "fixed_in": [
          "11.3.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Pillow to 11.3.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/python-pillow/Pillow/security/advisories/GHSA-xg8h-j46f-w952"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/python-pillow/Pillow/pull/9041"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/python-pillow/Pillow/commit/ef98b3510e3e4f14b547762764813d7e5ca3c5a4"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/python-pillow/Pillow/releases/tag/11.3.0"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
