CVE-2026-4887: Gimp: gimp:memory disclosure and denial of service via specially crafted pcx image

Published Mar 26, 2026
·
Updated

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).

Other sources

This issue is a heap buffer over-read in GIMP’s PCX file loader due to an off‑by‑one error in the bytesperline validation logic. A specially crafted PCX image can cause GIMP to read beyond the bounds of a heap buffer when opened, leading to out‑of‑bounds memory disclosure and possible crash. Exploitation requires user interaction (opening a malicious PCX file)

— Red Hat

Affected Software

13 affected componentsFixes available
GIMP GIMP
All of the following
Any of the following
GIMP GIMP<3.2.0
GIMP GIMP=3.2.0-rc1
GIMP GIMP=3.2.0-rc2
GIMP GIMP=3.2.0-rc3
Any of the following
redhat Enterprise Linux=6.0
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
debian/gimp*
debian/gimp*
debian/gimp<3.2.0-1
3.2.0-1
debian/gimp<=2.10.34-1+deb12u10, <=3.0.4-3+deb13u10, <=3.0.4-3+deb13u11
3.2.6-13.2.8-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/gimp to a version that resolves this vulnerability.

    Fixed in 3.2.0-1
  2. Upgrade

    Upgrade debian/gimp to a version that resolves this vulnerability.

    Fixed in 3.2.6-1Fixed in 3.2.8-1

Event History

Mar 26, 2026
Data Sourced
via Red Hat·11:34 AM
DescriptionSeverityAffected Software
CVE Published
via MITRE·12:08 PM
Data Sourced
via MITRE·12:08 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:16 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·01:16 PM
Affected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-4887?

CVE-2026-4887 has been categorized as a moderate severity vulnerability due to its potential for memory disclosure and denial of service.

2

How do I fix CVE-2026-4887?

To fix CVE-2026-4887, users should update GIMP to the latest version where the vulnerability has been resolved.

3

Who is affected by CVE-2026-4887?

Users of GIMP who open specially crafted PCX images are at risk of vulnerability exploitation under CVE-2026-4887.

4

What type of vulnerability is CVE-2026-4887?

CVE-2026-4887 is a heap buffer over-read vulnerability related to GIMP’s PCX file loader.

5

Can CVE-2026-4887 lead to remote code execution?

No, CVE-2026-4887 does not directly lead to remote code execution, but it can cause memory disclosure and denial of service.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203