Security mailing lists by PureSourceCode

CVE-2025-57807

CRITICAL 9.8CVSS 3.1

ImageMagick BlobStream Forward-Seek Under-Allocation

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.

Published
5 Sep 2025
Last modified
19 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-122CWE-131CWE-787
Also known as
GHSA-23hg-53q6-hqfg
Sources
NVDJSONOSV GHSA-23hg-53q6-hqfgJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 LOW 3.8 CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L
OSV GitHub CVSS 3.1 LOW 3.8 CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD imagemagick imagemagick
cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
< 6.9.13-29 6.9.13-29
NVD imagemagick imagemagick
cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
>= 7.0.0-0, < 7.1.2-3 7.1.2-3
OSV NuGet Magick.NET-Q16-x64 < 14.8.2 14.8.2
OSV NuGet Magick.NET-Q8-x64 < 14.8.2 14.8.2
OSV NuGet Magick.NET-Q16-HDRI-x64 < 14.8.2 14.8.2
OSV NuGet Magick.NET-Q8-OpenMP-x64 < 14.8.2 14.8.2
OSV NuGet Magick.NET-Q16-HDRI-OpenMP-x64 < 14.8.2 14.8.2
OSV NuGet Magick.NET-Q16-OpenMP-x64 < 14.8.2 14.8.2
OSV NuGet Magick.NET-Q8-arm64 < 14.8.2 14.8.2
OSV NuGet Magick.NET-Q16-arm64 < 14.8.2 14.8.2
OSV NuGet Magick.NET-Q16-OpenMP-arm64 < 14.8.2 14.8.2
OSV NuGet Magick.NET-Q8-OpenMP-arm64 < 14.8.2 14.8.2
OSV NuGet Magick.NET-Q16-HDRI-OpenMP-arm64 < 14.8.2 14.8.2
OSV NuGet Magick.NET-Q16-HDRI-arm64 < 14.8.2 14.8.2

References

History

  • 25 Nov 2026 20:58 UTC · NVD: first stored (published 5 Sep 2025)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 5 Sep 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.