Description
Integer overflow in the ReadImage function in plug-ins/file-bmp/bmp-read.c in GIMP 2.6.7 might allow remote attackers to execute arbitrary code via a BMP file with crafted width and height values that trigger a heap-based buffer overflow.
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.6.7-1.1 | — |
| Debian 13 | gimp | 2.6.7-1.1 | — |
| Debian 12 | gimp | 2.6.7-1.1 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5 | gimp +2 | 2:2.2.13-2.0.7.el5_6.2 | RHSA-2011:0838 |
| RHEL 4 | gimp +1 | 1:2.0.5-7.0.7.el4.1 | RHSA-2011:0837 |
Advisories 2
- RHSA-2011:0837 Red Hat Security Advisory: gimp security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2011:0838 Red Hat Security Advisory: gimp security update Red Hat Security Advisories (RHSA) · Nov 22, 2025
References
- GLSA-201209-23 vendor-advisory
- ADV-2009-3564 vdb-entry
- 37006 vdb-entry
- ADV-2009-3228 vdb-entry
- RHSA-2011:0837 vendor-advisory
- http://git.gnome.org/cgit/gimp/commit/?h=gimp-2-6&id=df2b0aca2e7cdb95ebfd3454c65aaba0a83e9bbe
- RHSA-2011:0838 vendor-advisory
- SUSE-SR:2010:009 vendor-advisory
- gimp-readimage-bo(54254) vdb-entry
- oval:org.mitre.oval:def:8290 vdb-entry signature
- 37232 third-party-advisory
- 50737 third-party-advisory
- http://secunia.com/secunia_research/2009-42/
- ADV-2010-1021 vdb-entry
- 20091112 Secunia Research: Gimp BMP Image Parsing Integer Overflow Vulnerability mailing-list
- https://bugzilla.gnome.org/show_bug.cgi?id=600484
- 59930 vdb-entry