{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-55005 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2025-55005 is a medium-severity memory corruption vulnerability in Imagemagick Imagemagick, published on 13 Aug 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-55005 and fix it if it is affected.\n\nWhat it is: CVE-2025-55005 is a medium-severity memory corruption vulnerability in Imagemagick Imagemagick, published on 13 Aug 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-55005 exists.\n\nAffected product: Imagemagick Imagemagick. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-55005/ (Markdown: https://insights.sbomify.com/CVE-2025-55005/index.md)","id":"CVE-2025-55005","markdown":"https://insights.sbomify.com/CVE-2025-55005/index.md","name":"CVE-2025-55005","record":{"aliases":["CLSA-2026-1786695462","CLSA-2026-1786696307","DEBIAN-CVE-2025-55005","GHSA-v393-38qx-v8fp","JLSEC-2026-920","MINI-6prg-wjv3-qjwp","UBUNTU-CVE-2025-55005"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"ImageMagick library","requires_auth":"none","summary":"A heap-buffer overflow in ImageMagick's Log to sRGB colorspace transformation allows attackers to corrupt memory, potentially leading to code execution or crashes.","user_interaction":"required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"imagemagick","vendor":"imagemagick"}],"cvss":{"score":5.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"description":"ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to version 7.1.2-1, when preparing to transform from Log to sRGB colorspaces, the logmap construction fails to handle cases where the reference-black or reference-white value is larger than 1024. This leads to corrupting memory beyond the end of the allocated logmap buffer. This issue has been patched in version 7.1.2-1.","ecosystems":[],"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: heap-buffer overflow in log colorspace handling","id":"CVE-2025-55005","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"imagemagick:imagemagick","products":["imagemagick:imagemagick"],"type":"memory_corruption","year":"2025"},"n_packages":0,"n_references":2,"next":{"headline":"Frappe Learning Holds Potential for Malicious SVG Upload in Image Upload Feature","id":"CVE-2025-55006"},"packages":[],"prev":{"headline":"ImageMagick: heap-buffer overflow read in MNG magnification with alpha","id":"CVE-2025-55004"},"products":["ImageMagick"],"published":"2025-08-13","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":"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-08-13","vendors":["ImageMagick"]},"summary":"A heap-buffer overflow in ImageMagick's Log to sRGB colorspace transformation allows attackers to corrupt memory, potentially leading to code execution or crashes.","url":"https://insights.sbomify.com/CVE-2025-55005/"}