# CVE-2022-21144: Denial of Service (DoS)

- Severity: High 7.5 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P`
- 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): 1.92%, higher than 80% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-05-01T15:25:10.325Z
- Modified: 2026-07-08T06:49:53.712Z
- Also known as: GHSA-773h-w45w-f2f9, SNYK-JS-LIBXMLJS-2348756
- Weaknesses: CWE-20
- Assigned by: snyk

## Description

This affects all versions of package libxmljs. When invoking the libxmljs.parseXml function with a non-buffer argument the V8 code will attempt invoking the .toString method of the argument. If the argument's toString value is not a Function object V8 will crash.

(As written by CVE List.)

## Affected

- libxmljs: before unspecified
- libxmljs (npm): before 0.19.8
- libxmljs_project libxmljs: before 0.19.8

## Every score

- snyk: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://snyk.io/vuln/SNYK-JS-LIBXMLJS-2348756> (exploit, third-party-advisory, web)
- <https://github.com/libxmljs/libxmljs/pull/594> (patch, third-party-advisory, web)
- <https://github.com/libxmljs/libxmljs/commit/2501807bde9b38cfaed06d1e140487516d91379d> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-21144> (advisory)
- <https://github.com/libxmljs/libxmljs> (package)

## Sources

- CVE List: [CVE-2022-21144](https://www.cve.org/CVERecord?id=CVE-2022-21144), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-773h-w45w-f2f9](https://github.com/advisories/GHSA-773h-w45w-f2f9), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2022-21144](https://nvd.nist.gov/vuln/detail/CVE-2022-21144), Public domain, modified 2026-06-17

---

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