CVE-2022-40674: debian debian_linux Use After Free
Vulnerability summary
CVE-2022-40674 is a high (CVSS 8.1) Use After Free vulnerability in debian debian_linux. EPSS estimates a 2.25% chance of exploitation in the next 30 days, higher than 82.9% of scored vulnerabilities.
Severe, CVSS 8.1 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 03-11-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 7 · Related 7Timeline
- 14-09-2022PublishedVulnerability first disclosed.
- 14-10-2026Last modifiedVulnerability information updated.
Description
libexpat before 2.4.9 has a use-after-free in the doContent function in xmlparse.c.
CVSS metrics
8 scores · 8 sources · 1 version- OSV · AlpineEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · Red hatEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · WolfiEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVDNIST8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
2.25%
Chance of exploitation in the next 30 days
Percentile
83%
Versus all other CVEs
30-day change
Increase +0.03 pp
From 2.22% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Suse33 products
- expat&distro=SUSE Enterprise Storage 6< 2.2.5-150000.3.22.1
- expat&distro=SUSE Enterprise Storage 7< 2.2.5-150000.3.22.1
- expat&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS< 2.2.5-150000.3.22.1
- expat&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS< 2.2.5-150000.3.22.1
- expat&distro=SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS< 2.2.5-150000.3.22.1
Redhat18 products
- compat-expat1< 0:1.95.8-9.el6_10
- compat-expat1-debuginfo< 0:1.95.8-9.el6_10
- expat< 0:2.2.5-4.el8_4.4 | < 0:2.2.5-3.el8_2.3 | < 0:2.2.5-3.el8_1.2 | < 0:2.1.0-15.el7_9 | < 0:2.2.10-12.el9_0.3 | < 0:2.2.5-8.el8_6.3 | < 0:2.0.1-15.el6_10
- expat-debuginfo< 0:2.2.5-4.el8_4.4 | < 0:2.2.5-3.el8_2.3 | < 0:2.2.5-3.el8_1.2 | < 0:2.1.0-15.el7_9 | < 0:2.2.10-12.el9_0.3 | < 0:2.2.5-8.el8_6.3 | < 0:2.0.1-15.el6_10
- expat-debugsource< 0:2.2.5-4.el8_4.4 | < 0:2.2.5-3.el8_2.3 | < 0:2.2.5-3.el8_1.2 | < 0:2.2.10-12.el9_0.3 | < 0:2.2.5-8.el8_6.3
Ubuntu17 products
- ayttmAll versions (No fix recorded)
- cableswigAll versions (No fix recorded)
- cadaverAll versions (No fix recorded)
- coin3All versions (No fix recorded)
- expat< 2.1.0-4ubuntu1.4+esm7 | < 2.1.0-7ubuntu0.16.04.5+esm6 | < 2.2.5-3ubuntu0.8 | < 2.2.9-1ubuntu0.5 | < 2.4.7-1ubuntu0.1
Mageia4 products
- expat< 2.2.10-1.5.mga8
- firefox< 102.4.0-1.1.mga8
- thunderbird< 102.4.0-1.mga8
- thunderbird-l10n< 102.4.0-1.mga8
Opensuse4 products
- expat&distro=openSUSE Leap 15.3< 2.2.5-150000.3.22.1
- expat&distro=openSUSE Leap 15.4< 2.4.4-150400.3.9.1
- expat&distro=openSUSE Leap Micro 5.2< 2.2.5-150000.3.22.1
- expat&distro=openSUSE Tumbleweed< 2.4.9-1.1
Debian3 products
- expat< 2.2.10-2+deb11u4 | < 2.2.6-2+deb10u5 | < 2.4.8-2
- libxmltokAll versions (No fix recorded)
- debian_linuxEOL10.0 | 11.0
Alpine1 product
- expat< 2.2.10-r7 | < 2.4.9-r0
Chainguard1 product
- expatAll versions (No fix recorded)
Fedoraproject1 product
- fedoraEOL35 | 36 | 37
Libexpat_project1 product
- libexpat< 2.4.9
Wolfi1 product
- expatAll versions (No fix recorded)
11 vendors · 84 products
References
85 links- lists.debian.org/debian-lts-announce/2022/09/msg00029.htmlMailing ListARTICLEIssue TrackingThird Party Advisory