CVE-2022-22822
Critical
CVE-2022-22822
addBinding in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.
Exploit probability
4.8%
Published
January 8, 2022
Required by
Not available
Last source change
August 12, 2026
02 / AFFECTED SOFTWARE
Affected packages
4 explicit affected versions
47 explicit affected versions
03 / CONNECTIONS
Connected vulnerabilities
04 / EVIDENCE
Source records
Open Source Vulnerabilities
ASB-A-219942275
View original source
In storeAtts of xmlparse.c, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.
Open Source Vulnerabilities
CVE-2022-22822
View original source
addBinding in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.
05 / REFERENCES
Further evidence
- https://android.googlesource.com/platform/external/expat/+/f898dc229b8b520a0f28898b7955e55943330584/
- https://source.android.com/security/bulletin/2022-09-01
- http://www.openwall.com/lists/oss-security/2022/01/17/3
- https://cert-portal.siemens.com/productcert/pdf/ssa-484086.pdf
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/22xxx/CVE-2022-22822.json
- https://github.com/libexpat/libexpat/pull/539
- https://nvd.nist.gov/vuln/detail/CVE-2022-22822
- https://security.gentoo.org/glsa/202209-24
- https://www.debian.org/security/2022/dsa-5073
- https://www.tenable.com/security/tns-2022-05