CVE-2016-0797 in Canonical Ubuntu Linux and 17 more products
Multiple integer overflows in OpenSSL 1.0.1 before 1.0.1s and 1.0.2 before 1.0.2g allow remote attackers to cause a denial of service (heap memory corruption or NULL pointer dereference) or possibly have unspecified other impact via a long digit string that is mishandled by the (1) BN_dec2bn or (2) BN_hex2bn functio...
Affects 18 products from 6 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Canonical | Ubuntu Linux | 12.04 14.04 15.10 |
| Debian | Debian Linux | 7.0 8.0 |
| Fujitsu-Siemens | — | — |
| Nodejs | Node.Js | ≥ 4.0.0, < 4.1.2 ≥ 4.2.0, < 4.3.2 ≥ 5.0.0, < 5.7.1 |
| Openssl | Openssl | 1.0.1 1.0.1a 1.0.1b 1.0.1c 1.0.1d 1.0.1e+20 more1.0.1f 1.0.1g 1.0.1h 1.0.1i 1.0.1j 1.0.1k 1.0.1l 1.0.1m 1.0.1n 1.0.1o 1.0.1p 1.0.1q 1.0.1r 1.0.2 1.0.2a 1.0.2b 1.0.2c 1.0.2d 1.0.2e 1.0.2f |
| Siemens | 6GK5204-0BA00-2MB2 (device and firmware) | < 3.2.7 |
| Siemens | 6GK5204-0BA00-2KB2 (device and firmware) | < 3.2.7 |
| Siemens | 6GK5204-0BS00-2NA3 (device and firmware) | < 3.2.7 |
| Siemens | 6GK5204-0BS00-3LA3 (device and firmware) | < 3.2.7 |
| Siemens | 6GK5204-0BS00-3PA3 (device and firmware) | < 3.2.7 |
| Siemens | SCALANCE X204RNA (device and firmware) | < 3.2.7 |
| Siemens | SCALANCE X204RNA Eec (device and firmware) | < 3.2.7 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Multiple integer overflows in OpenSSL 1.0.1 before 1.0.1s and 1.0.2 before 1.0.2g allow remote attackers to cause a denial of service (heap memory corruption or NULL pointer dereference) or possibly have unspecified other impact via a long digit string that is mishandled by the (1) BN_dec2bn or (2) BN_hex2bn function, related to crypto/bn/bn.h and crypto/bn/bn_print.c.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2016-0797 |
|---|---|
| BreachSpider ID | BS-2016-GLOBAL-108005-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2016-03-03 |
| Last modified | 2026-06-17 |
| Source | NVD |
Analysis AI-written, not human-reviewed
Multiple integer overflows in OpenSSL versions prior to 1.0.1s and 1.0.2g can lead to denial of service or unspecified other impacts due to mishandling of long digit strings by BN_dec2bn or BN_hex2bn functions.
Remote attackers can exploit these vulnerabilities by sending a specially crafted long digit string to the affected OpenSSL versions, leading to heap memory corruption or NULL pointer dereference.
Questions
What is CVE-2016-0797?
Multiple integer overflows in OpenSSL versions prior to 1.0.1s and 1.0.2g can lead to denial of service or unspecified other impacts due to mishandling of long digit strings by BN_dec2bn or BN_hex2bn functions.
What is the CVSS score for CVE-2016-0797?
CVE-2016-0797 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 27.0%.
Is CVE-2016-0797 actively exploited?
No confirmed active exploitation of CVE-2016-0797 as of 2026-09-25.
How do I remediate CVE-2016-0797?
Priority: HIGH. Advisory: https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf PSIRT: [email protected]
What systems are affected by CVE-2016-0797?
CVE-2016-0797 affects Canonical Ubuntu Linux; Debian Debian Linux; Fujitsu-Siemens; Nodejs Node.Js; Openssl Openssl; Siemens 6GK5204-0BA00-2MB2, 6GK5204-0BA00-2KB2, 6GK5204-0BS00-2NA3, 6GK5204-0BS00-3LA3, 6GK5204-0BS00-3PA3, SCALANCE X204RNA (plus 1 more product).
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Ubuntu Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.