Summary
Hugo van Kemenade discovered that Pillow was not properly performing
bounds checks when processing an ICC file, which could lead to a buffer
overflow. If a user or automated system were tricked into processing a
specially crafted ICC file, an attacker could possibly use this issue
to cause a denial of service or execute arbitrary code.
Fixed packages 5
| Release | Package | Fixed in |
|---|---|---|
| Ubuntu · 20.04 LTS 20.04:LTS | pillow | 7.0.0-4ubuntu0.9 |
| Ubuntu · 22.04 LTS 22.04:LTS | pillow | 9.0.1-1ubuntu0.3 |
| Ubuntu · Pro 14.04 LTS Pro:14.04:LTS | pillow | 2.3.0-1ubuntu3.4+esm4 |
| Ubuntu · Pro 16.04 LTS Pro:16.04:LTS | pillow | 3.1.2-0ubuntu1.6+esm2 |
| Ubuntu · Pro 18.04 LTS Pro:18.04:LTS | pillow | 5.1.0-1ubuntu0.8+esm1 |
Vulnerabilities 1
-
Medium 6.7
Pillow buffer overflow vulnerability
In _imagingcms.c in Pillow before 10.3.0, a buffer overflow exists because strcpy is used instead of strncpy.
References
-
report
https://ubuntu.com/security/CVE-2024-28219