CVE-2025-48379
Pillow Vulnerable to Write Buffer Overflow on BCn encoding
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 (>64k 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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.327% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:59:58.648Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 7.1 · published by GitHub_MCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Assessment source · checked 2026-11-19T12:57:36.364Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:59:58.648Z | CISA KEV |
| cvss | verified | 2026-11-19T12:57:36.364Z | CVE Program |
| epss | verified | 2026-11-19T16:04:41.400Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:18.502Z | OSV |
| affected | verified | 2026-11-19T12:57:36.364Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:57:36.364Z | CVE Program |
Affected versions and configuration
python-pillow Pillow; default status: unknown: >= 11.2.0, < 11.3.0 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "python-pillow",
"product": "Pillow",
"versions": [
{
"status": "affected",
"version": ">= 11.2.0, < 11.3.0"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2025-48379",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2025-07-01T19:42:09.269034Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-07-01T19:42:22.348Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-xg8h-j46f-w952",
"aliases": [
"BIT-pillow-2025-48379",
"CVE-2025-48379",
"PYSEC-2025-61"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "11.2.0"
},
{
"fixed": "11.3.0"
}
]
}
],
"package": {
"name": "pillow",
"purl": "pkg:pypi/pillow",
"ecosystem": "PyPI"
},
"versions": [
"11.2.1"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/07/GHSA-xg8h-j46f-w952/GHSA-xg8h-j46f-w952.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/python-pillow/Pillow/security/advisories/GHSA-xg8h-j46f-w952",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-48379",
"type": "ADVISORY"
},
{
"url": "https://github.com/python-pillow/Pillow/pull/9041",
"type": "WEB"
},
{
"url": "https://github.com/python-pillow/Pillow/commit/ef98b3510e3e4f14b547762764813d7e5ca3c5a4",
"type": "WEB"
},
{
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2025-61.yaml",
"type": "WEB"
},
{
"url": "https://github.com/python-pillow/Pillow",
"type": "PACKAGE"
},
{
"url": "https://github.com/python-pillow/Pillow/releases/tag/11.3.0",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-122"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2025-07-01T19:15:27Z",
"github_reviewed_at": "2025-07-01T17:29:37Z"
}
}Archived source JSONOSV · osv · full conditions
{
"id": "PYSEC-2025-61",
"aliases": [
"BIT-pillow-2025-48379",
"CVE-2025-48379",
"GHSA-xg8h-j46f-w952"
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/python-pillow/pillow",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "89f1f4626a2aaf5f3d5ca6437f41def2998fbe09"
},
{
"fixed": "ef98b3510e3e4f14b547762764813d7e5ca3c5a4"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "11.2.0"
},
{
"fixed": "11.3.0"
}
]
}
],
"package": {
"name": "pillow",
"purl": "pkg:pypi/pillow",
"ecosystem": "PyPI"
},
"versions": [
"11.2.0",
"11.2.1"
],
"database_specific": {
"source": "https://github.com/pypa/advisory-database/blob/main/vulns/pillow/PYSEC-2025-61.yaml"
}
}
],
"severity": [],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/python-pillow/Pillow/security/advisories/GHSA-xg8h-j46f-w952",
"type": "ADVISORY"
},
{
"url": "https://github.com/python-pillow/Pillow/commit/ef98b3510e3e4f14b547762764813d7e5ca3c5a4",
"type": "FIX"
},
{
"url": "https://github.com/python-pillow/Pillow/pull/9041",
"type": "WEB"
},
{
"url": "https://github.com/python-pillow/Pillow/releases/tag/11.3.0",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | PyPI / package | pillow | Not a distribution channel | 11.3.0 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:18.502ZArchived source JSON
Source publication: 2025-07-01T17:29:37.000Z
Source modification: 2026-09-10T03:50:26.431ZDocument fingerprint
7841b6cd095d8124afcf08eb6d62fae499d65ba3c479f0ba0d61d936705802fd - OSVConsulted: 2026-11-19T12:52:18.502ZArchived source JSON
Source publication: 2025-07-01T19:15:27.000Z
Source modification: 2025-07-07T14:12:46.226ZDocument fingerprint
7841b6cd095d8124afcf08eb6d62fae499d65ba3c479f0ba0d61d936705802fd - CISA KEVConsulted: 2026-11-19T17:59:58.648ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - CVE ProgramConsulted: 2026-11-19T12:57:36.364ZArchived source JSON
Source publication: 2025-07-01T18:33:30.687Z
Source modification: 2025-07-01T19:42:22.348ZDocument fingerprint
942f7cbdda4b08e66809121f48ba9f136761fe12683a86f2241124aba1dd0e7c - FIRST EPSSConsulted: 2026-11-19T16:04:41.400ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
f09be0d3d341523449dfe0173665abd1b9add96747dee46d79511157a4bcd3c7
Official status history
- UNKNOWN → PUBLISHED · · evidence