← CVE Intelligence

CVE-2026-58380

Gimp: gimp: stack buffer overflow in pnmscanner_gettoken() PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Red Hat / Red Hat Enterprise Linux 8unaffected 8100020260824165450.4c9c024f before *
Red Hat / Red Hat Enterprise Linux 9unaffected 2:3.0.4-4.el9_8.7 before *
Red Hat / Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionsunaffected 2:2.99.8-4.el9_4.19 before *
Red Hat / Red Hat Enterprise Linux 9.6 Extended Update Supportunaffected 2:2.99.8-4.el9_6.20 before *
Red Hat / Red Hat Enterprise Linux 6unknown
Red Hat / Red Hat Enterprise Linux 7affected

CWE

CWE-193

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.