CVE-2026-45359: ImageMagick: Out-of-Bounds Read in connected components when the user supplies an invalid keep-top define

Published May 18, 2026
·
Updated

An invalid connected-components:keep-top value could result in a heap buffer over-read when performing the connected components operation.

Other sources

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-48 and 7.1.2-22, an invalid connected-components:keep-top value could result in a heap buffer over-read when performing the connected components operation. This issue has been patched in versions 6.9.13-48 and 7.1.2-22.

MITRE

Affected Software

18 affected componentsFixes available
nuget/Magick.NET-Q8-x86<14.13.1
14.13.1
nuget/Magick.NET-Q8-arm64<14.13.1
14.13.1
nuget/Magick.NET-Q8-OpenMP-x64<14.13.1
14.13.1
nuget/Magick.NET-Q8-OpenMP-arm64<14.13.1
14.13.1
nuget/Magick.NET-Q8-AnyCPU<14.13.1
14.13.1
nuget/Magick.NET-Q16-x86<14.13.1
14.13.1
nuget/Magick.NET-Q16-arm64<14.13.1
14.13.1
nuget/Magick.NET-Q16-OpenMP-x64<14.13.1
14.13.1
nuget/Magick.NET-Q16-OpenMP-arm64<14.13.1
14.13.1
nuget/Magick.NET-Q16-HDRI-x86<14.13.1
14.13.1
nuget/Magick.NET-Q16-HDRI-x64<14.13.1
14.13.1
nuget/Magick.NET-Q16-HDRI-arm64<14.13.1
14.13.1
nuget/Magick.NET-Q16-HDRI-OpenMP-x64<14.13.1
14.13.1
nuget/Magick.NET-Q16-HDRI-OpenMP-arm64<14.13.1
14.13.1
nuget/Magick.NET-Q16-HDRI-AnyCPU<14.13.1
14.13.1
nuget/Magick.NET-Q16-AnyCPU<14.13.1
14.13.1
ImageMagick ImageMagick<6.9.13-48
ImageMagick ImageMagick>=7.0.0-0<7.1.2-22

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade nuget/Magick.NET-Q8-x86 to a version that resolves this vulnerability.

    Fixed in 14.13.1
  2. Upgrade

    Upgrade nuget/Magick.NET-Q8-x64 to a version that resolves this vulnerability.

    Fixed in 14.13.1
  3. Upgrade

    Upgrade nuget/Magick.NET-Q8-arm64 to a version that resolves this vulnerability.

    Fixed in 14.13.1
  4. Upgrade

    Upgrade nuget/Magick.NET-Q8-OpenMP-x64 to a version that resolves this vulnerability.

    Fixed in 14.13.1
  5. Upgrade

    Upgrade nuget/Magick.NET-Q8-OpenMP-arm64 to a version that resolves this vulnerability.

    Fixed in 14.13.1
  6. Upgrade

    Upgrade nuget/Magick.NET-Q8-AnyCPU to a version that resolves this vulnerability.

    Fixed in 14.13.1
  7. Upgrade

    Upgrade nuget/Magick.NET-Q16-x86 to a version that resolves this vulnerability.

    Fixed in 14.13.1
  8. Upgrade

    Upgrade nuget/Magick.NET-Q16-x64 to a version that resolves this vulnerability.

    Fixed in 14.13.1
  9. Upgrade

    Upgrade nuget/Magick.NET-Q16-arm64 to a version that resolves this vulnerability.

    Fixed in 14.13.1
  10. Upgrade

    Upgrade nuget/Magick.NET-Q16-OpenMP-x64 to a version that resolves this vulnerability.

    Fixed in 14.13.1
  11. Upgrade

    Upgrade nuget/Magick.NET-Q16-OpenMP-arm64 to a version that resolves this vulnerability.

    Fixed in 14.13.1
  12. Upgrade

    Upgrade nuget/Magick.NET-Q16-HDRI-x86 to a version that resolves this vulnerability.

    Fixed in 14.13.1
  13. Upgrade

    Upgrade nuget/Magick.NET-Q16-HDRI-x64 to a version that resolves this vulnerability.

    Fixed in 14.13.1
  14. Upgrade

    Upgrade nuget/Magick.NET-Q16-HDRI-arm64 to a version that resolves this vulnerability.

    Fixed in 14.13.1
  15. Upgrade

    Upgrade nuget/Magick.NET-Q16-HDRI-OpenMP-x64 to a version that resolves this vulnerability.

    Fixed in 14.13.1
  16. Upgrade

    Upgrade nuget/Magick.NET-Q16-HDRI-OpenMP-arm64 to a version that resolves this vulnerability.

    Fixed in 14.13.1
  17. Upgrade

    Upgrade nuget/Magick.NET-Q16-HDRI-AnyCPU to a version that resolves this vulnerability.

    Fixed in 14.13.1
  18. Upgrade

    Upgrade nuget/Magick.NET-Q16-AnyCPU to a version that resolves this vulnerability.

    Fixed in 14.13.1
  19. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.9.13-48
  20. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 7.1.2-22

Event History

May 18, 2026
Advisory Published
via GitHub·05:48 PM
Data Sourced
via GitHub·05:48 PM
DescriptionSeverityWeaknessAffected Software
Jun 10, 2026
CVE Published
via MITRE·09:26 PM
Data Sourced
via MITRE·09:26 PM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·10:01 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·10:16 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-45359?

CVE-2026-45359 has a medium severity score of 5.7.

2

What are the potential impacts of CVE-2026-45359?

CVE-2026-45359 may lead to a heap buffer over-read, which could result in information disclosure.

3

How do I fix CVE-2026-45359?

To mitigate CVE-2026-45359, ensure that you update to the latest version of the affected Magick.NET packages that address this vulnerability.

4

Which software packages are affected by CVE-2026-45359?

The affected software packages include nuget/Magick.NET-Q8-x86, nuget/Magick.NET-Q8-arm64, and several other variants of Magick.NET.

5

What type of vulnerability is CVE-2026-45359 classified as?

CVE-2026-45359 is classified as an out-of-bounds read vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203