{"answers":{"affected":"It affects 3 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-5341 exists.","fix":"Apply the vendor's patch.","what":"CVE-2023-5341 is a medium-severity use after free vulnerability in Fedoraproject Extra Packages for Enterprise Linux, published on 19 Nov 2023. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-5341 and fix it if it is affected.\n\nWhat it is: CVE-2023-5341 is a medium-severity use after free vulnerability in Fedoraproject Extra Packages for Enterprise Linux, published on 19 Nov 2023. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-5341 exists.\n\nAffected product: Fedoraproject Extra Packages for Enterprise Linux. 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-2023-5341/ (Markdown: https://insights.sbomify.com/CVE-2023-5341/index.md)","id":"CVE-2023-5341","markdown":"https://insights.sbomify.com/CVE-2023-5341/index.md","name":"CVE-2023-5341","record":{"aliases":["CLSA-2024-1709839661","CLSA-2024-1709839850","DEBIAN-CVE-2023-5341","GHSA-gp6r-24h3-qcjv","JLSEC-2026-912","MINI-4xjm-cv63-46mc","OESA-2023-1733","SUSE-SU-2023:4008-1","SUSE-SU-2023:4049-1","SUSE-SU-2023:4050-1","UBUNTU-CVE-2023-5341","USN-6621-1","openSUSE-SU-2024:13298-1"],"analysis":{"component_type":"library","fix_type":"patch","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 use-after-free in ImageMagick's BMP coder allows attackers to execute arbitrary code or cause denial of service via crafted images.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"extra_packages_for_enterprise_linux","vendor":"fedoraproject"},{"product":"fedora","vendor":"fedoraproject"},{"product":"imagemagick","vendor":"imagemagick"}],"cvss":{"score":6.2,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"description":"A heap use-after-free flaw was found in coders/bmp.c in ImageMagick.","ecosystems":["SUSE:Linux Enterprise Module for Desktop Applications 15 SP4","SUSE:Linux Enterprise Module for Desktop Applications 15 SP5","SUSE:Linux Enterprise Module for Development Tools 15 SP4","SUSE:Linux Enterprise Module for Development Tools 15 SP5","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Software Development Kit 12 SP5","SUSE:Linux Enterprise Workstation Extension 12 SP5","openSUSE:Leap 15.4","openSUSE:Leap 15.5","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: heap use-after-free in coders/bmp.c","id":"CVE-2023-5341","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"fedoraproject:extra_packages_for_enterprise_linux","products":["fedoraproject:extra_packages_for_enterprise_linux","fedoraproject:fedora","imagemagick:imagemagick"],"type":"use_after_free","year":"2023"},"n_packages":12,"n_references":3,"next":{"headline":"Shim: expired secure boot certificate","id":"CVE-2023-5342"},"packages":[{"ecosystem":"SUSE:Linux Enterprise Module for Desktop Applications 15 SP4","fixed":["7.1.0.9-150400.6.27.1"],"introduced":["0"],"last_affected":[],"package":"ImageMagick","purl":"pkg:rpm/suse/ImageMagick\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Desktop%20Applications%2015%20SP4","source":"SUSE-SU-2023:4050-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Desktop Applications 15 SP5","fixed":["7.1.0.9-150400.6.27.1"],"introduced":["0"],"last_affected":[],"package":"ImageMagick","purl":"pkg:rpm/suse/ImageMagick\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Desktop%20Applications%2015%20SP5","source":"SUSE-SU-2023:4050-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP4","fixed":["7.1.0.9-150400.6.27.1"],"introduced":["0"],"last_affected":[],"package":"ImageMagick","purl":"pkg:rpm/suse/ImageMagick\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP4","source":"SUSE-SU-2023:4050-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP5","fixed":["7.1.0.9-150400.6.27.1"],"introduced":["0"],"last_affected":[],"package":"ImageMagick","purl":"pkg:rpm/suse/ImageMagick\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP5","source":"SUSE-SU-2023:4050-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["6.8.8.1-71.201.1"],"introduced":["0"],"last_affected":[],"package":"ImageMagick","purl":"pkg:rpm/suse/ImageMagick\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2023:4049-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["6.8.8.1-71.201.1"],"introduced":["0"],"last_affected":[],"package":"ImageMagick","purl":"pkg:rpm/suse/ImageMagick\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2023:4049-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","fixed":["6.8.8.1-71.201.1"],"introduced":["0"],"last_affected":[],"package":"ImageMagick","purl":"pkg:rpm/suse/ImageMagick\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5","source":"SUSE-SU-2023:4049-1"},{"ecosystem":"SUSE:Linux Enterprise Workstation Extension 12 SP5","fixed":["6.8.8.1-71.201.1"],"introduced":["0"],"last_affected":[],"package":"ImageMagick","purl":"pkg:rpm/suse/ImageMagick\u0026distro=SUSE%20Linux%20Enterprise%20Workstation%20Extension%2012%20SP5","source":"SUSE-SU-2023:4049-1"},{"ecosystem":"openSUSE:Leap 15.4","fixed":["7.0.7.34-150200.10.57.1"],"introduced":["0"],"last_affected":[],"package":"ImageMagick","purl":"pkg:rpm/opensuse/ImageMagick\u0026distro=openSUSE%20Leap%2015.4","source":"SUSE-SU-2023:4008-1"},{"ecosystem":"openSUSE:Leap 15.4","fixed":["7.1.0.9-150400.6.27.1"],"introduced":["0"],"last_affected":[],"package":"ImageMagick","purl":"pkg:rpm/opensuse/ImageMagick\u0026distro=openSUSE%20Leap%2015.4","source":"SUSE-SU-2023:4050-1"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["7.1.0.9-150400.6.27.1"],"introduced":["0"],"last_affected":[],"package":"ImageMagick","purl":"pkg:rpm/opensuse/ImageMagick\u0026distro=openSUSE%20Leap%2015.5","source":"SUSE-SU-2023:4050-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["7.1.1.19-1.1"],"introduced":["0"],"last_affected":[],"package":"ImageMagick","purl":"pkg:rpm/opensuse/ImageMagick\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:13298-1"}],"prev":{"headline":"Five Star Restaurant Menu and Food Ordering \u003c 2.4.11 - Unauthenticated PHP Object Injection","id":"CVE-2023-5340"},"products":["Red Hat Enterprise Linux 6","Red Hat Enterprise Linux 7"],"published":"2023-11-19","related":[{"cvss_score":9.8,"headline":"Command injection in ImageMagick","id":"CVE-2023-34152","kev_date_added":null,"published":"2023-05-30"},{"cvss_score":9.8,"headline":"Code injection in rxvt-unicode","id":"CVE-2022-4170","kev_date_added":null,"published":"2022-12-09"},{"cvss_score":9.8,"headline":"Moodle Minor SQL injection risk in admin user browsing","id":"CVE-2022-40315","kev_date_added":null,"published":"2022-09-30"},{"cvss_score":9.1,"headline":"Moodle blind Server-Side Request Forgery (SSRF) vulnerability in LTI provider library","id":"CVE-2022-45152","kev_date_added":null,"published":"2022-11-25"},{"cvss_score":9.1,"headline":"Server side NTLM does not properly check parameters in FreeRDP","id":"CVE-2022-24882","kev_date_added":null,"published":"2022-04-26"},{"cvss_score":8.8,"headline":"Use after free in Chrome","id":"CVE-2022-2158","kev_date_added":null,"published":"2022-07-28"},{"cvss_score":8.8,"headline":"Use after free in Chrome","id":"CVE-2022-2163","kev_date_added":null,"published":"2022-07-28"}],"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":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-11-20","vendors":["Red Hat"]},"summary":"A heap use-after-free in ImageMagick's BMP coder allows attackers to execute arbitrary code or cause denial of service via crafted images.","url":"https://insights.sbomify.com/CVE-2023-5341/"}