Description
Imager (libimager-perl) before 0.50 allows user-assisted attackers to cause a denial of service (segmentation fault) by writing a 2- or 4-channel JPEG image (or a 2-channel TGA image) to a scalar, which triggers a NULL pointer dereference.
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 | libimager-perl | 0.50-1 | — |
| Debian 13 | libimager-perl | 0.50-1 | — |
| Debian 12 | libimager-perl | 0.50-1 | — |
| Debian 3.1 | libimager-perl | 0.44-1sarge1 | DSA-1028-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Tony Cook Imager 0.4x - '.JPEG' / '.TGA' Images Denial of Service EDB-27581 · dos · Apr 7, 2006 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- DSA-1028-1 libimager-perl - denial of service Debian Security (DSA / DLA) · Mar 9, 2026
References
- DSA-1028 vendor-advisory
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=359661
- imager-jpeg-tga-dos(25717) vdb-entry
- 17415 vdb-entry
- 19577 third-party-advisory
- ADV-2006-1294 vdb-entry
- http://rt.cpan.org/Public/Bug/Display.html?id=18397
- 19575 third-party-advisory