Pillow is a Python imaging library. Prior to 13.0.0, Pillow's XBM header parser is vulnerable to regular-expression denial of service. In XbmImageFile...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Debian:12pillow |
All versions→ Not listed |
Not listed |
| Debian:13pillow |
All versions→ Not listed |
Not listed |
| Debian:14pillow |
< 13.0.0-1→ 13.0.0-1 |
13.0.0-1 |
Original description The description as published by the source.
Pillow is a Python imaging library. Prior to 13.0.0, Pillow's XBM header parser is vulnerable to regular-expression denial of service. In XbmImageFile._open, when an application calls Image.open() on a small crafted XBM file, XbmImagePlugin applies a backtracking expression to the attacker-controlled header before image dimensions are accepted, stalling a worker for minutes and denying service. This issue is fixed in version 13.0.0.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory security-tracker.debian.org