CVE-2015-8618
mediumpriority · track · 31EPSS 0.026 · 85 %ileEUUSEPSS · scored 2026-10-27
The Int.Exp Montgomery code in the math/big library in Go 1.5.x before 1.5.3 mishandles carry propagation and produces incorrect output, which makes it easier for attackers to obtain private RSA keys via unspecified vectors.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5–7.5
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (6)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GO-2021-0160Incorrect calculation affecting RSA computations in math/big2022-01-05vendor · osvUS
Int.Exp Montgomery mishandled carry propagation and produced an incorrect output, which makes it easier for attackers to obtain private RSA keys via unspecified vectors. This issue can affect RSA computations in crypto/rsa, which is used by crypto/tls. TLS servers on 32-bit systems could plausibly leak their RSA private key due to this issue. Other protocol implementations that create many RSA signatures could also be impacted in the same way. Specifically, incorrect results in one part of the RSA Chinese Remainder computation can cause the result to be incorrect in such a way that it leaks one of the primes. While RSA blinding should prevent an attacker from crafting specific inputs that trigger the bug, on 32-bit systems the bug can be expected to occur at random around one in 2^26 times. Thus collecting around 64 million signatures (of known data) from an affected server should be enough to extract the private key used. Note that on 64-bit systems, the frequency of the bug is so low (less than one in 2^50) that it would be very difficult to exploit.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (26)
External citations — patches, advisories, analysis.
- http://lists.fedoraproject.org/pipermail/package-announce/2016-January/175642.htmlcnnvd
- http://lists.fedoraproject.org/pipermail/package-announce/2016-January/176179.htmlcnnvd
- http://www.openwall.com/lists/oss-security/2015/12/21/6cnnvd
- http://www.openwall.com/lists/oss-security/2015/12/22/9cnnvd
- http://www.openwall.com/lists/oss-security/2016/01/13/7cnnvd
- https://github.com/golang/go/issues/13515cnnvd
- https://go-review.googlesource.com/#/c/17672/cnnvd
- https://groups.google.com/forum/#!topic/golang-announce/MEATuOi_ei4cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan