Description
A Remote Code Execution vulnerability has been found in the Horde_Image library when using the "Im" backend that utilizes ImageMagick's "convert" utility. It's not exploitable through any Horde application, because the code path to the vulnerability is not used by any Horde code. Custom applications using the Horde_Image library might be affected. This vulnerability affects all versions of Horde_Image from 2.0.0 to 2.5.1, and is fixed in 2.5.2. The problem is missing input validation of the index field in _raw() during construction of an ImageMagick command line.
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 12 | php-horde-image | 2.5.2-1 | — |
| Debian 9 | php-horde-image | 2.3.6-1+deb9u1 | DSA-4276-1 |
| Debian 8 | php-horde-image | 2.1.0-4+deb8u1 | DLA-1395-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | php-horde-image | No fix yet | — |
Advisories 2
- DSA-4276-1 php-horde-image - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1395-1 php-horde-image - security update Debian Security (DSA / DLA) · Mar 9, 2026