# CVE-2022-40304: An issue was discovered in libxml2 before 2.10.3.

- Severity: High 7.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 5.81%, higher than 93% of CVEs (2026-12-01)
- Published: 2022-11-23T00:00:00.000Z
- Modified: 2026-10-14T18:17:05.050Z
- Weaknesses: CWE-415
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

An issue was discovered in libxml2 before 2.10.3. Certain invalid XML entity definitions can corrupt a hash table key, potentially leading to subsequent logic errors. In one case, a double-free can be provoked.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- xmlsoft libxml2: before 2.10.3
- netapp active_iq_unified_manager: no versions given
- netapp clustered_data_ontap: no versions given
- netapp clustered_data_ontap_antivirus_connector: no versions given
- netapp manageability_software_development_kit: no versions given
- netapp smi-s_provider: no versions given
- netapp snapmanager: no versions given
- netapp h300s_firmware: no versions given
- netapp h500s_firmware: no versions given
- netapp h700s_firmware: no versions given
- netapp h410s_firmware: no versions given
- netapp h410c_firmware: no versions given
- apple ipados: before 15.7.2
- apple iphone_os: before 15.7.2
- apple macos: from 11.0 before 11.7.2; from 12.0 before 12.6.2
- apple tvos: before 16.2
- apple watchos: before 9.2

## Every score

- CISA-ADP: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://gitlab.gnome.org/GNOME/libxml2/-/tags> (release-notes, third-party-advisory)
- <https://gitlab.gnome.org/GNOME/libxml2/-/tags/v2.10.3> (patch, release-notes, third-party-advisory)
- <https://gitlab.gnome.org/GNOME/libxml2/-/commit/1b41ec4e9433b05bb0376be4725804c54ef1d80b> (patch, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20221209-0003/> (third-party-advisory)
- <https://support.apple.com/kb/HT213534> (third-party-advisory)
- <https://support.apple.com/kb/HT213533> (third-party-advisory)
- <https://support.apple.com/kb/HT213531> (third-party-advisory)
- <https://support.apple.com/kb/HT213536> (third-party-advisory)
- <https://support.apple.com/kb/HT213535> (third-party-advisory)
- <http://seclists.org/fulldisclosure/2022/Dec/21> (mailing-list, third-party-advisory)
- <http://seclists.org/fulldisclosure/2022/Dec/25> (mailing-list, third-party-advisory)
- <http://seclists.org/fulldisclosure/2022/Dec/26> (mailing-list, third-party-advisory)
- <http://seclists.org/fulldisclosure/2022/Dec/24> (mailing-list, third-party-advisory)
- <http://seclists.org/fulldisclosure/2022/Dec/27> (mailing-list)
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-556635.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-625862.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-337522.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-341067.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-769027.html>

## Sources

- CVE List: [CVE-2022-40304](https://www.cve.org/CVERecord?id=CVE-2022-40304), CVE Terms of Use, modified 2026-10-14
- NVD: [CVE-2022-40304](https://nvd.nist.gov/vuln/detail/CVE-2022-40304), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2022-40304 · Whole record: https://cve.day/CVE-2022-40304.json · Rebuilt by cve.day 2026-11-25T22:58:16.869Z
