libexpat before 2.4.9 has a use-after-free in the doContent function in xmlparse.c.
Conclusion & alert: CVE-2022-40674 is rated Moderate Risk (59.3/100): CVSS High severity, with medium exploitation likelihood (EPSS 0.94%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-05-26 | 0.79% | 0.94% | +0.15% |
| 2 | 2026-05-22 | 0.92% | 0.79% | -0.13% |
| 3 | 2026-05-13 | — | 0.92% | — |
Full EPSS history (45 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 8.1 | 3.1 | HIGH |
|
2.2 | 5.9 | [email protected] |
| 8.1 | 3.1 | HIGH |
|
2.2 | 5.9 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
— | CVE-2022-40674: 1 source package rows (expat); 7 state rows across 7 repos (3.17-main, 3.18-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 7, open 0. | https://security.alpinelinux.org/vuln/CVE-2022-40674 |
debian
|
not yet assigned | CVE-2022-40674 not yet assigned priority: Debian including 2 source packages (expat, libxmltok), 7 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5, open 2. | https://security-tracker.debian.org/tracker/CVE-2022-40674 |
gentoo
|
high | CVE-2022-40674: 2 GLSA(s) (202209-24, 202211-06), 3 atom(s) (dev-libs/expat, www-client/firefox, www-client/firefox-bin); latest impact high. | https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2022-40674 |
redhat
|
high | — | https://access.redhat.com/security/cve/CVE-2022-40674 |
suse
|
high | CVE-2022-40674 severity important: SUSE including 399 source package names (0.0.17-1.1:libexpat1-2.4.4-150400.3.9.1, 0.1.6-1.2:libexpat1-2.4.4-150400.3.9.1, …), 926 product×package rows across 400 product lines (Container bci/bci-base-fips, Container bci/bci-init, … (400 product lines)): Fixed 822, Known Affected 104. | https://www.suse.com/security/cve/CVE-2022-40674/ |
ubuntu
|
medium | CVE-2022-40674 medium priority: Ubuntu including 24 source packages (apache2, apr-util, …), 270 status rows across 13 suites (bionic, focal, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): ignored 107, not-affected 78, needs-triage 39, DNE 23, released 15, needed 8. | https://ubuntu.com/security/CVE-2022-40674 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| libexpat_project | libexpat | < 2.4.9 | cpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:* |
| debian | debian_linux | 10.0 | cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
| debian | debian_linux | 11.0 | cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
| fedoraproject | fedora | 35 | cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* |
| fedoraproject | fedora | 36 | cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* |
| fedoraproject | fedora | 37 | cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* |