Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion') Affecting ruby:3.3/ruby-libs package, versions <0:3.3.10-5.module+el9.6.0+23780+e40d2335


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.02% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL9-RUBY-14473763
  • published18 Dec 2025
  • disclosed17 Sept 2025

Introduced: 17 Sep 2025

CVE-2025-58767  (opens in a new tab)
CWE-776  (opens in a new tab)

How to fix?

Upgrade RHEL:9 ruby:3.3/ruby-libs to version 0:3.3.10-5.module+el9.6.0+23780+e40d2335 or higher.
This issue was patched in RHSA-2025:23648.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby:3.3/ruby-libs package and not the ruby:3.3/ruby-libs package as distributed by RHEL. See How to fix? for RHEL:9 relevant fixed versions and status.

REXML is an XML toolkit for Ruby. The REXML gems from 3.3.3 to 3.4.1 has a DoS vulnerability when parsing XML containing multiple XML declarations. If you need to parse untrusted XMLs, you may be impacted to these vulnerabilities. The REXML gem 3.4.2 or later include the patches to fix these vulnerabilities.

CVSS Base Scores

version 3.1