Integer overflow and heap buffer overflow in GIMP file-pcx plugin
GNOME GIMP
At a glance
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.
Source description · CVE List / CNA
System impact
CVSS summary v3.1
- Published:
- Updated:
- EPSS:
- 0.32%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Local
Related CWE
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:GNOME | GIMP | Affected versions:Range not specifiedShow full version range for GIMP
|
| Vendor:Red Hat | Red Hat Enterprise Linux 6 | Affected versions:Source does not specify a version range |
| Vendor:SUSE | SUSE Linux Enterprise Desktop 15 SP7 | Affected versions:Source does not specify a version range |
| Vendor:SUSE | SUSE Linux Enterprise Module for Package Hub 15 SP7 | Affected versions:Source does not specify a version range |
| Vendor:SUSE | SUSE Linux Enterprise Server 15 SP7 | Affected versions:Source does not specify a version range |
| Vendor:SUSE | SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Affected versions:Source does not specify a version range |
| Vendor:SUSE | SUSE Linux Enterprise Workstation Extension 15 SP7 | Affected versions:Source does not specify a version range |
| Vendor:SUSE | openSUSE Leap 16.0 | Affected versions:Source does not specify a version range |
| Vendor:SUSE | openSUSE Tumbleweed | Affected versions:Source does not specify a version range |
| Vendor:gimp | gimp | Affected versions:≥ 3.0.0, ≤ 3.2.4Show full version range for gimp3.3.1
|
1–10 of 10 · Page 1 of 1
CVSS scores and metrics6
redhat · CVE List / CNA (cna)Primary7.0 / 10HighCVSS 3.1Details
- Attack complexity
- High
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Local
- Privileges required
- Not required
- User interaction
- Required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H[email protected] · NVD (Secondary)7.0 / 10HighCVSS 3.1Details
- Attack complexity
- High
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Local
- Privileges required
- Not required
- User interaction
- Required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:HCVE-2026-78465 · OSV (source-vector)7.0 / 10HighCVSS 3.1Details
- Attack complexity
- High
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Local
- Privileges required
- Not required
- User interaction
- Required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:HENISA · ENISA EUVD (aggregator)7.0 / 10HighCVSS 3.1Details
- Attack complexity
- High
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Local
- Privileges required
- Not required
- User interaction
- Required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:HRed Hat · Red Hat VEX (adp)7.0 / 10HighCVSS 3.1Details
- Attack complexity
- High
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Local
- Privileges required
- Not required
- User interaction
- Required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:HSUSE · SUSE VEX (adp)5.8 / 10MediumCVSS 3.1Details
- Attack complexity
- High
- Confidentiality
- Low
- Integrity
- Low
- Availability
- High
- Attack vector
- Local
- Privileges required
- Not required
- User interaction
- Required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:HCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences