Skip to content
Noroxi
CVE-2022-25313· NVD / CVE Program· CNA mitre

In Expat (aka libexpat) before 2.4.5, an attacker can trigger stack exhaustion in build_model via a large nesting depth in the DTD element.

Noroxi assessment

Priority: Monitor (action score 27/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.2% (FIRST EPSS); higher than 88.4% of all records.
  • Anyone who can reach it over the internet can trigger it. No account or password is required. A user must open a link or visit a page. No special conditions are required; it is repeatable.
  • Fixed version: expat (AlmaLinux:8) 2.2.5-8.el8_6.2; expat-devel (AlmaLinux:8) 2.2.5-8.el8_6.2; mingw32-expat (AlmaLinux:8) 2.4.8-1.el8.
  • Mentioned 5 times in Turkish national cyber security advisories (siberguvenlik.gov.tr).

Low priority for now. Upgrade to expat (AlmaLinux:8) 2.2.5-8.el8_6.2; expat-devel (AlmaLinux:8) 2.2.5-8.el8_6.2; mingw32-expat (AlmaLinux:8) 2.4.8-1.el8 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

MediumCVSS 6.5 · v3.1—Proof of concept Fix available
Published
Feb 18, 2022
Updated
Oct 14, 2026
EPSS
3.2% · 88th percentile

Report tools

JSON

Action score

27

Monitor

Low priority for now.

CVSS
26 / 40 · 6.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 3.2%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
6.5
CNA · mitre
6.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-25313

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
oraclehttp server
oraclezfs storage appliance kit
siemenssinema remote connect server

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 fedora34
  • fedoraproject fedora35
  • libexpat project libexpatbefore 2.4.5
  • oracle http server12.2.1.3.0
  • oracle http server12.2.1.4.0
  • oracle zfs storage appliance kit8.8
  • siemens sinema remote connect serverbefore 3.1

Package-level exposure

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

EcosystemPackageAffected rangeFix
AlmaLinux:8expatbefore 2.2.5-8.el8_6.22.2.5-8.el8_6.2
AlmaLinux:8expat-develbefore 2.2.5-8.el8_6.22.2.5-8.el8_6.2
AlmaLinux:8mingw32-expatbefore 2.4.8-1.el82.4.8-1.el8
AlmaLinux:8mingw64-expatbefore 2.4.8-1.el82.4.8-1.el8
AlmaLinux:9expatbefore 2.2.10-12.el9_0.22.2.10-12.el9_0.2
AlmaLinux:9expat-develbefore 2.2.10-12.el9_0.22.2.10-12.el9_0.2
Alpine:v3.12expatbefore 2.2.10-r22.2.10-r2
Alpine:v3.13expatbefore 2.2.10-r42.2.10-r4
Alpine:v3.14expatbefore 2.4.5-r02.4.5-r0
Debian:10expatbefore 2.2.6-2+deb10u32.2.6-2+deb10u3
Debian:11expatbefore 2.2.10-2+deb11u22.2.10-2+deb11u2
Debian:12expatbefore 2.4.5-12.4.5-1
Debian:12libxmltokfrom 0—
Debian:9expatbefore 2.2.0-2+deb9u52.2.0-2+deb9u5
openSUSE:Leap 15.3expatbefore 2.2.5-3.15.12.2.5-3.15.1
openSUSE:Leap 15.4expatbefore 2.4.4-150400.3.6.92.4.4-150400.3.6.9
openSUSE:Tumbleweedexpatbefore 2.4.6-1.12.4.6-1.1
Red Hat:enterprise_linux:8::baseosexpatbefore 0:2.2.5-8.el8_6.20:2.2.5-8.el8_6.2
Red Hat:enterprise_linux:8::baseosexpat-debuginfobefore 0:2.2.5-8.el8_6.20:2.2.5-8.el8_6.2
Red Hat:enterprise_linux:8::baseosexpat-debugsourcebefore 0:2.2.5-8.el8_6.20:2.2.5-8.el8_6.2
Red Hat:enterprise_linux:8::baseosexpat-develbefore 0:2.2.5-8.el8_6.20:2.2.5-8.el8_6.2
Red Hat:enterprise_linux:8::crbmingw-expatbefore 0:2.4.8-1.el80:2.4.8-1.el8
Red Hat:enterprise_linux:8::crbmingw32-expatbefore 0:2.4.8-1.el80:2.4.8-1.el8
Red Hat:enterprise_linux:8::crbmingw32-expat-debuginfobefore 0:2.4.8-1.el80:2.4.8-1.el8

+13

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-23990Jan 26, 2022 · Expat (aka libexpat) before 2.4.4 has an integer overflow in the doProlog function.
    31Monitor
  • ← EarlierCVE-2022-25235Feb 16, 2022 · xmltok_impl.c in Expat (aka libexpat) before 2.4.5 lacks certain validation of encoding, such as checks for whether a UTF-8 character is val
    40Plan
  • Later →CVE-2022-25314Feb 18, 2022 · In Expat (aka libexpat) before 2.4.5, there is an integer overflow in copyString.
    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.10-12.el9_0.2 · AlmaLinux:9Package registry (OSV)
almalinux:expat-devel2.2.10-12.el9_0.2 · AlmaLinux:9Package registry (OSV)
almalinux:mingw32-expat2.4.8-1.el8 · AlmaLinux:8Package registry (OSV)
almalinux:mingw64-expat2.4.8-1.el8 · AlmaLinux:8Package registry (OSV)
alpine:expat2.2.10-r2 · Alpine:v3.12Package registry (OSV)
debian:expat2.4.5-1 · Debian:12Package registry (OSV)
opensuse:expat2.4.4-150400.3.6.9 · openSUSE:Leap 15.4Package registry (OSV)
red hat:expat0:2.2.10-12.el9_0.2 · Red Hat:enterprise_linux:9::baseosPackage registry (OSV)
red hat:expat-debuginfo0:2.2.10-12.el9_0.2 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:expat-debugsource0:2.2.10-12.el9_0.2 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:expat-devel0:2.2.10-12.el9_0.2 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:mingw-expat0:2.4.8-1.el8 · Red Hat:enterprise_linux:8::crbPackage registry (OSV)
red hat:mingw32-expat0:2.4.8-1.el8 · Red Hat:enterprise_linux:8::crbPackage registry (OSV)
red hat:mingw32-expat-debuginfo0:2.4.8-1.el8 · Red Hat:enterprise_linux:8::crbPackage registry (OSV)
red hat:mingw64-expat0:2.4.8-1.el8 · Red Hat:enterprise_linux:8::crbPackage registry (OSV)
red hat:mingw64-expat-debuginfo0:2.4.8-1.el8 · Red Hat:enterprise_linux:8::crbPackage registry (OSV)
rocky linux:expat0:2.2.5-8.el8_6.2 · Rocky Linux:8Package registry (OSV)
suse:expat2.1.0-21.18.1 · SUSE:HPE Helion OpenStack 8Package registry (OSV)
suse:expat2.4.4-150400.3.6.9 · SUSE:Linux Enterprise Module for Basesystem 15 SP4Package 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-05-11
Proof-of-concept repository on GitHubstars:02023-04-12

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+82 d
  3. TodayOct 23, 2026+1708 d
EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

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

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).

National notice (Türkiye Cybersecurity Directorate / USOM)

Official security notices citing this record; remediation advice is on the agency's page.

All national notices →

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • A user must open a link or visit a page.
  • 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
Required
Scope
Unchanged
Confidentiality impact
None
Integrity impact
None
Availability impact
High

CVSS vector

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

nvd-primary

Attack context

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

Change log

  1. Fix✗ → ✓

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

References

All records