Read the docs
TI-2009-03912 Aliases CVE-2009-4124GHSA-9mvm-2xp2-9wmw

Heap-based buffer overflow in the rb_str_justify function in string.c in Ruby 1.9.1…

Priority MEDIUM 49CWE-119Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
— Not recorded in CVSS 2.0
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
Complete · Complete · Complete
Fix status
No fix listed

Attack profile from CVSS 2.0 · NVD. Fix status from CNA. Impact type from CWE-119 and the CVSS impact.

Summary

Heap-based buffer overflow in the rb_str_justify function in string.c in Ruby 1.9.1 before 1.9.1-p376 allows context-dependent attackers to execute arbitrary code via unspecified vectors involving (1) String#ljust, (2) String#center, or (3) String#rjust. NOTE: some of these details are obtained from third party information.

Why it matters now

EPSS 0.03875 90th percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 7

CPEVersionsRoleVendor
cpe:2.3:a:ruby-lang:ruby:1.9.1:-p0:*:*:*:*:*:*1.9.1 -p0Vulnerableruby
cpe:2.3:a:ruby-lang:ruby:1.9.1:-p129:*:*:*:*:*:*1.9.1 -p129Vulnerableruby
cpe:2.3:a:ruby-lang:ruby:1.9.1:-p243:*:*:*:*:*:*1.9.1 -p243Vulnerableruby
cpe:2.3:a:ruby-lang:ruby:1.9.1:-preview_1:*:*:*:*:*:*1.9.1 -preview_1Vulnerableruby
cpe:2.3:a:ruby-lang:ruby:1.9.1:-preview_2:*:*:*:*:*:*1.9.1 -preview_2Vulnerableruby
cpe:2.3:a:ruby-lang:ruby:1.9.1:-rc1:*:*:*:*:*:*1.9.1 -rc1Vulnerableruby
cpe:2.3:a:ruby-lang:ruby:1.9.1:-rc2:*:*:*:*:*:*1.9.1 -rc2Vulnerableruby
  • cpe:2.3:a:ruby-lang:ruby:1.9.1:-p0:*:*:*:*:*:* Versions 1.9.1 -p0 Vulnerable ·ruby
  • cpe:2.3:a:ruby-lang:ruby:1.9.1:-p129:*:*:*:*:*:* Versions 1.9.1 -p129 Vulnerable ·ruby
  • cpe:2.3:a:ruby-lang:ruby:1.9.1:-p243:*:*:*:*:*:* Versions 1.9.1 -p243 Vulnerable ·ruby
  • cpe:2.3:a:ruby-lang:ruby:1.9.1:-preview_1:*:*:*:*:*:* Versions 1.9.1 -preview_1 Vulnerable ·ruby
  • cpe:2.3:a:ruby-lang:ruby:1.9.1:-preview_2:*:*:*:*:*:* Versions 1.9.1 -preview_2 Vulnerable ·ruby
  • cpe:2.3:a:ruby-lang:ruby:1.9.1:-rc1:*:*:*:*:*:* Versions 1.9.1 -rc1 Vulnerable ·ruby
  • cpe:2.3:a:ruby-lang:ruby:1.9.1:-rc2:*:*:*:*:*:* Versions 1.9.1 -rc2 Vulnerable ·ruby

Remediation

No fixed version listed by the sources yet.

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

Not affected: 2 products
  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6

Timeline

  1. 2026-10-02 Threatist record created from CVE-2009-4124
  2. 2026-10-03 Alias added: GHSA-9mvm-2xp2-9wmw
  3. 2026-10-14 EPSS moved to the 90th–95th percentile

References

  • TI-2026-71508 Integer overflow in GitLab allows code execution on the server KEVCVSS 3.1CRITICAL 10.0
  • TI-2017-12709 Ruby before 2.4.3 allows Net::FTP command injection. CVSS 3.0HIGH 8.8
  • TI-2008-03501 Algorithmic complexity vulnerability in the WEBrick::HTTPUtils.split_header_value… CVSS 2.0HIGH 7.8
  • TI-2021-09891 In Ruby through 3.0 on Windows, a remote attacker can submit a crafted path when a Web… CVSS 3.1HIGH 7.5
  • TI-2013-03637 Heap-based buffer overflow in Ruby 1.8, 1.9 before 1.9.3-p484, 2.0 before 2.0.0-p353, 2.1… CVSS 2.0MEDIUM 6.8
  • TI-2018-11751 An issue was discovered in the OpenSSL library in Ruby before 2.3.8, 2.4.x before 2.4.5… CVSS 3.0CRITICAL 9.8
See all 92 →

Sources