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

9 affected components
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

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Prevent users from opening PCX images from untrusted sources. Block or strip PCX attachments at email gateways, web/proxy filters, and file-sharing services; implement user awareness so users do not open unsolicited or untrusted .pcx files.

  2. Operational

    If a user opened a suspicious PCX file with GIMP, investigate the endpoint for crashes or unusual behavior, collect relevant logs and samples, and isolate affected systems for forensic analysis because memory disclosure and application crash (DoS) are possible.

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
Nov 28, 58273
Event
via FIRST·02:33 PM

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