CVE-2026-66758

Source
https://cve.org/CVERecord?id=CVE-2026-66758
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-66758.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-66758
Downstream
Related
Published
2026-07-27T19:07:12.789Z
Modified
2026-08-08T03:48:19.213145699Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Gimp: integer overflow in file-fits plugin causes a heap-based buffer overflow on crafted fits images
Details

A flaw was found in the file-fits plugin in GIMP. When processing a FITS image file, the plugin calculates memory allocation sizes using signed 32-bit integers for width and height. If a crafted file sets both values to large values, their product exceeds 2^31 and overflows, resulting in an undersized heap-based buffer allocation. This integer overflow issue results in a heap-based buffer overflow when cfitsio subsequently writes a full row of pixels in the buffer, causing memory corruption, potentially leading to arbitrary code execution or a denial of service.

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

Affected packages

Git / github.com/gnome/gimp

Affected ranges

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

Affected versions

3.*
3.0.8
3.2.4

Database specific

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

Git / gitlab.gnome.org/gnome/gimp

Affected ranges

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

Affected versions

3.*
3.0.8
3.2.4

Database specific

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