CVE-2022-40674Libexpat Project Libexpat
High 8.1 No auth needed
Follow: this CVE · Libexpat Project · Libexpat Project Libexpat We alert you by email or Slack (account required).
- Priority
- 64
- CVSS 3.1
- 8.1
- EPSS
- 2.4% probability of exploitation in 30 days · percentile 84
- Auth required
- No
- Published
- Sep 14, 2022
- Updated
- Oct 14, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-416
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
libexpat before 2.4.9 has a use-after-free in the doContent function in xmlparse.c.
What to do
- Apply the vendor's security update for Libexpat.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| libexpat_project | libexpat | < 2.4.9 |
| debian | debian_linux | 10.0 |
| debian | debian_linux | 11.0 |
| fedoraproject | fedora | 35 |
| fedoraproject | fedora | 36 |
| fedoraproject | fedora | 37 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Issue Tracking Patch Third Party Advisory
- github.com Issue Tracking Patch Third Party Advisory
- lists.debian.org Issue Tracking Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- security.gentoo.org Third Party Advisory
- security.gentoo.org Third Party Advisory
- security.netapp.com Third Party Advisory
- www.debian.org Third Party Advisory
- cert-portal.siemens.com
- cert-portal.siemens.com
- cert-portal.siemens.com