CVE-2017-3732

BN_mod_exp may produce incorrect results on x86_64

MEDIUM
5.9
CVSS Score
Published: May 4, 2017 at 07:00 PM UTC
Updated: June 17, 2026 at 01:18 AM UTC
2 products affected across 2 vendorsOpenSSLNode.js

Using OpenSSL by OpenSSL?

Get instant alerts when new vulnerabilities affect OpenSSL - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.9
Exploit prediction
EPSS 15%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.0.0 ≤ v ≤ 4.1.24.2.0 ≤ v < 4.7.35.0.0 ≤ v ≤ 5.12.06.0.0 ≤ v ≤ 6.8.16.9.0 ≤ v < 6.9.57.0.0 ≤ v < 7.5.0
Affected range stops below 4.7.3, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.9.5, so it looks safe — our inference, not a vendor statement
Affected range stops below 7.5.0, so it looks safe — our inference, not a vendor statement

References (18)

VDB Entryx_refsource_BIDThird Party Advisory
http://www.securityfocus.com/bid/95814
VDB Entryx_refsource_SECTRACKThird Party Advisory
http://www.securitytracker.com/id/1037717
Vendor Advisoryx_refsource_REDHATThird Party Advisory
https://access.redhat.com/errata/RHSA-2018:2185
Vendor Advisoryx_refsource_REDHATThird Party Advisory
https://access.redhat.com/errata/RHSA-2018:2186
Vendor Advisoryx_refsource_REDHATThird Party Advisory
https://access.redhat.com/errata/RHSA-2018:2187

CVSS

Attack Vector
NETWORK
Complexity
HIGH
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-200

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card