Description
Multiple integer overflows in CamlImages 2.2 and earlier might allow context-dependent attackers to execute arbitrary code via a crafted PNG image with large width and height values that trigger a heap-based buffer overflow in the (1) read_png_file or (2) read_png_file_as_rgb24 function.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | advi | 1.6.0-15 | — |
| Debian 14 | camlimages | 1:3.0.1-2 | — |
| Debian 13 | advi | 1.6.0-15 | — |
| Debian 13 | camlimages | 1:3.0.1-2 | — |
| Debian 12 | advi | 1.6.0-15 | — |
| Debian 12 | camlimages | 1:3.0.1-2 | — |
| Debian 5.0 | advi | 1.6.0-13+lenny2 | DSA-1912-2 |
| Debian 5.0 | camlimages | 1:2.2.0-4+lenny1 | DSA-1832-1 |
| Debian 4.0 | advi | 1.6.0-12+etch2 | DSA-1912-2 |
| Debian 4.0 | camlimages | 2.20-8+etch1 | DSA-1832-1 |
Advisories 2
- DSA-1832-1 camlimages - arbitrary code execution Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-1912-2 advi - arbitrary code execution Debian Security (DSA / DLA) · Mar 9, 2026
References
- ADV-2009-1874 vdb-entry
- 20090702 [oCERT-2009-009] CamlImages integer overflows mailing-list
- 35819 third-party-advisory
- DSA-1832 vendor-advisory
- 35556 vdb-entry
- http://www.ocert.org/advisories/ocert-2009-009.html