CVE-2026-58380
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.
Scoring
- Severity
- HIGH
- CVSS base score
- 7.3
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- EPSS probability
- 0.26%
- CWE
- CWE-193
- Published
- 2026-07-06
- Last modified
- 2026-09-02
Affected products
- Red Hat Red Hat Enterprise Linux 9
- Red Hat Red Hat Enterprise Linux 8
Weakness type
Related vulnerabilities
- CVE-2026-81396 — Microsoft Excel Remote Code Execution Vulnerability
- CVE-2026-69609 — Win32k Information Disclosure Vulnerability
- CVE-2026-86297 — D-Link DIR-605 L2TP Control Message tunnel.c tunnel_set_params off-by-one
- CVE-2026-81738 — OpenVPN 2.5.0 through 2.7.6 on Windows using the tap-windows6 driver allows attackers to trigger an...
- CVE-2026-57160 — PJSIP: SIP message header buffer overflow
- CVE-2026-85454 — MOOS core-moos through 10.4.0 Off-by-One Buffer Overflow in Serial Telegram Handling
- CVE-2026-14368 — Off-by-one out-of-bounds NUL write in Zephyr LwM2M JSON string parser
- CVE-2026-46369 — Nimiq: Validity store off by one error