CVE-2024-43398
mediumpriority · track · 0EPSS 0.012 · 68 %ileDEEUNLRUUSEPSS · scored 2026-10-27
REXML is an XML toolkit for Ruby. The REXML gem before 3.3.6 has a DoS vulnerability when it parses an XML that has many deep elements that have same local name attributes. If you need to parse untrusted XMLs with tree parser API like REXML::Document.new, you may be impacted to this vulnerability. If you use other parser APIs such as stream parser API and SAX2 parser API, this vulnerability is not affected. The REXML gem 3.3.6 or later include the patch to fix the vulnerability.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (19)
Products and version ranges known to be affected.
advisories (4)
Vendor and ecosystem advisories describing this.
- NCSC-2025-0351Kwetsbaarheden verholpen in Apple MacOSNL2025-11-04csaf · ncsc_nlNL
Apple heeft kwetsbaarheden verholpen in macOS Sonoma 14.8.2, macOS Sequoia 15.7.2 en MacOS Tahoe 26.1.
- WID-SEC-W-2024-1896Ruby: Schwachstelle ermöglicht Denial of ServiceDeutsch2024-08-21csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann eine Schwachstelle in Ruby ausnutzen, um einen Denial of Service Angriff durchzuführen.
- WID-SEC-W-2025-2475Apple macOS: Mehrere SchwachstellenDeutsch2025-11-03csaf · cert_bundDE
Ein Angreifer kann mehrere Schwachstellen in Apple macOS ausnutzen, um Informationen offenzulegen, um einen Denial of Service Angriff durchzuführen, um Sicherheitsvorkehrungen zu umgehen, um Dateien zu manipulieren, und um seine Privilegien zu erhöhen.
- GHSA-vmwr-mc7x-5vc3REXML denial of service vulnerability2024-08-22ghsa · osvUS
### Impact The REXML gem before 3.3.6 has a DoS vulnerability when it parses an XML that has many deep elements that have same local name attributes. If you need to parse untrusted XMLs with tree parser API like `REXML::Document.new`, you may be impacted to this vulnerability. If you use other parser APIs such as stream parser API and SAX2 parser API, this vulnerability is not affected. ### Patches The REXML gem 3.3.6 or later include the patch to fix the vulnerability. ### Workarounds Don't parse untrusted XMLs with tree parser API. ### References * https://www.ruby-lang.org/en/news/2024/08/22/dos-rexml-cve-2024-43398/ : An announce on www.ruby-lang.org
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (11)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2024-43398cnnvd
- https://cxsecurity.com/cveshow/CVE-2024-43398/cnnvd
- https://github.com/ruby/rexml/releases/tag/v3.3.6cnnvd
- https://github.com/ruby/rexml/security/advisories/GHSA-vmwr-mc7x-5vc3cnnvd
- https://vigilance.fr/vulnerability/Ruby-REXML-overload-via-Deep-Elements-Same-Local-Name-Attributes-45001cnnvd
- https://github.com/ruby/rexml/releases/tag/v3.3.6enisa_euvd
- https://github.com/ruby/rexml/security/advisories/GHSA-vmwr-mc7x-5vc3enisa_euvd
- https://github.com/ruby/rexml/releases/tag/v3.3.6Release Notesnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan