ImageMagick is free and open-source software used for editing and manipulating digital images. ImageMagick versions lower than 14.8.2 include insecure functions: SeekBlob(), which permits advancing the stream offset beyond the current end without increasing capacity, and WriteBlob(), which then expands by quantum + length (amortized) instead of offset + length, and copies to data + offset. When offset ≫ extent, the copy targets memory beyond the allocation, producing a deterministic heap write on 64-bit builds. No 2⁶⁴ arithmetic wrap, external delegates, or policy settings are required. This is fixed in version 14.8.2.
{ "vanir_signatures": [ { "source": "https://github.com/imagemagick/imagemagick/commit/077a417a19a5ea8c85559b602754a5b928eef23e", "deprecated": false, "signature_type": "Line", "signature_version": "v1", "target": { "file": "MagickCore/blob.c" }, "id": "CVE-2025-57807-3ed78971", "digest": { "line_hashes": [ "100476764175151991222149130987199827925", "92785322962743389101473495904931765815", "125686757000014787383074475436648045798", "2124629187688889656854694912686973064", "242214955069458195335352107732413637614", "94378891121214781573900614182793341752", "44970812731235467434616177171554217919", "317605189518340976798661823859495973768", "241526835624000866647854392509153882907", "260100809305973684447450980016314611935", "112320140872237825135452396504285661344", "3039276986389726011087757115689398091", "85026170500836170972719814473996073573" ], "threshold": 0.9 } }, { "source": "https://github.com/imagemagick/imagemagick/commit/077a417a19a5ea8c85559b602754a5b928eef23e", "deprecated": false, "signature_type": "Function", "signature_version": "v1", "target": { "function": "WriteBlob", "file": "MagickCore/blob.c" }, "id": "CVE-2025-57807-b1850eec", "digest": { "function_hash": "210785956699503906010915905180686503447", "length": 4125.0 } } ] }