CVE catalog

CVE-2025-58767

ruby3.1: CVE-2025-58767

[CVE catalog]

Severity
Medium · CVSS 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Published
Source
[NVD] · [CVE record]
EPSS
0.25% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianruby3.1bookworm3.1.2-7+deb12u1not affected
Debianruby3.1bookworm-security3.1.2-7+deb12u1not affected
Opensuseruby3.4leap 16.03.4.10-160000.1.1fixed
Alpineruby-rexml3.233.4.4-r0fixed
Alpineruby-rexml3.243.4.4-r0fixed
Opensuseruby3.4tumbleweed3.4.8-1.1fixed
Alpineruby-rexml3.223.4.4-r0fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianruby3.1sourcebookwormNot affectedunimportantNot reportedNot reported
Opensuseruby3.4rpmleap 16.03.4.10-160000.1.1Not reportedOPENSUSE-SU-2026:21878-1Not reported
Alpineruby-rexmlapk3.233.4.4-r0Not reportedALPINE-CVE-2025-58767Not reported
Alpineruby-rexmlapk3.243.4.4-r0Not reportedALPINE-CVE-2025-58767Not reported
Opensuseruby3.4rpmtumbleweed3.4.8-1.1Not reportedOPENSUSE-SU-2025:15828-1Not reported
Alpineruby-rexmlapk3.223.4.4-r0Not reportedALPINE-CVE-2025-58767Not reported

Notes

[bookworm] ruby3.1: Minor issue

OpenFactory catalog packages

[Debian 13 (Trixie)]

  • [libruby3.3]Affected

    Source package: [ruby3.3]

    Details (2)
    • 3.3.8-2 · amd64 · trixie

      Affected

      dsa · ruby3.3 · debian · 13

    • 3.3.8-2 · arm64 · trixie

      Affected

      dsa · ruby3.3 · debian · 13

  • [ruby3.3]Affected
    Details (2)
    • 3.3.8-2 · amd64 · trixie

      Affected

      dsa · ruby3.3 · debian · 13

    • 3.3.8-2 · arm64 · trixie

      Affected

      dsa · ruby3.3 · debian · 13

  • [ruby3.3-dev]Affected

    Source package: [ruby3.3]

    Details (2)
    • 3.3.8-2 · amd64 · trixie

      Affected

      dsa · ruby3.3 · debian · 13

    • 3.3.8-2 · arm64 · trixie

      Affected

      dsa · ruby3.3 · debian · 13

  • [ruby3.3-doc]Affected

    Source package: [ruby3.3]

    Details (2)
    • 3.3.8-2 · all · trixie

      Affected

      dsa · ruby3.3 · debian · 13

    • 3.3.8-2 · all · trixie

      Affected

      dsa · ruby3.3 · debian · 13

[Debian 12 (Bookworm)]

  • [libruby3.1]Not affected

    Source package: [ruby3.1]

    Details (4)
    • 3.1.2-7+deb12u1 · amd64 · bookworm

      Not affected

      dsa · ruby3.1 · debian · bookworm

    • 3.1.2-7+deb12u1 · arm64 · bookworm

      Not affected

      dsa · ruby3.1 · debian · bookworm

    • 3.1.2-7+deb12u1 · amd64 · bookworm-security

      Not affected

      dsa · ruby3.1 · debian · bookworm

    • 3.1.2-7+deb12u1 · arm64 · bookworm-security

      Not affected

      dsa · ruby3.1 · debian · bookworm

  • [ruby3.1]Not affected
    Details (4)
    • 3.1.2-7+deb12u1 · amd64 · bookworm

      Not affected

      dsa · ruby3.1 · debian · bookworm

    • 3.1.2-7+deb12u1 · arm64 · bookworm

      Not affected

      dsa · ruby3.1 · debian · bookworm

    • 3.1.2-7+deb12u1 · amd64 · bookworm-security

      Not affected

      dsa · ruby3.1 · debian · bookworm

    • 3.1.2-7+deb12u1 · arm64 · bookworm-security

      Not affected

      dsa · ruby3.1 · debian · bookworm

  • [ruby3.1-dev]Not affected

    Source package: [ruby3.1]

    Details (4)
    • 3.1.2-7+deb12u1 · amd64 · bookworm

      Not affected

      dsa · ruby3.1 · debian · bookworm

    • 3.1.2-7+deb12u1 · arm64 · bookworm

      Not affected

      dsa · ruby3.1 · debian · bookworm

    • 3.1.2-7+deb12u1 · amd64 · bookworm-security

      Not affected

      dsa · ruby3.1 · debian · bookworm

    • 3.1.2-7+deb12u1 · arm64 · bookworm-security

      Not affected

      dsa · ruby3.1 · debian · bookworm

  • [ruby3.1-doc]Not affected

    Source package: [ruby3.1]

    Details (4)
    • 3.1.2-7+deb12u1 · all · bookworm

      Not affected

      dsa · ruby3.1 · debian · bookworm

    • 3.1.2-7+deb12u1 · all · bookworm

      Not affected

      dsa · ruby3.1 · debian · bookworm

    • 3.1.2-7+deb12u1 · all · bookworm-security

      Not affected

      dsa · ruby3.1 · debian · bookworm

    • 3.1.2-7+deb12u1 · all · bookworm-security

      Not affected

      dsa · ruby3.1 · debian · bookworm

Observed:

References