cve.bz

CVE-2026-4887 gimp gimp: Off-by-one Error

7.1 highExploit referenceEPSS 0.7%Fix available

High (7.1) in gimp gimp. EPSS 0.7% estimated probability of exploitation activity in the next 30 days.

On this page
A flaw was found in GIMP. This issue is a heap buffer over-read in GIMP PCX file loader due to an off-by-one error. A remote attacker could exploit this by convincing a user to open a specially crafted PCX image. Successful exploitation could lead to out-of-bounds memory disclosure and a possible application crash, resulting in a Denial of Service (DoS).

Severity

CVSS 3.1

7.1 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
EPSS
0.7% (unchanged from 0.7% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 46th percentile. Scored 2026-11-30. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-03-26. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-193 Off-by-one Error
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Enterprise Linux 7 Extended Lifecycle Support: fixed in 2:2.8.22-1.el7_9.6
  • Red Hat Red Hat Enterprise Linux 8: fixed in 8100020260512115927.4c9c024f
  • Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support: fixed in 8040020260520140422.70584597
  • Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On: fixed in 8040020260520140422.70584597
  • Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support: fixed in 8060020260520140100.6af1eaf0
  • Red Hat Red Hat Enterprise Linux 8.6 Telecommunications Update Service: fixed in 8060020260520140100.6af1eaf0
  • Red Hat Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions: fixed in 8060020260520140100.6af1eaf0
  • Red Hat Red Hat Enterprise Linux 8.8 Telecommunications Update Service: fixed in 8080020260520102644.0621e4ee
  • Debian, Red Hat, SUSE, AlmaLinux, Rocky Linux: fixed package versions per release
  • Vendor advisory: https://access.redhat.com/security/cve/CVE-2026-4887
  • Vendor advisory: https://bugzilla.redhat.com/show_bug.cgi?id=2451669

Ask an AI about this CVE

Show the promptExplain CVE-2026-4887 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-4887?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-4887?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-4887 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 7 Extended Lifecycle Support2:2.8.22-1.el7_9.6
Red Hat Enterprise Linux 88100020260512115927.4c9c024f
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support8040020260520140422.70584597
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On8040020260520140422.70584597
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support8060020260520140100.6af1eaf0
Red Hat Enterprise Linux 8.6 Telecommunications Update Service8060020260520140100.6af1eaf0
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions8060020260520140100.6af1eaf0
Red Hat Enterprise Linux 8.8 Telecommunications Update Service8080020260520102644.0621e4ee
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions8080020260520102644.0621e4ee
Red Hat Enterprise Linux 92:3.0.4-1.el9_7.5
Red Hat Enterprise Linux 92:3.0.4-4.el9_8.4
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions2:2.99.8-3.el9_0.6
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions2:2.99.8-4.el9_2.6
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions2:2.99.8-4.el9_4.6
Red Hat Enterprise Linux 9.6 Extended Update Support2:2.99.8-4.el9_6.7

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13gimpno fix listedDEBIAN-CVE-2026-4887
Debian14gimp3.2.0-1DEBIAN-CVE-2026-4887
Ubuntu25.10, Pro:16.04:LTS, Pro:18.04:LTS and 3 moregimpno fix listedUBUNTU-CVE-2026-4887
Red Hatenterprise_linux:8::appstreamgimp, gimp-libs, gimp-devel and 5 more2:2.8.22-26.module+el8.10.0+24277+6acc3952.6RHSA-2026:17533
Red Hatenterprise_linux:8::appstreampygobject2, pygobject2-doc, pygobject2-devel and 3 more0:2.28.7-5.module+el8.10.0+22676+becd68d6RHSA-2026:17533
Red Hatenterprise_linux:8::appstreampygtk2, pygtk2-doc, pygtk2-devel and 3 more0:2.24.0-25.module+el8.9.0+21228+8e80d31dRHSA-2026:17533
Red Hatenterprise_linux:8::appstreampython2-cairo, python2-pycairo, python2-cairo-devel and 2 more0:1.16.3-7.module+el8.10.0+22676+becd68d6RHSA-2026:17533
Red Hatenterprise_linux:9::appstreamgimp, gimp-libs, gimp-debuginfo and 3 more2:3.0.4-1.el9_7.5RHSA-2026:16484
Red Hatenterprise_linux:9::appstreamgimp, gimp-libs, gimp-debuginfo and 3 more2:3.0.4-4.el9_8.4RHSA-2026:19362
Red Hatrhel_aus:8.4::appstream, rhel_eus_long_life:8.4::appstreamgimp, gimp-libs, gimp-devel and 5 more2:2.8.22-16.module+el8.4.0+24320+2aeffe15.6RHSA-2026:20552
Red Hatrhel_aus:8.4::appstream, rhel_eus_long_life:8.4::appstreampygobject2, pygobject2-doc, pygobject2-devel and 3 more0:2.28.7-4.module+el8+2760+3d7d61b2RHSA-2026:20552
Red Hatrhel_aus:8.4::appstream, rhel_eus_long_life:8.4::appstreampygtk2, pygtk2-doc, pygtk2-devel and 3 more0:2.24.0-25.module+el8.4.0+9382+ff08b506RHSA-2026:20552
Red Hatrhel_aus:8.4::appstream, rhel_eus_long_life:8.4::appstreampython2-cairo, python2-pycairo, python2-cairo-devel and 2 more0:1.16.3-6.module+el8+2760+3d7d61b2RHSA-2026:20552
Red Hatrhel_aus:8.6::appstream, rhel_e4s:8.6::appstream, rhel_tus:8.6::appstreamgimp, gimp-libs, gimp-devel and 5 more2:2.8.22-18.module+el8.6.0+24319+86704323.6RHSA-2026:20553
Red Hatrhel_aus:8.6::appstream, rhel_e4s:8.6::appstream, rhel_tus:8.6::appstreampygobject2, pygobject2-doc, pygobject2-devel and 3 more0:2.28.7-4.module+el8+2760+3d7d61b2RHSA-2026:20553
11 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Module for Package Hub 15 SP7, Linux Enterprise Workstation Extension 15 SP7gimp2.10.30-150400.3.53.1SUSE-SU-2026:2756-1
AlmaLinux8gimp, gimp-libs, gimp-devel and 1 more2:2.8.22-26.module_el8.10.0+4175+c208a0bf.6ALSA-2026:17533
AlmaLinux8pygobject2, pygobject2-devel2.28.7-5.module_el8.10.0+3952+571e801cALSA-2026:17533
AlmaLinux8pygobject2, pygobject2-doc, pygobject2-devel and 1 more2.28.7-5.module_el8.10.0+4175+c208a0bfALSA-2026:17533
AlmaLinux8pygobject2-doc, pygobject2-devel, pygobject2-codegen2.28.7-5.module_el8.10.0+4137+2d0d25cfALSA-2026:17533
AlmaLinux8pygtk2, pygtk2-doc, pygtk2-devel and 1 more2.24.0-25.module_el8.9.0+3725+d1441900ALSA-2026:17533
AlmaLinux8python2-cairo, python2-cairo-devel1.16.3-7.module_el8.10.0+3952+571e801cALSA-2026:17533
AlmaLinux8python2-cairo, python2-cairo-devel1.16.3-7.module_el8.10.0+4175+c208a0bfALSA-2026:17533
AlmaLinux8python2-cairo-devel1.16.3-7.module_el8.10.0+4137+2d0d25cfALSA-2026:17533
AlmaLinux9gimp, gimp-libs2:3.0.4-1.el9_7.5ALSA-2026:16484
AlmaLinux9gimp, gimp-libs2:3.0.4-4.el9_8.4ALSA-2026:19362
Rocky Linux8gimp2:2.8.22-26.module+el8.10.0+1927+52edb5a0RLSA-2026:17533
Rocky Linux8gimp2:2.8.22-26.module+el8.10.0+1998+a08ccc48.2RLSA-2026:17533
Rocky Linux8gimp2:2.8.22-26.module+el8.10.0+40033+6fd27379.3RLSA-2026:17533
Rocky Linux8gimp2:2.8.22-26.module+el8.10.0+40075+a21479b4.4RLSA-2026:17533
Rocky Linux8gimp2:2.8.22-26.module+el8.10.0+40134+eab491b1.5RLSA-2026:17533
Rocky Linux8pygobject20:2.28.7-5.module+el8.10.0+1927+52edb5a0RLSA-2026:17533
Rocky Linux8pygtk20:2.24.0-25.module+el8.9.0+1723+9bc93544RLSA-2026:17533
Rocky Linux8python2-pycairo0:1.16.3-7.module+el8.10.0+1927+52edb5a0RLSA-2026:17533
Rocky Linux9gimp2:3.0.4-1.el9_7.5RLSA-2026:16484

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Moderate: This flaw in GIMP's PCX file loader is due to a heap buffer over-read. Exploitation requires user interaction, specifically opening a specially crafted PCX image file. Red Hat Enterprise Linux systems are affected if GIMP is installed and used to open untrusted PCX files.

Red Hat's mitigation

Users should avoid opening untrusted PCX image files with GIMP. If GIMP is not required, consider removing the `gimp` package to eliminate this attack vector.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7 Extended Lifecycle Supportgimp-2:2.8.22-1.el7_9.6Fixed 2026-06-16RHSA-2026:26168
Red Hat Enterprise Linux 8gimp:2.8-8100020260512115927.4c9c024fFixed 2026-05-14RHSA-2026:17533
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportgimp:2.8-8040020260520140422.70584597Fixed 2026-05-26RHSA-2026:20552
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Ongimp:2.8-8040020260520140422.70584597Fixed 2026-05-26RHSA-2026:20552
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportgimp:2.8-8060020260520140100.6af1eaf0Fixed 2026-05-26RHSA-2026:20553
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicegimp:2.8-8060020260520140100.6af1eaf0Fixed 2026-05-26RHSA-2026:20553
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionsgimp:2.8-8060020260520140100.6af1eaf0Fixed 2026-05-26RHSA-2026:20553
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicegimp:2.8-8080020260520102644.0621e4eeFixed 2026-05-26RHSA-2026:20554
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionsgimp:2.8-8080020260520102644.0621e4eeFixed 2026-05-26RHSA-2026:20554
Red Hat Enterprise Linux 9gimp-2:3.0.4-1.el9_7.5Fixed 2026-05-12RHSA-2026:16484
Red Hat Enterprise Linux 9gimp-2:3.0.4-4.el9_8.4Fixed 2026-05-19RHSA-2026:19362
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionsgimp-2:2.99.8-3.el9_0.6Fixed 2026-05-26RHSA-2026:20691
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionsgimp-2:2.99.8-4.el9_2.6Fixed 2026-06-15RHSA-2026:25899
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionsgimp-2:2.99.8-4.el9_4.6Fixed 2026-06-15RHSA-2026:25907
Red Hat Enterprise Linux 9.6 Extended Update Supportgimp-2:2.99.8-4.el9_6.7Fixed 2026-06-15RHSA-2026:25901
Red Hat Enterprise Linux 6gimpOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-4887.

References

Check your stackJSON