DHI-dfrz-3ysd-cuer-ynrl
### Summary
- CVSS
- —
- EPSS
- —
- Published
- 2026-11-20
- Age
- 11d old
- Modified
- 2026-11-26
- Product
- datascience-notebook
Description
### Summary Every Pillow wheel from 11.1.0 onward bundles a libopenjp2 containing a heap-buffer-overflow **write** that is fixed upstream on master but has never appeared in an OpenJPEG release. See https://osv.dev/vulnerability/OSV-2025-219 Because the wheel bundles its own copy, a patched host OS does not help. It is reachable from `Image.open(fp); im.load()` with default settings. I am reporting it here rather than only upstream because Pillow is where the vulnerable binary actually reaches users. Note the inversion that makes this easy to miss: **OpenJPEG 2.5.2 and earlier are safe.** The bug was introduced in `954c6e3c` (2024-06-25), so keeping the dependency current is what creates the exposure. ### Details ## Affected wheels From `.github/dependencies.json` (`openjpeg`) at each tag: | Pillow | bundled OpenJPEG | status | |---|---|---| | 10.4.0 | 2.5.2 | safe | | 11.0.0 | 2.5.2 | safe | | **11.1.0, 11.2.1, 11.3.0** | **2.5.3** | **affected** | | **12.0.0 … 12.3.0** | **2.5.4** | **affected** | Confirmed on an installed wheel: `PIL.features.version_codec('jpg_2000')` → `2.5.4`, bundled file `pillow.libs/libopenjp2-*.so.2.5.4`. `main` still pins `2.5.4` as of 2026-10-06. ## The
Sources
- OSV · first seen 7d ago · CC-BY 4.0
References
- https://scout.docker.com/v/DHI-dfrz-3ysd-cuer-ynrl advisory
- https://github.com/advisories/GHSA-78g4-xqwv-q3g8 advisory
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-78g4-xqwv-q3g8 advisory
- https://github.com/uclouvain/openjpeg/commit/91d08b11a72764f6d199f32fa0c1b1abd4edc2ad fix
- https://github.com/python-pillow/Pillow/commit/d3470c327840f4c216a1610f30e7091dfd0b97c0 fix
- https://github.com/python-pillow/Pillow/commit/5f8114c8096b181fae493543cd3837d9f9a971cc fix
- https://github.com/python-pillow/Pillow/releases/tag/13.0.0 web