A crafted image could cause an out of bounds heap write inside the WaveletDenoiseImage method. When processing a crafted image with the -wavelet-denoise operation an out of bounds write can occur.
=================================================================
==661320==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x503000002754 at pc 0x5ff45f82c92a bp 0x7fffb732b400 sp 0x7fffb732b3f0
WRITE of size 4 at 0x503000002754 thread T0
{
"cwe_ids": [
"CWE-122"
],
"github_reviewed_at": "2026-03-12T14:16:33Z",
"nvd_published_at": "2026-03-10T07:44:57Z",
"severity": "MODERATE",
"github_reviewed": true
}