CVE-2026-78465

Source
https://cve.org/CVERecord?id=CVE-2026-78465
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-78465.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-78465
Downstream
Published
2026-08-24T16:28:12Z
Modified
2026-09-03T03:48:20Z
Severity
  • 7.0 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Gimp: integer overflow in pcx loader (planes=4) leads to heap overflow on 32-bit
Details

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.

Database specific
{
    "cna_assigner": "redhat",
    "cwe_ids": [
        "CWE-190"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/78xxx/CVE-2026-78465.json"
}
References

Affected packages

Git / github.com/gnome/gimp

Affected ranges

Type
GIT
Repo
https://github.com/gnome/gimp
Events
Database specific
Show details
{
    "cpe": "cpe:2.3:a:gimp:gimp:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "3.0.0"
        },
        {
            "last_affected": "3.2.4"
        }
    ],
    "source": "CPE_RANGE"
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-78465.json"

Git / gitlab.gnome.org/gnome/gimp

Affected ranges

Type
GIT
Repo
https://gitlab.gnome.org/gnome/gimp
Events
Database specific
Show details
{
    "cpe": "cpe:2.3:a:gimp:gimp:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "3.0.0"
        },
        {
            "last_affected": "3.2.4"
        }
    ],
    "source": "CPE_RANGE"
}

Affected versions

Other
GIMP_3_0_0
GIMP_3_0_2
GIMP_3_0_4
GIMP_3_1_2
GIMP_3_1_4
GIMP_3_2_0
GIMP_3_2_0-windows-fixes
GIMP_3_2_0_RC1
GIMP_3_2_0_RC2
GIMP_3_2_0_RC3
GIMP_3_2_2
GIMP_3_2_2-windows-fixes
GIMP_3_2_4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-78465.json"