Description
Integer overflow in the ReadImage function in plug-ins/common/file-gif-load.c in the GIF image format plug-in in GIMP 2.8.x and earlier allows remote attackers to cause a denial of service (application crash) and possibly execute arbitrary code via crafted height and len properties in a GIF image file, which triggers a heap-based buffer overflow. NOTE: some of these details are obtained from third party information.
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 | gimp | 2.8.2-1 | — |
| Debian 13 | gimp | 2.8.2-1 | — |
| Debian 12 | gimp | 2.8.2-1 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 6 | gimp +4 | 2:2.6.9-4.el6_3.3 | RHSA-2012:1180 |
| RHEL 5 | gimp +2 | 2:2.2.13-2.0.7.el5_8.5 | RHSA-2012:1181 |
Advisories 2
- RHSA-2012:1180 Red Hat Security Advisory: gimp security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2012:1181 Red Hat Security Advisory: gimp security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
References
- SUSE-SU-2012:1038 vendor-advisory
- USN-1559-1 vendor-advisory
- RHSA-2012:1180 vendor-advisory
- 1027411 vdb-entry
- RHSA-2012:1181 vendor-advisory
- https://bugzilla.novell.com/show_bug.cgi?id=776572
- 55101 vdb-entry
- MDVSA-2013:082 vendor-advisory
- openSUSE-SU-2012:1080 vendor-advisory
- openSUSE-SU-2012:1131 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=847303
- MDVSA-2012:142 vendor-advisory
- 50296 third-party-advisory
- [oss-security] 20120820 The Gimp GIF plug-in CVE-2012-3481 issue mailing-list