# CVE-2022-49043: xmlXIncludeAddNode in xinclude.c in libxml2 before 2.11.0 has a use-after-free.

- Severity: High 8.1 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/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): 0.27%, higher than 19% of CVEs (2026-12-01)
- Published: 2025-01-26T00:00:00.000Z
- Modified: 2026-06-17T05:16:55.400Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mitre

## Description

xmlXIncludeAddNode in xinclude.c in libxml2 before 2.11.0 has a use-after-free.

(As written by CVE List.)

## Affected

- xmlsoft libxml2: from 2.0.0 before 2.11.0; before 2.11.0

## Every score

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

## References

- <https://gitlab.gnome.org/GNOME/libxml2/-/commit/5a19e21605398cef6a8b1452477a8705cb41562b> (patch)
- <https://github.com/php/php-src/issues/17467> (issue-tracking)
- <https://lists.debian.org/debian-lts-announce/2025/02/msg00028.html>

## Sources

- CVE List: [CVE-2022-49043](https://www.cve.org/CVERecord?id=CVE-2022-49043), CVE Terms of Use, modified 2025-11-03
- NVD: [CVE-2022-49043](https://nvd.nist.gov/vuln/detail/CVE-2022-49043), Public domain, modified 2026-06-17

---

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