{"answers":{"affected":"It affects 17 products.","exploited":"There is no known exploitation of CVE-2022-40303 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2022-40303 is a high-severity vulnerability in Apple Ipados, published on 22 Nov 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-40303 and fix it if it is affected.\n\nWhat it is: CVE-2022-40303 is a high-severity vulnerability in Apple Ipados, published on 22 Nov 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-40303 in the wild and no public exploit code.\n\nAffected product: Apple Ipados. 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-2022-40303/ (Markdown: https://insights.sbomify.com/CVE-2022-40303/index.md)","id":"CVE-2022-40303","markdown":"https://insights.sbomify.com/CVE-2022-40303/index.md","name":"CVE-2022-40303","record":{"aliases":["A-260709824","ALPINE-CVE-2022-40303","AZL-11471","DEBIAN-CVE-2022-40303","ECHO-c83a-37b7-febd","GHSA-94m8-rgr8-rg5g","JLSEC-2025-77","PUB-A-260709824","UBUNTU-CVE-2022-40303"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":true,"product_category":"XML parsing library","requires_auth":"none","summary":"An attacker can cause a segmentation fault and denial of service by parsing a large XML document with the HUGE parser option enabled in libxml2.","user_interaction":"not_required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"ipados","vendor":"apple"},{"product":"iphone_os","vendor":"apple"},{"product":"macos","vendor":"apple"},{"product":"tvos","vendor":"apple"},{"product":"watchos","vendor":"apple"},{"product":"active_iq_unified_manager","vendor":"netapp"},{"product":"clustered_data_ontap","vendor":"netapp"},{"product":"clustered_data_ontap_antivirus_connector","vendor":"netapp"},{"product":"h300s_firmware","vendor":"netapp"},{"product":"h410c_firmware","vendor":"netapp"},{"product":"h410s_firmware","vendor":"netapp"},{"product":"h500s_firmware","vendor":"netapp"},{"product":"h700s_firmware","vendor":"netapp"},{"product":"netapp_manageability_sdk","vendor":"netapp"},{"product":"ontap_select_deploy_administration_utility","vendor":"netapp"},{"product":"snapmanager","vendor":"netapp"},{"product":"libxml2","vendor":"xmlsoft"}],"cvss":{"score":7.5,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/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":"An issue was discovered in libxml2 before 2.10.3. When parsing a multi-gigabyte XML document with the XML_PARSE_HUGE parser option enabled, several integer counters can overflow. This results in an attempt to access an array at a negative 2GB offset, typically leading to a segmentation fault.","ecosystems":[],"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":"Integer overflow in n/a","id":"CVE-2022-40303","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"apple:ipados","products":["apple:ipados","apple:iphone_os","apple:macos","apple:tvos","apple:watchos","netapp:active_iq_unified_manager","netapp:clustered_data_ontap","netapp:h300s_firmware","netapp:h410c_firmware","netapp:h410s_firmware","netapp:h500s_firmware","netapp:h700s_firmware","netapp:ontap_select_deploy_administration_utility","netapp:snapmanager","xmlsoft:libxml2"],"type":"integer_overflow","year":"2022"},"n_packages":0,"n_references":13,"next":{"headline":"Use after free in n/a","id":"CVE-2022-40304"},"packages":[],"prev":{"headline":"Denial of service in n/a","id":"CVE-2022-40302"},"products":["n/a"],"published":"2022-11-22","related":[{"cvss_score":10,"headline":"Apple iOS, iPadOS, and macOS Out-of-Bounds Write","id":"CVE-2025-43300","kev_date_added":"2025-08-21","published":"2025-08-21"},{"cvss_score":10,"headline":"Apple Multiple Products WebKit Out-of-Bounds Write","id":"CVE-2025-24201","kev_date_added":"2025-03-13","published":"2025-03-11"},{"cvss_score":10,"headline":"Apple Multiple Products Use-After-Free","id":"CVE-2025-24085","kev_date_added":"2025-01-29","published":"2025-01-27"},{"cvss_score":9.8,"headline":"Apple Multiple Products Memory Corruption","id":"CVE-2025-31200","kev_date_added":"2025-04-17","published":"2025-04-16"},{"cvss_score":9.8,"headline":"Apple Multiple Products Arbitrary Read and Write","id":"CVE-2025-31201","kev_date_added":"2025-04-17","published":"2025-04-16"},{"cvss_score":9.8,"headline":"Apple Memory Corruption","id":"CVE-2022-22587","kev_date_added":"2022-01-28","published":"2022-03-18"},{"cvss_score":9.8,"headline":"Apple iOS, iPadOS, and macOS WebKit Remote Code Execution","id":"CVE-2021-1870","kev_date_added":"2021-11-03","published":"2021-04-02"}],"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":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-14","vendors":["n/a"]},"summary":"An attacker can cause a segmentation fault and denial of service by parsing a large XML document with the HUGE parser option enabled in libxml2.","url":"https://insights.sbomify.com/CVE-2022-40303/"}