Description
Multiple stack-based buffer overflows in Imlib 2 (aka imlib2) 1.4.0 allow user-assisted remote attackers to cause a denial of service (crash) or possibly execute arbitrary code via (1) a PNM image with a crafted header, related to the load function in src/modules/loaders/loader_pnm.c; or (2) a crafted XPM image, related to the load function in src/modules/loader_xpm.c.
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 | imlib2 | 1.4.0-1.1 | — |
| Debian 13 | imlib2 | 1.4.0-1.1 | — |
| Debian 12 | imlib2 | 1.4.0-1.1 | — |
| Debian 4.0 | imlib2 | 1.3.0.0debian1-4+etch1 | DSA-1594-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | imlib2 | 1.7.1-1.6 | openSUSE-SU-2024:10861-1 |
Advisories 2
- DSA-1594-1 imlib2 Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10861-1 imlib2-1.7.1-1.6 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- 20080529 Secunia Research: imlib2 PNM and XPM Buffer Overflow mailing-list
- FEDORA-2008-4842 vendor-advisory
- imlib2-pnm-xpm-bo(42732) vdb-entry
- 31982 third-party-advisory
- SUSE-SR:2008:018 vendor-advisory
- GLSA-200806-03 vendor-advisory
- http://secunia.com/secunia_research/2008-25/advisory/
- MDVSA-2008:123 vendor-advisory
- DSA-1594 vendor-advisory
- FEDORA-2008-4950 vendor-advisory
- 30727 third-party-advisory
- 30401 third-party-advisory
- USN-697-1 vendor-advisory
- 29417 vdb-entry
- 30572 third-party-advisory
- ADV-2008-1700 vdb-entry
- 30485 third-party-advisory
- FEDORA-2008-4871 vendor-advisory
- 1020146 vdb-entry