Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2017-11742

The writeRandomBytes_RtlGenRandom function in xmlparse.c in libexpat in Expat 2.2.1 and 2.2.2 on Windows allows local users to gain privileges via a Trojan horse ADVAPI32.DLL in the current working directory because of an untrusted search path, aka DLL hijacking.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2017-11742
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 09:49 UTC · Revision 1

Source evidence

CVE-2017-11742

core-osv · Original source

Published 30 Jul 2017, 14:29 UTC

The writeRandomBytes_RtlGenRandom function in xmlparse.c in libexpat in Expat 2.2.1 and 2.2.2 on Windows allows local users to gain privileges via a Trojan horse ADVAPI32.DLL in the current working directory because of an untrusted search path, aka DLL hijacking.

osv:CVE-2017-11742
Complete source record
{
  "id": "0a157a3f4f42c74200da7a79897a2b7958551b8d3ca0175b174a1de1ad80eaac",
  "url": "https://osv.dev/vulnerability/CVE-2017-11742",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-11742",
    "summary": "The writeRandomBytes_RtlGenRandom function in xmlparse.c in libexpat in Expat 2.2.1 and 2.2.2 on Windows allows local users to gain privileges via a Trojan horse ADVAPI32.DLL in the current working directory because of an untrusted search path, aka DLL hijacking.",
    "evidence": "osv:CVE-2017-11742",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2017-11742",
      "aliases": [
        "CVE-2017-11742"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/libexpat/libexpat",
              "type": "GIT",
              "events": [
                {
                  "introduced": "c4446687cfc6c5fd7f6371aeaf24c69402a3589e"
                },
                {
                  "last_affected": "7c3eedb20b287c5b3e026eaebf657e3c38981329"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:libexpat_project:libexpat:2.2.1:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.2.1"
                      },
                      {
                        "last_affected": "2.2.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:libexpat_project:libexpat:2.2.2:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.2.2"
                      },
                      {
                        "last_affected": "2.2.2"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.2.1",
            "2.2.2",
            "R_2_2_2",
            "R_2_2_1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-11742.json"
          }
        }
      ],
      "modified": "2026-10-20T10:48:01.264100998Z",
      "provider": "osv",
      "references": [
        "https://github.com/libexpat/libexpat/issues/82"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2017-11742",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 379945,
  "published_at": "2017-07-30T14:29:00.207+00:00"
}