8.1

CVE-2022-40674: debian debian_linux Use After Free

Modified
AliasesALPINE-CVE-2022-40674MGASA-2022-0352MGASA-2022-0397
Published 14-09-2022Last modified 14-10-2026

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.

Priority
Prioritisesevere

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?
CVSS score
8.1/10
010
High · v3.1 (CVE.org)
EPSS score
2.25%
0%100%
Low · +0.03 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 7 · Related 7

Timeline

  1. 14-09-2022
    PublishedVulnerability first disclosed.
  2. 14-10-2026
    Last 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

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

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

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
Libexpat_project1 product
Wolfi1 product
  • expatAll versions (No fix recorded)

11 vendors · 84 products

References

85 links
Show all 85 references