{"id":"CVE-2026-22770","published":"2026-01-20T00:48:19Z","modified":"2026-01-21T20:10:46Z","title":"ImageMagick vulnerable to Release of Invalid Pointer in BilateralBlur when memory allocation fails","vendor":"ImageMagick","product":"ImageMagick","tier":"tail","description":{"text":"ImageMagick is free and open-source software used for editing and manipulating digital images. The BilateralBlurImage method will allocate a set of double buffers inside AcquireBilateralTLS. But, in versions prior to 7.1.2-13, the last element in the set is not properly initialized. This will result in a release of an invalid pointer inside DestroyBilateralTLS when the memory allocation fails. Version 7.1.2-13 contains a patch for the issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00391,"percentile":0.34083,"provenance":"source"},"cwes":[{"id":"CWE-763","name":"Release of Invalid Pointer or Reference"}],"references":[{"url":"https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-39h3-g67r-7g3c","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ImageMagick/ImageMagick/commit/3e0330721020e0c5bb52e4b77c347527dd71658e","tags":["x_refsource_MISC"]}],"priority":{"score":11.4,"factors":[{"name":"EPSS percentile","points":6.82},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"imagemagick","affectedVersions":[{"vendor":"ImageMagick","product":"ImageMagick","versions":["< 7.1.2-13"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-01-21T20:05:17.303115Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"NuGet","package":"Magick.NET-Q8-x64","vulnerableRanges":["<14.10.2"],"patched":["14.10.2"],"from":["GHSA-39h3-g67r-7g3c"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q8-arm64","vulnerableRanges":["<14.10.2"],"patched":["14.10.2"],"from":["GHSA-39h3-g67r-7g3c"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q8-x86","vulnerableRanges":["<14.10.2"],"patched":["14.10.2"],"from":["GHSA-39h3-g67r-7g3c"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q8-OpenMP-x64","vulnerableRanges":["<14.10.2"],"patched":["14.10.2"],"from":["GHSA-39h3-g67r-7g3c"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q8-OpenMP-arm64","vulnerableRanges":["<14.10.2"],"patched":["14.10.2"],"from":["GHSA-39h3-g67r-7g3c"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-x64","vulnerableRanges":["<14.10.2"],"patched":["14.10.2"],"from":["GHSA-39h3-g67r-7g3c"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-arm64","vulnerableRanges":["<14.10.2"],"patched":["14.10.2"],"from":["GHSA-39h3-g67r-7g3c"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-x86","vulnerableRanges":["<14.10.2"],"patched":["14.10.2"],"from":["GHSA-39h3-g67r-7g3c"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-OpenMP-x64","vulnerableRanges":["<14.10.2"],"patched":["14.10.2"],"from":["GHSA-39h3-g67r-7g3c"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-OpenMP-arm64","vulnerableRanges":["<14.10.2"],"patched":["14.10.2"],"from":["GHSA-39h3-g67r-7g3c"],"provenance":"source"}],"summary":{"text":"The flaw is a release of an invalid pointer in the BilateralBlurImage method's thread-local buffer handling (AcquireBilateralTLS and DestroyBilateralTLS) in ImageMagick, the open-source image editing software. An attacker with network access and no privileges or user interaction can trigger it by exploiting a high-complexity condition in which memory allocation fails, which then causes the invalid pointer release and can lead to a denial of service in the affected versions prior to 7.1.2-13.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:56:34Z"},"euvd":{"id":"EUVD-2026-3401","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-imagemagick-cve-2026-22770","children":[{"from":"CVE-2026-22770","to":"CVE-2026-34238","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["MagickCore/effect.c"],"commits":["https://github.com/ImageMagick/ImageMagick/commit/3e0330721020e0c5bb52e4b77c347527dd71658e","https://github.com/ImageMagick/ImageMagick/commit/bcd8519c70ecd9ebbc180920f2cf97b267d1f440"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2025-53015","published":"2025-07-14","fixed":"14.7.0","kev":false},{"cve":"CVE-2025-55154","published":"2025-08-13","fixed":"14.8.0","kev":false},{"cve":"CVE-2025-57807","published":"2025-09-05","fixed":"14.8.2","kev":false,"link":{"from":"CVE-2025-57807","to":"CVE-2026-22770","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"NuGet:Magick.NET-Q8-x64","fromFixed":"14.8.2","toFixed":"14.10.2","daysApart":137}]}},{"cve":"CVE-2026-22770","published":"2026-01-20","fixed":"14.10.2","kev":false},{"cve":"CVE-2026-23874","published":"2026-01-20","fixed":"14.10.2","kev":false},{"cve":"CVE-2026-23952","published":"2026-01-22","fixed":"14.10.2","kev":false}],"package":"NuGet:Magick.NET-Q8-x64"}}