{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-45322 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2023-45322 is a medium-severity use after free vulnerability in Xmlsoft Libxml2, published on 6 Oct 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-45322 and fix it if it is affected.\n\nWhat it is: CVE-2023-45322 is a medium-severity use after free vulnerability in Xmlsoft Libxml2, published on 6 Oct 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2023-45322 in the wild and no public exploit code.\n\nAffected product: Xmlsoft Libxml2. 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-45322/ (Markdown: https://insights.sbomify.com/CVE-2023-45322/index.md)","id":"CVE-2023-45322","markdown":"https://insights.sbomify.com/CVE-2023-45322/index.md","name":"CVE-2023-45322","record":{"aliases":["AZL-31272","AZL-34960","BELL-CVE-2023-45322","DEBIAN-CVE-2023-45322","ECHO-86f2-08fd-b895","GHSA-vqpg-m25j-7558","MGASA-2023-0298","OESA-2023-1742","SUSE-SU-2023:4464-1","SUSE-SU-2023:4504-1","SUSE-SU-2023:4505-1","SUSE-SU-2023:4537-1","openSUSE-SU-2024:13426-1"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"XML parsing library","requires_auth":"none","summary":"A use-after-free in libxml2 can cause a denial of service when memory allocation fails, though exploitation is difficult.","user_interaction":"required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"libxml2","vendor":"xmlsoft"}],"cvss":{"score":6.5,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"description":"libxml2 through 2.11.5 has a use-after-free that can only occur after a certain memory allocation fails. This occurs in xmlUnlinkNode in tree.c. NOTE: the vendor's position is \"I don't think these issues are critical enough to warrant a CVE ID ... because an attacker typically can't control when memory allocations fail.\"","ecosystems":["SUSE:Linux Enterprise Micro 5.1","SUSE:Linux Enterprise Micro 5.2","SUSE:Linux Enterprise Micro 5.3","SUSE:Linux Enterprise Micro 5.4","SUSE:Linux Enterprise Micro 5.5","SUSE:Linux Enterprise Module for Basesystem 15 SP4","SUSE:Linux Enterprise Module for Basesystem 15 SP5","SUSE:Linux Enterprise Module for Python 3 15 SP4","SUSE:Linux Enterprise Module for Python 3 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","openSUSE:Leap 15.4","openSUSE:Leap 15.5","openSUSE:Leap Micro 5.3","openSUSE:Leap Micro 5.4","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":"Use after free in n/a","id":"CVE-2023-45322","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"xmlsoft:libxml2","products":["xmlsoft:libxml2"],"type":"use_after_free","year":"2023"},"n_packages":31,"n_references":3,"next":{"headline":"Online Food Ordering System v1.0 - Multiple Unauthenticated SQL Injections (SQLi)","id":"CVE-2023-45323"},"packages":[{"ecosystem":"SUSE:Linux Enterprise Micro 5.1","fixed":["2.9.7-150000.3.63.1"],"introduced":["0"],"last_affected":[],"package":"libxml2","purl":"pkg:rpm/suse/libxml2\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.1","source":"SUSE-SU-2023:4464-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.2","fixed":["2.9.7-150000.3.63.1"],"introduced":["0"],"last_affected":[],"package":"libxml2","purl":"pkg:rpm/suse/libxml2\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.2","source":"SUSE-SU-2023:4464-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.2","fixed":["2.9.7-150000.3.63.1"],"introduced":["0"],"last_affected":[],"package":"python-libxml2-python","purl":"pkg:rpm/suse/python-libxml2-python\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.2","source":"SUSE-SU-2023:4464-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.3","fixed":["2.9.14-150400.5.25.1"],"introduced":["0"],"last_affected":[],"package":"libxml2","purl":"pkg:rpm/suse/libxml2\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.3","source":"SUSE-SU-2023:4537-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.3","fixed":["2.9.14-150400.5.25.1"],"introduced":["0"],"last_affected":[],"package":"libxml2-python","purl":"pkg:rpm/suse/libxml2-python\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.3","source":"SUSE-SU-2023:4537-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.4","fixed":["2.9.14-150400.5.25.1"],"introduced":["0"],"last_affected":[],"package":"libxml2","purl":"pkg:rpm/suse/libxml2\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.4","source":"SUSE-SU-2023:4537-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.4","fixed":["2.9.14-150400.5.25.1"],"introduced":["0"],"last_affected":[],"package":"libxml2-python","purl":"pkg:rpm/suse/libxml2-python\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.4","source":"SUSE-SU-2023:4537-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.5","fixed":["2.10.3-150500.5.11.1"],"introduced":["0"],"last_affected":[],"package":"libxml2","purl":"pkg:rpm/suse/libxml2\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.5","source":"SUSE-SU-2023:4504-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.5","fixed":["2.10.3-150500.5.11.1"],"introduced":["0"],"last_affected":[],"package":"libxml2-python","purl":"pkg:rpm/suse/libxml2-python\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.5","source":"SUSE-SU-2023:4504-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP4","fixed":["2.9.14-150400.5.25.1"],"introduced":["0"],"last_affected":[],"package":"libxml2","purl":"pkg:rpm/suse/libxml2\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP4","source":"SUSE-SU-2023:4537-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP4","fixed":["2.9.14-150400.5.25.1"],"introduced":["0"],"last_affected":[],"package":"libxml2-python","purl":"pkg:rpm/suse/libxml2-python\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP4","source":"SUSE-SU-2023:4537-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP5","fixed":["2.10.3-150500.5.11.1"],"introduced":["0"],"last_affected":[],"package":"libxml2","purl":"pkg:rpm/suse/libxml2\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP5","source":"SUSE-SU-2023:4504-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP5","fixed":["2.10.3-150500.5.11.1"],"introduced":["0"],"last_affected":[],"package":"libxml2-python","purl":"pkg:rpm/suse/libxml2-python\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP5","source":"SUSE-SU-2023:4504-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Python 3 15 SP4","fixed":["2.9.14-150400.5.25.1"],"introduced":["0"],"last_affected":[],"package":"libxml2-python","purl":"pkg:rpm/suse/libxml2-python\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Python%203%2015%20SP4","source":"SUSE-SU-2023:4537-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Python 3 15 SP5","fixed":["2.10.3-150500.5.11.1"],"introduced":["0"],"last_affected":[],"package":"libxml2-python","purl":"pkg:rpm/suse/libxml2-python\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Python%203%2015%20SP5","source":"SUSE-SU-2023:4504-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["2.9.4-46.68.2"],"introduced":["0"],"last_affected":[],"package":"libxml2","purl":"pkg:rpm/suse/libxml2\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2023:4505-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["2.9.4-46.68.2"],"introduced":["0"],"last_affected":[],"package":"python-libxml2","purl":"pkg:rpm/suse/python-libxml2\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2023:4505-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["2.9.4-46.68.2"],"introduced":["0"],"last_affected":[],"package":"libxml2","purl":"pkg:rpm/suse/libxml2\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2023:4505-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["2.9.4-46.68.2"],"introduced":["0"],"last_affected":[],"package":"python-libxml2","purl":"pkg:rpm/suse/python-libxml2\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2023:4505-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","fixed":["2.9.4-46.68.2"],"introduced":["0"],"last_affected":[],"package":"libxml2","purl":"pkg:rpm/suse/libxml2\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5","source":"SUSE-SU-2023:4505-1"},{"ecosystem":"openSUSE:Leap 15.4","fixed":["2.9.14-150400.5.25.1"],"introduced":["0"],"last_affected":[],"package":"libxml2","purl":"pkg:rpm/opensuse/libxml2\u0026distro=openSUSE%20Leap%2015.4","source":"SUSE-SU-2023:4537-1"},{"ecosystem":"openSUSE:Leap 15.4","fixed":["2.9.14-150400.5.25.1"],"introduced":["0"],"last_affected":[],"package":"libxml2-python","purl":"pkg:rpm/opensuse/libxml2-python\u0026distro=openSUSE%20Leap%2015.4","source":"SUSE-SU-2023:4537-1"},{"ecosystem":"openSUSE:Leap 15.4","fixed":["2.9.7-150000.3.63.1"],"introduced":["0"],"last_affected":[],"package":"python-libxml2-python","purl":"pkg:rpm/opensuse/python-libxml2-python\u0026distro=openSUSE%20Leap%2015.4","source":"SUSE-SU-2023:4464-1"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["2.10.3-150500.5.11.1"],"introduced":["0"],"last_affected":[],"package":"libxml2","purl":"pkg:rpm/opensuse/libxml2\u0026distro=openSUSE%20Leap%2015.5","source":"SUSE-SU-2023:4504-1"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["2.10.3-150500.5.11.1"],"introduced":["0"],"last_affected":[],"package":"libxml2-python","purl":"pkg:rpm/opensuse/libxml2-python\u0026distro=openSUSE%20Leap%2015.5","source":"SUSE-SU-2023:4504-1"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["2.9.7-150000.3.63.1"],"introduced":["0"],"last_affected":[],"package":"python-libxml2-python","purl":"pkg:rpm/opensuse/python-libxml2-python\u0026distro=openSUSE%20Leap%2015.5","source":"SUSE-SU-2023:4464-1"},{"ecosystem":"openSUSE:Leap Micro 5.3","fixed":["2.9.14-150400.5.25.1"],"introduced":["0"],"last_affected":[],"package":"libxml2","purl":"pkg:rpm/opensuse/libxml2\u0026distro=openSUSE%20Leap%20Micro%205.3","source":"SUSE-SU-2023:4537-1"},{"ecosystem":"openSUSE:Leap Micro 5.3","fixed":["2.9.14-150400.5.25.1"],"introduced":["0"],"last_affected":[],"package":"libxml2-python","purl":"pkg:rpm/opensuse/libxml2-python\u0026distro=openSUSE%20Leap%20Micro%205.3","source":"SUSE-SU-2023:4537-1"},{"ecosystem":"openSUSE:Leap Micro 5.4","fixed":["2.9.14-150400.5.25.1"],"introduced":["0"],"last_affected":[],"package":"libxml2","purl":"pkg:rpm/opensuse/libxml2\u0026distro=openSUSE%20Leap%20Micro%205.4","source":"SUSE-SU-2023:4537-1"},{"ecosystem":"openSUSE:Leap Micro 5.4","fixed":["2.9.14-150400.5.25.1"],"introduced":["0"],"last_affected":[],"package":"libxml2-python","purl":"pkg:rpm/opensuse/libxml2-python\u0026distro=openSUSE%20Leap%20Micro%205.4","source":"SUSE-SU-2023:4537-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["2.11.5-2.1"],"introduced":["0"],"last_affected":[],"package":"libxml2","purl":"pkg:rpm/opensuse/libxml2\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:13426-1"}],"prev":{"headline":"Information disclosure in ctrlX HMI Web Panel - WR21 (WR2107)","id":"CVE-2023-45321"},"products":["n/a"],"published":"2023-10-06","related":[{"cvss_score":9.8,"headline":"XML external entity in n/a","id":"CVE-2017-16931","kev_date_added":null,"published":"2017-11-23"},{"cvss_score":9.1,"headline":"Information disclosure in n/a","id":"CVE-2017-8872","kev_date_added":null,"published":"2017-05-10"},{"cvss_score":8.1,"headline":"Use after free in libxml2","id":"CVE-2022-49043","kev_date_added":null,"published":"2025-01-26"},{"cvss_score":8,"headline":"Memory corruption in libxml2","id":"CVE-2026-86140","kev_date_added":null,"published":"2026-09-05"},{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2024-34459","kev_date_added":null,"published":"2024-05-13"},{"cvss_score":7.5,"headline":"Use after free in n/a","id":"CVE-2024-25062","kev_date_added":null,"published":"2024-02-04"},{"cvss_score":7.5,"headline":"Nokogiri gem, via libxml, is affected by DoS vulnerabilities","id":"CVE-2017-16932","kev_date_added":null,"published":"2017-11-23"}],"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-10-14","vendors":["n/a"]},"summary":"A use-after-free in libxml2 can cause a denial of service when memory allocation fails, though exploitation is difficult.","url":"https://insights.sbomify.com/CVE-2023-45322/"}