Skip to content
Noroxi
NVD / CVE Program· CNA mitre

CVE-2022-43680: In libexpat through 2.4.9, there is a use-after free caused by overeager destruction of a shared DTD in XML_ExternalEntityParserCreate in ou

Noroxi assessment

Priority: Monitor (action score 31/100)

  • Public proof-of-concept code exists (GitHub); there is no record of exploitation in the wild.
  • Probability of exploitation in the next 30 days: 3.1% (FIRST EPSS); higher than 88% of all records.
  • Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
  • According to CISA the attack is automatable: targets can be found by mass scanning.
  • Fixed version: expat (AlmaLinux:8) 2.2.5-10.el8_7.1; expat-devel (AlmaLinux:8) 2.2.5-10.el8_7.1; expat (AlmaLinux:9) 2.4.9-1.el9_1.1.

Low priority for now. Upgrade to expat (AlmaLinux:8) 2.2.5-10.el8_7.1; expat-devel (AlmaLinux:8) 2.2.5-10.el8_7.1; expat (AlmaLinux:9) 2.4.9-1.el9_1.1 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

In libexpat through 2.4.9, there is a use-after free caused by overeager destruction of a shared DTD in XML_ExternalEntityParserCreate in out-of-memory situations.

HighCVSS 7.5 · v3.1—Proof of concept Fix available
Published
Oct 24, 2022
Updated
Oct 14, 2026
EPSS
3.1% · 88th percentile

Report tools

JSON

Action score

31

Monitor

Low priority for now.

CVSS
30 / 40 · 7.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 3.1%

CISA SSVC decision

Exploitation
none
Automatable
yes
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
7.5
CNA · mitre
7.5
agree

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • Proof of concept exists, no weaponized module
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2022-43680

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
libexpat projectlibexpat
debiandebian linux
fedoraprojectfedora
netapph300s firmware
netapph300s
netapph500s firmware
netapph500s
netapph700s firmware
netapph700s
netapph410s firmware
netapph410s
netapph410c firmware

and 6 more

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • debian debian linux10.0
  • debian debian linux11.0
  • fedoraproject fedora35
  • fedoraproject fedora36
  • fedoraproject fedora37
  • libexpat project libexpatup to 2.4.9 inclusive
  • netapp active iq unified managerall versions
  • netapp h300s firmwareall versions
  • netapp h410c firmwareall versions
  • netapp h410s firmwareall versions
  • netapp h500s firmwareall versions
  • netapp h700s firmwareall versions
  • netapp hci compute node firmwareall versions
  • netapp oncommand workflow automationall versions
  • netapp solidfire & hci management nodeall versions

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:8expatbefore 2.2.5-10.el8_7.12.2.5-10.el8_7.1
AlmaLinux:8expat-develbefore 2.2.5-10.el8_7.12.2.5-10.el8_7.1
AlmaLinux:9expatbefore 2.4.9-1.el9_1.12.4.9-1.el9_1.1
AlmaLinux:9expat-develbefore 2.4.9-1.el9_1.12.4.9-1.el9_1.1
Alpine:v3.13expatbefore 2.2.10-r82.2.10-r8
Alpine:v3.14expatbefore 2.5.0-r02.5.0-r0
Debian:10expatbefore 2.2.6-2+deb10u62.2.6-2+deb10u6
Debian:11expatbefore 2.2.10-2+deb11u52.2.10-2+deb11u5
Debian:12expatbefore 2.5.0-12.5.0-1
Debian:12libxmltokfrom 0—
openSUSE:Leap 15.4expatbefore 2.4.4-150400.3.12.12.4.4-150400.3.12.1
openSUSE:Leap Micro 5.2expatbefore 2.2.5-150000.3.25.12.2.5-150000.3.25.1
openSUSE:Tumbleweedexpatbefore 2.5.0-1.12.5.0-1.1
Red Hat:enterprise_linux:8::appstreamfirefoxbefore 0:102.5.0-1.el8_70:102.5.0-1.el8_7
Red Hat:enterprise_linux:8::appstreamfirefox-debuginfobefore 0:102.5.0-1.el8_70:102.5.0-1.el8_7
Red Hat:enterprise_linux:8::appstreamfirefox-debugsourcebefore 0:102.5.0-1.el8_70:102.5.0-1.el8_7
Red Hat:enterprise_linux:8::baseosexpatbefore 0:2.2.5-10.el8_7.10:2.2.5-10.el8_7.1
Red Hat:enterprise_linux:8::baseosexpat-debuginfobefore 0:2.2.5-10.el8_7.10:2.2.5-10.el8_7.1
Red Hat:enterprise_linux:8::baseosexpat-debugsourcebefore 0:2.2.5-10.el8_7.10:2.2.5-10.el8_7.1
Red Hat:enterprise_linux:8::baseosexpat-develbefore 0:2.2.5-10.el8_7.10:2.2.5-10.el8_7.1
Red Hat:enterprise_linux:9::appstreamexpat-debuginfobefore 0:2.4.9-1.el9_1.10:2.4.9-1.el9_1.1
Red Hat:enterprise_linux:9::appstreamexpat-debugsourcebefore 0:2.4.9-1.el9_1.10:2.4.9-1.el9_1.1
Red Hat:enterprise_linux:9::appstreamexpat-develbefore 0:2.4.9-1.el9_1.10:2.4.9-1.el9_1.1
Red Hat:enterprise_linux:9::baseosexpatbefore 0:2.4.9-1.el9_1.10:2.4.9-1.el9_1.1

