CVE-2009-4124: Ruby-Lang Ruby
High severity, CVSS 10.0. EPSS: 3.9% chance of exploitation in the next 30 days.
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.
Affected products
- Ruby-Lang Ruby: version 1.9.1 only
Published 2009-12-11. Last modified 2026-06-16.