Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2016-2336

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2016-2336
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 06:38 UTC · Revision 1

Source evidence

CVE-2016-2336

core-osv · Original source

Published 6 Jan 2017, 21:59 UTC

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.

osv:CVE-2016-2336
Complete source record
{
  "id": "f963c76b16f77c3e4925360cb0287b1a145b6df4bfd86aeb2b6a81e7105a4e32",
  "url": "https://osv.dev/vulnerability/CVE-2016-2336",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2016-2336",
    "summary": "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.",
    "evidence": "osv:CVE-2016-2336",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2016-2336",
      "aliases": [
        "CVE-2016-2336"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/ruby/ruby",
              "type": "GIT",
              "events": [
                {
                  "introduced": "a9721a259665149b1b9ff0beabcf5f8dc0136120"
                },
                {
                  "last_affected": "d40ea2afa6ff5a6e5befcf342fb7b6dc58796b20"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:ruby-lang:ruby:2.2.2:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.2.2"
                      },
                      {
                        "last_affected": "2.2.2"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:ruby-lang:ruby:2.3.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.3.0"
                      },
                      {
                        "last_affected": "2.3.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.2.2",
            "2.3.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-2336.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:42.354029059Z",
      "provider": "osv",
      "references": [],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2016-2336",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 435354,
  "published_at": "2017-01-06T21:59:00.447+00:00"
}