CVE-2026-58380

Source
https://cve.org/CVERecord?id=CVE-2026-58380
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-58380.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-58380
Downstream
Related
Published
2026-07-06T13:58:43.680Z
Modified
2026-08-12T03:51:24.557358109Z
Severity
  • 7.3 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Gimp: gimp: stack buffer overflow in pnmscanner_gettoken()
Details

A flaw was found in GIMP's PNM file format parser. When parsing a specially crafted PNM file, the pnmscanner_gettoken() function writes a null terminator one byte past the end of a stack-allocated buffer due to an off-by-one error in the loop boundary check. This could lead to memory corruption, potentially resulting in denial of service or arbitrary code execution.

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

Affected packages

Git / github.com/gnome/gimp

Affected ranges

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

Affected versions

3.*
3.2.4
Other
GIMP_3_2_4

Database specific

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

Git / gitlab.gnome.org/gnome/gimp

Affected ranges

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

Affected versions

3.*
3.2.4

Database specific

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