VDB

CVE-2025-57807

CVE-2025-57807 PUBLISHED CVSS 3.8 LOW

ImageMagick BlobStream Forward-Seek Under-Allocation

Reported by github_m · Published September 5, 2025

magick.net-q16-x64 is fixed in 14.8.2 (NuGet)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
magick.net-q16-x64NuGet14.8.2
Magick.NET-Q16-HDRI-arm64NuGet14.8.2
Magick.NET-Q16-arm64NuGet14.8.2
Magick.NET-Q8-OpenMP-arm64NuGet14.8.2
magick.net-q8-openmp-x64NuGet14.8.2
Magick.NET-Q16-HDRI-OpenMP-x64NuGet14.8.2
Magick.NET-Q16-HDRI-x64NuGet14.8.2
ImageMagick-perlAmazon Linux6.9.10.97-1.amzn2.0.17
ImageMagickAmazon Linux1:6.9.13.29-1.amzn2023.0.1
ImageMagick-c++Amazon Linux1:6.9.13.29-1.amzn2023.0.1
ImageMagick-c++-develAmazon Linux1:6.9.13.29-1.amzn2023.0.1
nextcloudDHI7.1.2-3, 6.9.13-29

1 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
3.8
CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L

Affected products

VendorProductVersions
ImageMagickImageMagick< 14.8.2
amazon:2ImageMagick-perl0
amazon:2023ImageMagick0
NuGetMagick.NET-Q16-HDRI-arm640
NuGetmagick.net-q16-x640
amazon:2023ImageMagick-c++0
amazon:2023ImageMagick-c++-devel0
ImageMagickImageMagick0
NuGetmagick.net-q8-x640
amazon:2023ImageMagick-perl0
NuGetMagick.NET-Q16-x640
NuGetmagick.net-q8-openmp-x640
NuGetMagick.NET-Q16-HDRI-OpenMP-arm640
amazon:2023ImageMagick-libs0
amazon:2ImageMagick0
NuGetMagick.NET-Q8-x640
NuGetMagick.NET-Q16-OpenMP-x640
amazon:2023ImageMagick-doc0
NuGetMagick.NET-Q16-HDRI-x640
NuGetMagick.NET-Q8-arm640

…and 10 more

Timeline

  • Sep 4, 2025 CVE Published
  • Sep 6, 2025 EPSS Score (30 in total, the first dated here)
  • Dec 18, 2025 CVE Updated
  • Mar 17, 2026 Security Advisory (4 in total, the first dated here)
  • Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)
  • Aug 12, 2026 Distribution Patch

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-57807
vulnetix vdb fixes CVE-2025-57807

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-57807/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›