{"id":"CVE-2016-2339","published":"2017-01-06T21:00:00Z","modified":"2024-08-05T23:24:48Z","title":"An exploitable heap overflow vulnerability exists in the Fiddle::Function.new \"initialize\" function functionality of…","vendor":"Ruby","product":"Ruby","tier":"tail","description":{"text":"An exploitable heap overflow vulnerability exists in the Fiddle::Function.new \"initialize\" function functionality of Ruby. In Fiddle::Function.new \"initialize\" heap buffer \"arg_types\" allocation is made based on args array length. Specially constructed object passed as element of args array can increase this array size after mentioned allocation and cause heap overflow.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.05144,"percentile":0.9261,"provenance":"source"},"cwes":[],"references":[{"url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.securityfocus.com/bid/91234","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://www.talosintelligence.com/reports/TALOS-2016-0034/","tags":["x_refsource_MISC"]}],"priority":{"score":18.5,"factors":[{"name":"EPSS percentile","points":18.52}]},"vendorSlug":"ruby","affectedVersions":[{"vendor":"Ruby","product":"Ruby","versions":["2.3.0 dev","2.2.2"]}],"summary":{"text":"A heap overflow exists in the Fiddle::Function.new \"initialize\" function in Ruby, where the \"arg_types\" buffer is allocated based on the args array length. An attacker can trigger the overflow by passing a specially constructed object as an element of the args array that enlarges the array after that allocation has been made.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:08:55Z"},"euvd":{"id":"EUVD-2016-3423","exploited":false,"provenance":"source"}}