+26

Other highest-scoring records for the same primary product.

  • CVE-2022-25236xmlparse.c in Expat (aka libexpat) before 2.4.5 allows attackers to insert namespace-separator characters into namespace URIs.
    50Plan
  • CVE-2022-23852Expat (aka libexpat) before 2.4.4 has a signed integer overflow in XML_GetBuffer, for configurations with a nonzero XML_CONTEXT_BYTES.
    41Plan
  • CVE-2022-22822addBinding in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.
    41Plan

Published before and after this one in the same product

  • ← EarlierCVE-2022-25315Feb 18, 2022 · In Expat (aka libexpat) before 2.4.5, there is an integer overflow in storeRawNames.
    40Plan
  • ← EarlierCVE-2022-40674Sep 14, 2022 · libexpat before 2.4.9 has a use-after-free in the doContent function in xmlparse.c.
    33Monitor
  • Later →CVE-2023-52425Feb 4, 2024 · libexpat through 2.5.0 allows a denial of service (resource consumption) because many full reparsings are required in the case of a large to
    31Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
almalinux:expat2.2.5-10.el8_7.1 · AlmaLinux:8Package registry (OSV)
almalinux:expat-devel2.2.5-10.el8_7.1 · AlmaLinux:8Package registry (OSV)
alpine:expat2.2.10-r8 · Alpine:v3.13Package registry (OSV)
debian:expat2.5.0-1 · Debian:12Package registry (OSV)
opensuse:expat2.4.4-150400.3.12.1 · openSUSE:Leap 15.4Package registry (OSV)
red hat:expat0:2.2.5-10.el8_7.1 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)
red hat:expat-debuginfo0:2.2.5-10.el8_7.1 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)
red hat:expat-debugsource0:2.2.5-10.el8_7.1 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)
red hat:expat-devel0:2.2.5-10.el8_7.1 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)
red hat:firefox0:102.5.0-1.el8_6 · Red Hat:rhel_eus:8.6::appstreamPackage registry (OSV)
red hat:firefox-debuginfo0:102.5.0-1.el8_6 · Red Hat:rhel_eus:8.6::appstreamPackage registry (OSV)
red hat:firefox-debugsource0:102.5.0-1.el8_6 · Red Hat:rhel_eus:8.6::appstreamPackage registry (OSV)
rocky linux:expat0:2.2.5-10.el8_7.1 · Rocky Linux:8Package registry (OSV)
suse:expat2.1.0-21.28.1 · SUSE:OpenStack Cloud 9Package registry (OSV)
suse:expat2.4.4-150400.3.12.1 · SUSE:Linux Enterprise Micro 5.3Package registry (OSV)

Exploit status

Proof of concept available

A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.

Evidence

  • Proof-of-concept repository on GitHub ×2

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Proof-of-concept repository on GitHubstars:02022-12-15
Proof-of-concept repository on GitHubstars:02022-12-19

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. Published
  2. First PoC+51 d
  3. TodayOct 31, 2026+1468 d

No history yet (it accumulates with the daily EPSS job).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
none
Integrity
none
Availability
high · the service can be disrupted
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
None
Integrity impact
None
Availability impact
High

Weakness class (CWE)

CWE-416 · Use After Free

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

nvd-primary

Root cause

After a memory region is freed, another reference pointing to it is still used. By then, the same region may have been allocated for different data.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

c
free(dev->buf);/* ... another thread is still running ... */process(dev->buf);

Fixed

c
lock(&dev->lock);free(dev->buf);dev->buf = NULL;unlock(&dev->lock);

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records