CVEvulnerability
CVE-2026-58380
7.8 HIGH
Official page ↗
- Status
- Undergoing Analysis
- Published
- 2026-07-06
- Last modified
- 2026-10-12
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.3 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-193
Description
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.
Affected configurations
• gimp gimp 3.2.4
• redhat enterprise linux 7.0
• redhat enterprise linux 8.0
• redhat enterprise linux 9.0
Related
Weakness · CWE (1)
- CWE-193 Off-by-one Error weakness
References
- https://access.redhat.com/errata/RHSA-2026:40751 access.redhat.com
- https://access.redhat.com/errata/RHSA-2026:62507 access.redhat.com
- https://access.redhat.com/errata/RHSA-2026:73768 access.redhat.com
- https://access.redhat.com/errata/RHSA-2026:80509 access.redhat.com
- https://access.redhat.com/security/cve/CVE-2026-58380 Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2496135 Issue Tracking, Third Party Advisory
- https://gitlab.gnome.org/GNOME/gimp/-/commit/83699817 Broken Link
- https://gitlab.gnome.org/GNOME/gimp/-/issues/16206 Exploit, Issue Tracking, Vendor Advisory