In ReadSTEGANOImage() (coders/stegano.c), the watermark Image object is not freed on three early-return paths, resulting in a definite memory leak (~13.5KB+ per invocation) that can be exploited for denial of service.
Direct leak of 13512 byte(s) in 1 object(s) allocated from:
#0 0x7f5c11e27887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
#1 0x55cdc38f65c4 in AcquireMagickMemory MagickCore/memory.c:536
#2 0x55cdc38f65eb in AcquireCriticalMemory MagickCore/memory.c:612
#3 0x55cdc3899e91 in AcquireImage MagickCore/image.c:154
{
"sources": [
{
"published": "2026-02-24T01:16:14.293Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-25796",
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-25796",
"imported": "2026-07-30T14:08:44.957Z",
"id": "CVE-2026-25796",
"database_specific": {
"status": "Analyzed"
},
"modified": "2026-06-17T10:25:15.600Z"
},
{
"published": "2026-02-24T15:33:56Z",
"url": "https://api.github.com/advisories/GHSA-g2pr-qxjg-7r2w",
"html_url": "https://github.com/advisories/GHSA-g2pr-qxjg-7r2w",
"id": "GHSA-g2pr-qxjg-7r2w",
"imported": "2026-07-30T14:10:43.289Z",
"modified": "2026-02-24T15:34:00Z"
},
{
"published": "2026-02-24T00:57:27Z",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-7446",
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-7446",
"id": "EUVD-2026-7446",
"imported": "2026-07-30T14:08:55.292Z",
"modified": "2026-02-26T15:12:22Z"
}
],
"license": "CC-BY-4.0"
}