A vulnerability in GIMP's Levels configuration setter allows a crafted XCF file to trigger a heap out-of-bounds read and write by setting an out-of-range channel enum. This can cause the application to crash or potentially allow arbitrary code execution when the file is opened. The flaw requires user interaction to open a malicious file and affects local users. The attack surface is limited to users who open untrusted XCF files.