{"id":"CVE-2016-2336","details":"Type confusion exists in two methods of Ruby's WIN32OLE class, ole_invoke and ole_query_interface. Attacker passing different type of object than this assumed by developers can cause arbitrary code execution.","modified":"2026-07-08T12:05:31.267917Z","published":"2017-01-06T21:59:00.447Z","references":[{"type":"EVIDENCE","url":"http://www.talosintelligence.com/reports/TALOS-2016-0029/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ruby/ruby","events":[{"introduced":"a9721a259665149b1b9ff0beabcf5f8dc0136120"},{"last_affected":"d40ea2afa6ff5a6e5befcf342fb7b6dc58796b20"}],"database_specific":{"source":"CPE_STRING","cpe":["cpe:2.3:a:ruby-lang:ruby:2.2.2:*:*:*:*:*:*:*","cpe:2.3:a:ruby-lang:ruby:2.3.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"2.2.2"},{"last_affected":"2.2.2"},{"introduced":"2.3.0"},{"last_affected":"2.3.0"}]}}],"versions":["2.2.2","2.3.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-2336.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}