Summary
This update for ruby2.5 fixes the following issues:
- CVE-2024-49761: ReDoS vulnerability (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).
- CVE-2026-41316: erb: @_init deserialization guard bypass via def_module / def_method / def_class (bsc#1262441).
- CVE-2026-132825: Heap buffer overflow in case conversion of strings (bsc#1290919).
- Double free in regular expression compilation (bsc#1290920).
- Heap buffer overflow in Regexp#to_s (bsc#1290925).
- Heap buffer overflow in regular expression compilation (bsc#1290924).
- Integer overflow in case conversion of strings (bsc#1290921).
- Out-of-bounds read in case-insensitive backreference matching (bsc#1290926).
- Out-of-bounds read in case-insensitive regular expression matching (bsc#1290923).
Changes for ruby2.5:
- Fix exclusion of test_dl2, drb and rinda tests from testsuite
- disable the DRb and Rinda tests in %check
- they require loopback DRb connections and IPv4 multicast routing that
the network-isolated build worker does not provide; the resulting
Errno::ECONNREFUSED/ENETUNREACH/ENODEV failures are environmental and
were misread as regressions in the rexml and erb security updates
- disable the SSL tests because the fixtures need to be regenerated
- disable the SSL tests that are timing out due to the old certs
- disable the tests the SSL tests are fixed
Fixed packages 10
| Release | Package | Fixed in |
|---|---|---|
| SUSE · SLE HPC 15 SP4 Linux Enterprise High Performance Computing 15 SP4-ESPOS | ruby2.5 | 2.5.9-150000.4.61.1 |
| SUSE · SLE HPC 15 SP4 Linux Enterprise High Performance Computing 15 SP4-LTSS | ruby2.5 | 2.5.9-150000.4.61.1 |
| SUSE · SLE HPC 15 SP5 Linux Enterprise High Performance Computing 15 SP5-ESPOS | ruby2.5 | 2.5.9-150000.4.61.1 |
| SUSE · SLE HPC 15 SP5 Linux Enterprise High Performance Computing 15 SP5-LTSS | ruby2.5 | 2.5.9-150000.4.61.1 |
| SUSE · SLES 15 SP4 Linux Enterprise Server 15 SP4-LTSS | ruby2.5 | 2.5.9-150000.4.61.1 |
| SUSE · SLES 15 SP5 Linux Enterprise Server 15 SP5-LTSS | ruby2.5 | 2.5.9-150000.4.61.1 |
| SUSE · SLES 15 SP6 Linux Enterprise Server 15 SP6-LTSS | ruby2.5 | 2.5.9-150000.4.61.1 |
| SUSE · SLES for SAP 15 SP4 Linux Enterprise Server for SAP Applications 15 SP4 | ruby2.5 | 2.5.9-150000.4.61.1 |
| SUSE · SLES for SAP 15 SP5 Linux Enterprise Server for SAP Applications 15 SP5 | ruby2.5 | 2.5.9-150000.4.61.1 |
| SUSE · SLES for SAP 15 SP6 Linux Enterprise Server for SAP Applications 15 SP6 | ruby2.5 | 2.5.9-150000.4.61.1 |
Vulnerabilities 5
-
High 8.1
ERB has an @_init deserialization guard bypass via def_module / def_method / def_class
ERB is a templating system for Ruby. Ruby 2.7.0 (before ERB 2.2.0 was published on rubygems.org) introduced an `@_init` instance variable guard in `ERB#result` and `ERB#run` to prevent code execution when an ERB object is reconstructed via `Marshal.load` (des…
-
High 7.4CVE-2026-132825 Public exploit
Ruby before 3.3.14, 3.4.13, and 4.0.10 has a heap-based buffer overflow during case conversion. One byte can be written…
-
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
-
report
https://bugzilla.suse.com/1262441
-
report
https://bugzilla.suse.com/1290919
-
report
https://bugzilla.suse.com/1290920
-
report
https://bugzilla.suse.com/1290921
-
report
https://bugzilla.suse.com/1290923
-
report
https://bugzilla.suse.com/1290924
-
report
https://bugzilla.suse.com/1290925
-
report
https://bugzilla.suse.com/1290926
-
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-132825
-
web
https://www.suse.com/security/cve/CVE-2026-27820
-
web
https://www.suse.com/security/cve/CVE-2026-41316