Skip to content
OpenAdvisories
Medium SUSE-SU-2026:1066-1 3 CVEs

Security update for ruby2.5

Published Mar 26, 2026 · Updated Mar 27, 2026

Summary

This update for ruby2.5 fixes the following issues:

- CVE-2024-49761: ReDoS vulnerability in REXML gem (bsc#1232440 bsc#1232441).
- CVE-2025-58767: denial of service when parsing XML containing multiple XML declarations (bsc#1250016).
- CVE-2026-27820: insufficient checks in `zstream_buffer_ungets` can lead to a buffer overflow (bsc#1259239).

Fixed packages 1

ReleasePackageFixed in
SUSE · SLES 15 SP7 Linux Enterprise Module for Basesystem 15 SP7 ruby2.5 2.5.9-150700.24.6.1

Vulnerabilities 3

  • Medium 6.6

    REXML ReDoS vulnerability

    REXML is an XML toolkit for Ruby. The REXML gem before 3.3.9 has a ReDoS vulnerability when it parses an XML that has many digits between &# and x...; in a hex numeric character reference (&#x...;). This does not happen with Ruby 3.2 or later. Ruby 3.1 is the…

  • Low 1.7

    zlib: Buffer Overflow in Zlib::GzipReader ungetc via large input leads to memory corruption

    zlib is a Ruby interface for the zlib compression/decompression library. Versions 3.0.0 and below, 3.1.0, 3.1.1, 3.2.0 and 3.2.1 contain a buffer overflow vulnerability in the Zlib::GzipReader. The zstream_buffer_ungets function prepends caller-provided bytes…

  • Low 1.2

    REXML has a DoS condition when parsing malformed XML file

    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…

References

  • report
    https://bugzilla.suse.com/1232440
  • report
    https://bugzilla.suse.com/1232441
  • report
    https://bugzilla.suse.com/1250016
  • report
    https://bugzilla.suse.com/1259239
  • web
    https://www.suse.com/security/cve/CVE-2024-49761
  • web
    https://www.suse.com/security/cve/CVE-2025-58767
  • web
    https://www.suse.com/security/cve/CVE-2026-27820