Description
A flaw was found in the file-pcx plugin in GIMP, affecting 32-bit builds only. When processing a PCX image file, the plugin calculates memory allocation sizes based on the image dimensions and the number of color planes. If a crafted file sets the number of planes to 4 alongside sufficiently large dimensions, the calculation exceeds the 32-bit integer limit and overflows, resulting in an undersized heap-based buffer allocation. This integer overflow issue results in a heap-based buffer overflow when the plugin subsequently writes image data into the undersized buffer, causing memory corruption, potentially leading to arbitrary code execution or a denial of service.
Published: 2026-08-24
Score: 7 High
EPSS: < 1% Very Low
KEV: No
Impact: Local Code Execution
Action: Apply Workaround
AI Analysis

Impact

The GIMP pcx loader on 32‑bit builds contains an integer overflow when the number of planes is set to four. If a crafted PCX file specifies large image dimensions, the calculated allocation size overflows, resulting in an undersized heap buffer. When the plugin writes image data into this buffer, a heap overflow occurs, corrupting memory and potentially enabling arbitrary code execution or denial of service.

Affected Systems

Red Hat Enterprise Linux 6 through 9 ship a 32‑bit version of GIMP that includes the vulnerable pcx loader plugin. Any installation of GIMP on these RHEL releases that is not explicitly using a 64‑bit build is at risk if the plugin is loaded.

Risk and Exploitability

With a CVSS score of 7 the vulnerability is rated as high severity. The EPSS score is unavailable and the issue is not listed in CISA’s KEV catalog, indicating that no public exploits are currently known. The likely attack vector involves an attacker providing a crafted PCX file to a user who opens it in GIMP on a 32‑bit system, which could lead to arbitrary code execution or a denial of service locally.

Generated by OpenCVE AI on August 24, 2026 at 19:19 UTC.

Remediation

Vendor Workaround

To mitigate this vulnerability, do not open PCX files from untrusted sources with GIMP.


OpenCVE Recommended Actions

  • Follow Red Hat’s workaround: do not open PCX files from untrusted sources with GIMP on 32‑bit systems.
  • If the pcx plugin is not required, disable it or uninstall the GIMP pcx loader package.
  • Use an alternative image editor or convert PCX files to a safe format before opening them in GIMP.
  • Monitor Red Hat advisories for an official patch and apply it as soon as it becomes available.

Generated by OpenCVE AI on August 24, 2026 at 19:19 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 01 Sep 2026 14:30:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:gimp:gimp:*:*:*:*:*:*:*:*
cpe:2.3:a:gimp:gimp:3.3.1:*:*:*:*:*:*:*

Mon, 24 Aug 2026 21:30:00 +0000

Type Values Removed Values Added
First Time appeared Gimp
Gimp gimp
Vendors & Products Gimp
Gimp gimp

Mon, 24 Aug 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 24 Aug 2026 16:45:00 +0000

Type Values Removed Values Added
Description A flaw was found in the file-pcx plugin in GIMP, affecting 32-bit builds only. When processing a PCX image file, the plugin calculates memory allocation sizes based on the image dimensions and the number of color planes. If a crafted file sets the number of planes to 4 alongside sufficiently large dimensions, the calculation exceeds the 32-bit integer limit and overflows, resulting in an undersized heap-based buffer allocation. This integer overflow issue results in a heap-based buffer overflow when the plugin subsequently writes image data into the undersized buffer, causing memory corruption, potentially leading to arbitrary code execution or a denial of service.
Title Gimp: integer overflow in pcx loader (planes=4) leads to heap overflow on 32-bit
First Time appeared Redhat
Redhat enterprise Linux
Weaknesses CWE-190
CPEs cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
References
Metrics cvssV3_1

{'score': 7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'}


Subscriptions

Gimp Gimp
Redhat Enterprise Linux
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-08-31T13:54:22.926Z

Reserved: 2026-08-24T16:22:00.262Z

Link: CVE-2026-78465

cve-icon Vulnrichment

Updated: 2026-08-24T17:59:56.566Z

cve-icon NVD

Status : Analyzed

Published: 2026-08-24T17:18:20.810

Modified: 2026-09-01T14:23:04.900

Link: CVE-2026-78465

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-24T21:10:14Z

Weaknesses
  • CWE-190

    Integer Overflow or Wraparound