{"answers":{"affected":"12 open source packages ship an affected version, including Magick.NET-Q16-AnyCPU, Magick.NET-Q16-HDRI-AnyCPU and Magick.NET-Q16-HDRI-x86. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-62171 exists.","fix":"Upgrade Magick.NET-Q16-AnyCPU to 14.9.0 or later.","what":"CVE-2025-62171 is a medium-severity vulnerability in Imagemagick Imagemagick, published on 17 Oct 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-62171 and fix it if it is affected.\n\nWhat it is: CVE-2025-62171 is a medium-severity vulnerability in Imagemagick Imagemagick, published on 17 Oct 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-62171 exists.\n\nAffected packages and fixed versions:\n- Magick.NET-Q16-AnyCPU (NuGet): affected all versions; fixed in 14.9.0\n- Magick.NET-Q16-AnyCPU (NuGet): affected all versions; fixed in 14.9.0\n- Magick.NET-Q16-HDRI-AnyCPU (NuGet): affected all versions; fixed in 14.9.0\n- Magick.NET-Q16-HDRI-AnyCPU (NuGet): affected all versions; fixed in 14.9.0\n- Magick.NET-Q16-HDRI-x86 (NuGet): affected all versions; fixed in 14.9.0\n- Magick.NET-Q16-HDRI-x86 (NuGet): affected all versions; fixed in 14.9.0\n- Magick.NET-Q16-x86 (NuGet): affected all versions; fixed in 14.9.0\n- Magick.NET-Q16-x86 (NuGet): affected all versions; fixed in 14.9.0\n- Magick.NET-Q8-AnyCPU (NuGet): affected all versions; fixed in 14.9.0\n- Magick.NET-Q8-AnyCPU (NuGet): affected all versions; fixed in 14.9.0\n- Magick.NET-Q8-x86 (NuGet): affected all versions; fixed in 14.9.0\n- Magick.NET-Q8-x86 (NuGet): affected all versions; fixed in 14.9.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-62171/ (Markdown: https://insights.sbomify.com/CVE-2025-62171/index.md)","id":"CVE-2025-62171","markdown":"https://insights.sbomify.com/CVE-2025-62171/index.md","name":"CVE-2025-62171","record":{"aliases":["CLSA-2025-1764280893","CLSA-2025-1764324335","CLSA-2025-1764324579","CLSA-2025-1764773600","DEBIAN-CVE-2025-62171","DLA-4339-1","GHSA-9pp9-cfwx-54rm","JLSEC-2026-927","MINI-3jg5-963p-c8xh","OESA-2025-2497","OESA-2025-2498","OESA-2025-2499","OESA-2025-2500","OESA-2025-2501","SUSE-SU-2025:3796-1","SUSE-SU-2025:3844-1","SUSE-SU-2025:3867-1","SUSE-SU-2025:3918-1","UBUNTU-CVE-2025-62171","USN-7876-1","openSUSE-SU-2025:15650-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":true,"product_category":"ImageMagick library","requires_auth":"none","summary":"Attackers can cause denial of service in ImageMagick on 32-bit systems via integer overflow in BMP decoder if resource limits are increased.","user_interaction":"not_required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"imagemagick","vendor":"imagemagick"}],"cvss":{"score":5.9,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"description":"ImageMagick is an open source software suite for displaying, converting, and editing raster image files. In ImageMagick versions prior to 7.1.2-7 and 6.9.13-32, an integer overflow vulnerability exists in the BMP decoder on 32-bit systems. The vulnerability occurs in coders/bmp.c when calculating the extent value by multiplying image columns by bits per pixel. On 32-bit systems with size_t of 4 bytes, a malicious BMP file with specific dimensions can cause this multiplication to overflow and wrap to zero. The overflow check added to address CVE-2025-57803 is placed after the overflow occurs, making it ineffective. A specially crafted 58-byte BMP file with width set to 536,870,912 and 32 bits per pixel can trigger this overflow, causing the bytes_per_line calculation to become zero. This vulnerability only affects 32-bit builds of ImageMagick where default resource limits for width, height, and area have been manually increased beyond their defaults. 64-bit systems with size_t of 8 bytes are not vulnerable, and systems using default ImageMagick resource limits are not vulnerable. The vulnerability is fixed in versions 7.1.2-7 and 6.9.13-32.","ecosystems":["NuGet","SUSE:Linux Enterprise Module for Desktop Applications 15 SP6","SUSE:Linux Enterprise Module for Desktop Applications 15 SP7","SUSE:Linux Enterprise Module for Development Tools 15 SP6","SUSE:Linux Enterprise Module for Development Tools 15 SP7","SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","openSUSE:Leap 15.6","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"ImageMagick vulnerable to denial of service via integer overflow in BMP decoder on 32-bit systems","id":"CVE-2025-62171","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"NuGet","product":"imagemagick:imagemagick","products":["imagemagick:imagemagick"],"type":"integer_overflow","year":"2025"},"n_packages":21,"n_references":2,"next":{"headline":"Home Assistant vulnerable to Stored XSS in Energy dashboard from Energy Entity Name","id":"CVE-2025-62172"},"packages":[{"ecosystem":"NuGet","fixed":["14.9.0"],"introduced":["0"],"last_affected":[],"package":"Magick.NET-Q16-AnyCPU","purl":null,"source":"GHSA-9pp9-cfwx-54rm"},{"ecosystem":"NuGet","fixed":["14.9.0"],"introduced":["0"],"last_affected":[],"package":"Magick.NET-Q16-AnyCPU","purl":"pkg:nuget/Magick.NET-Q16-AnyCPU","source":"GHSA-9pp9-cfwx-54rm"},{"ecosystem":"NuGet","fixed":["14.9.0"],"introduced":["0"],"last_affected":[],"package":"Magick.NET-Q16-HDRI-AnyCPU","purl":null,"source":"GHSA-9pp9-cfwx-54rm"},{"ecosystem":"NuGet","fixed":["14.9.0"],"introduced":["0"],"last_affected":[],"package":"Magick.NET-Q16-HDRI-AnyCPU","purl":"pkg:nuget/Magick.NET-Q16-HDRI-AnyCPU","source":"GHSA-9pp9-cfwx-54rm"},{"ecosystem":"NuGet","fixed":["14.9.0"],"introduced":["0"],"last_affected":[],"package":"Magick.NET-Q16-HDRI-x86","purl":null,"source":"GHSA-9pp9-cfwx-54rm"},{"ecosystem":"NuGet","fixed":["14.9.0"],"introduced":["0"],"last_affected":[],"package":"Magick.NET-Q16-HDRI-x86","purl":"pkg:nuget/Magick.NET-Q16-HDRI-x86","source":"GHSA-9pp9-cfwx-54rm"},{"ecosystem":"NuGet","fixed":["14.9.0"],"introduced":["0"],"last_affected":[],"package":"Magick.NET-Q16-x86","purl":null,"source":"GHSA-9pp9-cfwx-54rm"},{"ecosystem":"NuGet","fixed":["14.9.0"],"introduced":["0"],"last_affected":[],"package":"Magick.NET-Q16-x86","purl":"pkg:nuget/Magick.NET-Q16-x86","source":"GHSA-9pp9-cfwx-54rm"},{"ecosystem":"NuGet","fixed":["14.9.0"],"introduced":["0"],"last_affected":[],"package":"Magick.NET-Q8-AnyCPU","purl":null,"source":"GHSA-9pp9-cfwx-54rm"},{"ecosystem":"NuGet","fixed":["14.9.0"],"introduced":["0"],"last_affected":[],"package":"Magick.NET-Q8-AnyCPU","purl":"pkg:nuget/Magick.NET-Q8-AnyCPU","source":"GHSA-9pp9-cfwx-54rm"},{"ecosystem":"NuGet","fixed":["14.9.0"],"introduced":["0"],"last_affected":[],"package":"Magick.NET-Q8-x86","purl":null,"source":"GHSA-9pp9-cfwx-54rm"},{"ecosystem":"NuGet","fixed":["14.9.0"],"introduced":["0"],"last_affected":[],"package":"Magick.NET-Q8-x86","purl":"pkg:nuget/Magick.NET-Q8-x86","source":"GHSA-9pp9-cfwx-54rm"},{"ecosystem":"SUSE:Linux Enterprise Module for Desktop Applications 15 SP6","fixed":["7.1.0.9-150400.6.46.1"],"introduced":["0"],"last_affected":[],"package":"ImageMagick","purl":"pkg:rpm/suse/ImageMagick\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Desktop%20Applications%2015%20SP6","source":"SUSE-SU-2025:3796-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Desktop Applications 15 SP6","fixed":["7.1.1.21-150600.3.26.1"],"introduced":["0"],"last_affected":[],"package":"ImageMagick","purl":"pkg:rpm/suse/ImageMagick\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Desktop%20Applications%2015%20SP6","source":"SUSE-SU-2025:3844-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Desktop Applications 15 SP7","fixed":["7.1.0.9-150400.6.46.1"],"introduced":["0"],"last_affected":[],"package":"ImageMagick","purl":"pkg:rpm/suse/ImageMagick\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Desktop%20Applications%2015%20SP7","source":"SUSE-SU-2025:3796-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Desktop Applications 15 SP7","fixed":["7.1.1.43-150700.3.19.1"],"introduced":["0"],"last_affected":[],"package":"ImageMagick","purl":"pkg:rpm/suse/ImageMagick\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Desktop%20Applications%2015%20SP7","source":"SUSE-SU-2025:3867-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP6","fixed":["7.1.1.21-150600.3.26.1"],"introduced":["0"],"last_affected":[],"package":"ImageMagick","purl":"pkg:rpm/suse/ImageMagick\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP6","source":"SUSE-SU-2025:3844-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP7","fixed":["7.1.1.43-150700.3.19.1"],"introduced":["0"],"last_affected":[],"package":"ImageMagick","purl":"pkg:rpm/suse/ImageMagick\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP7","source":"SUSE-SU-2025:3867-1"},{"ecosystem":"SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","fixed":["6.8.8.1-71.215.1"],"introduced":["0"],"last_affected":[],"package":"ImageMagick","purl":"pkg:rpm/suse/ImageMagick\u0026distro=SUSE%20Linux%20Enterprise%20Server%20LTSS%20Extended%20Security%2012%20SP5","source":"SUSE-SU-2025:3918-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["7.1.1.21-150600.3.26.1"],"introduced":["0"],"last_affected":[],"package":"ImageMagick","purl":"pkg:rpm/opensuse/ImageMagick\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2025:3844-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["7.1.2.7-1.1"],"introduced":["0"],"last_affected":[],"package":"ImageMagick","purl":"pkg:rpm/opensuse/ImageMagick\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15650-1"}],"prev":{"headline":"rAthena map-server use-after-free vulnerability in RODEX","id":"CVE-2025-62170"},"products":["ImageMagick"],"published":"2025-10-17","related":[{"cvss_score":9.8,"headline":"Use after free in n/a","id":"CVE-2019-19952","kev_date_added":null,"published":"2019-12-24"},{"cvss_score":9.8,"headline":"Null dereference in n/a","id":"CVE-2018-16328","kev_date_added":null,"published":"2018-09-01"},{"cvss_score":9.8,"headline":"Null dereference in n/a","id":"CVE-2018-16329","kev_date_added":null,"published":"2018-09-01"},{"cvss_score":9.8,"headline":"Null dereference in n/a","id":"CVE-2017-18210","kev_date_added":null,"published":"2018-03-01"},{"cvss_score":9.8,"headline":"Denial of service in n/a","id":"CVE-2017-14138","kev_date_added":null,"published":"2017-09-04"},{"cvss_score":9.8,"headline":"Denial of service in n/a","id":"CVE-2014-9826","kev_date_added":null,"published":"2017-03-30"},{"cvss_score":9.8,"headline":"Null dereference in n/a","id":"CVE-2016-10144","kev_date_added":null,"published":"2017-03-24"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-03","vendors":["ImageMagick"]},"summary":"Attackers can cause denial of service in ImageMagick on 32-bit systems via integer overflow in BMP decoder if resource limits are increased.","url":"https://insights.sbomify.com/CVE-2025-62171/"}