Security mailing lists by PureSourceCode

CVE-2026-40310

MEDIUM 5.5CVSS 3.1

ImageMagick has a heap out-of-bounds write in JP2 encoder

ImageMagick is free and open-source software used for editing and manipulating digital images. Versions below both 7.1.2-19 and 6.9.13-44, contain a heap out-of-bounds write in the JP2 encoder with when a user specifies an invalid sampling index. This issue has been fixed in versions 6.9.13-44 and 7.1.2-19.

Published
13 Apr 2026
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-122CWE-787
Also known as
GHSA-pwg5-6jfc-crvh
Sources
NVDJSONOSV GHSA-pwg5-6jfc-crvhJSON

Scores

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

Affected

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

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 13 Apr 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 14 Apr 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.