Security mailing lists by PureSourceCode

CVE-2026-30937

MEDIUM 6.1CVSS 3.1

ImageMagick has heap buffer overflow in WriteXWDImage due to CARD32 arithmetic overflow in bytes_per_line calculation

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-16 and 6.9.13-41, a 32-bit unsigned integer overflow in the XWD (X Windows) encoder can cause an undersized heap buffer allocation. When writing a extremely large image an out of bounds heap write can occur. This vulnerability is fixed in 7.1.2-16 and 6.9.13-41.

Published
10 Mar 2026
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-122
Also known as
GHSA-qpg4-j99f-8xcg
Sources
NVDJSONOSV GHSA-qpg4-j99f-8xcgJSON

Scores

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

Affected

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

References

History

  • 25 Nov 2026 21:01 UTC · NVD: first stored (published 10 Mar 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 12 Mar 2026)
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.