CVE-2016-3958 Privilege escalation in n/a

High 7.8 Published Updated

Local attackers can escalate privileges by placing a malicious DLL in the working directory, affecting Go developers on Windows.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2016-3958?

CVE-2016-3958 is a high-severity vulnerability in Golang Go, published on 23 May 2016. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Untrusted search path vulnerability in Go before 1.5.4 and 1.6.x before 1.6.1 on Windows allows local users to gain privileges via a Trojan horse DLL in the current working directory, related to use of the LoadLibrary function.

Weakness: CWE-264

Which versions are affected by CVE-2016-3958?

1 open source package ship an affected version, including stdlib. It affects 1 product.

PackageAffectedFixed in
stdlib GoAll versions1.5.4, 1.6.1

Products include Golang Go.

How do I fix CVE-2016-3958?

Upgrade stdlib to a fixed version for your release line: 1.5.4 or 1.6.1.

Is CVE-2016-3958 being exploited?

There is no known exploitation of CVE-2016-3958 in the wild and no public exploit code.

All Golang Go vulnerabilities

Sources

Also known as GHSA-8w8c-fgc5-6f3r, GO-2021-0163.

Is CVE-2016-3958 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free