{"id":"CVE-2016-2339","state":"PUBLISHED","title":"An exploitable heap overflow vulnerability exists in the Fiddle::Function.new \"initialize\" function functionality of Ruby. In Fiddle::Function.new \"initialize\" heap buffer \"arg_typ","description":"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.","publishedAt":"2017-01-06T21:00:00.000Z","updatedAt":"2024-08-05T23:24:48.934Z","severity":null,"assigner":"certcc","products":["Ruby Ruby"],"affected":[{"vendor":"Ruby","product":"Ruby","versions":[{"version":"2.3.0 dev","status":"affected"},{"version":"2.2.2","status":"affected"}]}],"references":["https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html","http://www.securityfocus.com/bid/91234","http://www.talosintelligence.com/reports/TALOS-2016-0034/"],"weaknesses":[],"ingestedAt":"2026-10-29T19:42:38.095Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2016/2xxx/CVE-2016-2339.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2016-2339","state":"PUBLISHED","datePublished":"2017-01-06T21:00:00.000Z","dateUpdated":"2024-08-05T23:24:48.934Z","assignerShortName":"certcc","assignerOrgId":"37e5125f-f79b-445b-8fad-9564f167944b","dateReserved":"2016-02-12T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Ruby","product":"Ruby","versions":[{"version":"2.3.0 dev","status":"affected"},{"version":"2.2.2","status":"affected"}]}],"references":[{"url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html","name":"[debian-lts-announce] 20180714 [SECURITY] [DLA 1421-1] ruby2.1 security update","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.securityfocus.com/bid/91234","name":"91234","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://www.talosintelligence.com/reports/TALOS-2016-0034/","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"description":"heap overflow vulnerability","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"certcc","dateUpdated":"2018-07-14T09:57:01.000Z","orgId":"37e5125f-f79b-445b-8fad-9564f167944b"},"datePublic":"2016-06-14T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cert@cert.org","ID":"CVE-2016-2339","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Ruby","version":{"version_data":[{"version_value":"2.3.0 dev"},{"version_value":"2.2.2"}]}}]},"vendor_name":"Ruby"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"heap overflow vulnerability"}]}]},"references":{"reference_data":[{"name":"[debian-lts-announce] 20180714 [SECURITY] [DLA 1421-1] ruby2.1 security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html"},{"name":"91234","refsource":"BID","url":"http://www.securityfocus.com/bid/91234"},{"name":"http://www.talosintelligence.com/reports/TALOS-2016-0034/","refsource":"MISC","url":"http://www.talosintelligence.com/reports/TALOS-2016-0034/"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html","name":"[debian-lts-announce] 20180714 [SECURITY] [DLA 1421-1] ruby2.1 security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://www.securityfocus.com/bid/91234","name":"91234","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://www.talosintelligence.com/reports/TALOS-2016-0034/","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T23:24:48.934Z"}}]}}}