The REXML gems from 3.3.3 to 3.4.1 have a DoS vulnerability when parsing XML containing multiple XML declarations. If you need to parse untrusted XMLs, you may be impacted to these vulnerabilities.
REXML gems 3.4.2 or later include the patches to fix these vulnerabilities.
Don't parse untrusted XMLs.
{ "severity": "LOW", "github_reviewed_at": "2025-09-17T18:26:48Z", "cwe_ids": [ "CWE-400", "CWE-776" ], "nvd_published_at": "2025-09-17T18:15:52Z", "github_reviewed": true }