CVE-2009-4124
HIGH · CVSS 10.0EPSS 3.9%EU EUVD
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.
Key facts
- CVSS score
- 10.0 (v2.0)
- Severity
- HIGH
- CVSS vector
AV:N/AC:L/Au:N/C:C/I:C/A:C- Weakness (CWE)
- CWE-119
- EPSS score
- 3.9% (90th percentile)
- In CISA KEV
- No
- In EU EUVD
- Yes (EUVD-2009-4094)
- Published
- December 11, 2009
- NVD last modified
- June 16, 2026
- Status
- Modified
EU Vulnerability Database (EUVD)
This vulnerability is also tracked by ENISA as EUVD-2009-4094 in the EU Vulnerability Database. Last updated in EUVD on August 7, 2024.
View on the EU Vulnerability DatabaseAffected products
- ruby-lang / ruby
- ruby-lang / ruby
- ruby-lang / ruby
- ruby-lang / ruby
- ruby-lang / ruby
- ruby-lang / ruby
- ruby-lang / ruby
References
- http://secunia.com/advisories/37660(Vendor Advisory)
- http://www.osvdb.org/60880
- http://www.ruby-lang.org/en/news/2009/12/07/heap-overflow-in-string/(Patch, Vendor Advisory)
- http://www.securityfocus.com/bid/37278
- http://www.vupen.com/english/advisories/2009/3471(Vendor Advisory)
- https://exchange.xforce.ibmcloud.com/vulnerabilities/54674
Last updated September 17, 2026 · Source: NVD, CISA KEV, FIRST.org EPSS
Query CVEs from your AI assistant
The CVE/NVD Explorer brain answers CVE questions directly inside Claude, ChatGPT, or any MCP assistant — always up to date, no setup. Add it once and stop pasting advisories into chat.
Add the CVE brain