{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-42050 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2026-42050 is a medium-severity memory corruption vulnerability in Imagemagick Imagemagick, published on 11 May 2026. 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-2026-42050 and fix it if it is affected.\n\nWhat it is: CVE-2026-42050 is a medium-severity memory corruption vulnerability in Imagemagick Imagemagick, published on 11 May 2026. 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: There is no known exploitation of CVE-2026-42050 in the wild and no public exploit code.\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-2026-42050/ (Markdown: https://insights.sbomify.com/CVE-2026-42050/index.md)","id":"CVE-2026-42050","markdown":"https://insights.sbomify.com/CVE-2026-42050/index.md","name":"CVE-2026-42050","record":{"aliases":["CLSA-2026-1779127347","CLSA-2026-1779127684","CLSA-2026-1779128088","CLSA-2026-1779128854","CLSA-2026-1779129021","CLSA-2026-1779193855","CLSA-2026-1779373678","CLSA-2026-1779955593","CLSA-2026-1779956012","CLSA-2026-1779956826","CLSA-2026-1780061802","DEBIAN-CVE-2026-42050","ECHO-c568-0b81-1c11","GHSA-7mxf-ff4f-jj7p","JLSEC-2026-1005","MGASA-2026-0162","MINI-7jfx-vcj9-9p67","OESA-2026-2144","SUSE-SU-2026:2003-1","SUSE-SU-2026:2389-1","UBUNTU-CVE-2026-42050","openSUSE-SU-2026:10777-1","openSUSE-SU-2026:10817-1","openSUSE-SU-2026:20786-1","openSUSE-SU-2026:20961-1"],"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 stack buffer overflow in ImageMagick allows attackers to execute arbitrary code or cause denial of service via a malicious MIFF file.","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-121","name":"Stack-based Buffer Overflow"}],"description":"ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to 7.1.2-21 and 6.9.13-46, a malicious MIFF file could trigger an overflow when a user opens it in the display tool and right-clicks a tile to invoke the Load / Update menu item. This vulnerability is fixed in 7.1.2-21 and 6.9.13-46.","ecosystems":["SUSE:Linux Enterprise Module for Package Hub 15 SP7","openSUSE:Leap 16.0","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"ImageMagick: Stack buffer overflow in XTileImage","id":"CVE-2026-42050","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"imagemagick:imagemagick","products":["imagemagick:imagemagick"],"type":"memory_corruption","year":"2026"},"n_packages":4,"n_references":1,"next":{"headline":"Kirby: System API endpoint leaks license data and installed version to authenticated users","id":"CVE-2026-42051"},"packages":[{"ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP7","fixed":["1.3.42-150600.3.27.1"],"introduced":["0"],"last_affected":[],"package":"GraphicsMagick","purl":"pkg:rpm/suse/GraphicsMagick\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP7","source":"SUSE-SU-2026:2389-1"},{"ecosystem":"openSUSE:Leap 16.0","fixed":["1.3.45-160000.7.1"],"introduced":["0"],"last_affected":[],"package":"GraphicsMagick","purl":"pkg:rpm/opensuse/GraphicsMagick\u0026distro=openSUSE%20Leap%2016.0","source":"openSUSE-SU-2026:20961-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.3.46-7.1"],"introduced":["0"],"last_affected":[],"package":"GraphicsMagick","purl":"pkg:rpm/opensuse/GraphicsMagick\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:10817-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["7.1.2.22-1.1"],"introduced":["0"],"last_affected":[],"package":"ImageMagick","purl":"pkg:rpm/opensuse/ImageMagick\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:10777-1"}],"prev":{"headline":"jadx: RCE Via Groovy Code Injection in Gradle Export","id":"CVE-2026-42049"},"products":["ImageMagick"],"published":"2026-05-11","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":"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":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-05-12","vendors":["ImageMagick"]},"summary":"A stack buffer overflow in ImageMagick allows attackers to execute arbitrary code or cause denial of service via a malicious MIFF file.","url":"https://insights.sbomify.com/CVE-2026-42050/"}