Out-of-bounds Read Affecting ruby:2.5/rubygem-psych package, versions <0:3.0.2-114.module_el8.10.0+3991+5e651d4e


Severity

Recommended
medium

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
15.26% (95th 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-ALMALINUX8-RUBY-10598709
  • published4 Jul 2025
  • disclosed14 May 2025

Introduced: 14 May 2025

CVE-2019-19012  (opens in a new tab)
CWE-125  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:8 ruby:2.5/rubygem-psych to version 0:3.0.2-114.module_el8.10.0+3991+5e651d4e or higher.
This issue was patched in ALSA-2025:7539.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby:2.5/rubygem-psych package and not the ruby:2.5/rubygem-psych package as distributed by AlmaLinux. See How to fix? for AlmaLinux:8 relevant fixed versions and status.

An integer overflow in the search_in_range function in regexec.c in Oniguruma 6.x before 6.9.4_rc2 leads to an out-of-bounds read, in which the offset of this read is under the control of an attacker. (This only affects the 32-bit compiled version). Remote attackers can cause a denial-of-service or information disclosure, or possibly have unspecified other impact, via a crafted regular expression.

CVSS Base Scores

version 3.1