CVE-2016-0797: Software Security Vulnerability Vulnerability

HIGH
Advisory Identifier: GHSA-88pg-cj77-9fxr
CVSS 7.5
Published
Advisory Summary

CVE-2016-0797 is a HIGH (CVSS 7.5) security vulnerability vulnerability (General Security Weakness) affecting Software libraries in the Maven ecosystem. Remediation is available in the latest vendor maintenance releases.

CVE-2016-0797 at a Glance

CVE Identifier CVE-2016-0797
GHSA Identifier GHSA-88pg-cj77-9fxr
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification General Security Weakness
Affected Product Software
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 7.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix CVE-2016-0797

To remediate this vulnerability, upgrade all affected Software dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2016-0797, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree

Analyze the terminal output to locate any version of Software in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The mvn dependency:tree command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under General Security Weakness. In Software, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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.

References

NVD — CVE-2016-0797 NVD
https://nvd.nist.gov/vuln/detail/CVE-2016-0797
cert-portal.siemens.com/productcert/pdf/ssa... WEB
https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf
git.openssl.org/ WEB
https://git.openssl.org/?p=openssl.git%3Ba=commit%3Bh=c175308407858afff3fc8c2e5e085d94d12edc7d
git.openssl.org/ WEB
https://git.openssl.org/?p=openssl.git;a=commit;h=c175308407858afff3fc8c2e5e085d94d12edc7d
h20566.www2.hpe.com/hpsc/doc/public/dis... WEB
https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03741en_us
h20566.www2.hpe.com/portal/site/hpsc/pu... WEB
https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05052990
h20566.www2.hpe.com/portal/site/hpsc/pu... WEB
https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05376917
h20566.www2.hpe.com/portal/site/hpsc/pu... WEB
https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05390722
Software Security Information SECURITY
https://kb.pulsesecure.net/articles/Pulse_Security_Advisories/SA40168
kc.mcafee.com/corporate/index WEB
https://kc.mcafee.com/corporate/index?page=content&id=SB10156
Software Security Information SECURITY
https://security.FreeBSD.org/advisories/FreeBSD-SA-16:12.openssl.asc
Software Security Information SECURITY
https://security.gentoo.org/glsa/201603-15
www.openssl.org/news/secadv/2016030... WEB
https://www.openssl.org/news/secadv/20160301.txt
kb.juniper.net/infocenter/index WEB
http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10759
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00001.html
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00002.html
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00003.html
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00004.html
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00005.html
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00006.html
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00007.html
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00009.html
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00010.html
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00011.html
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00012.html
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00017.html
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00025.html
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00038.html
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00015.html
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00017.html
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00019.html
marc.info/ WEB
http://marc.info/?l=bugtraq&m=145889460330120&w=2
openssl.org/news/secadv/2016030... WEB
http://openssl.org/news/secadv/20160301.txt
rhn.redhat.com/errata/rhsa-2016-29... WEB
http://rhn.redhat.com/errata/RHSA-2016-2957.html
Software Security Information SECURITY
http://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20160302-openssl
Software Security Information SECURITY
http://www.debian.org/security/2016/dsa-3500
Software Security Information SECURITY
http://www.oracle.com/technetwork/security-advisory/cpuapr2016v3-2985753.html
Software Security Information SECURITY
http://www.oracle.com/technetwork/security-advisory/cpujul2016-2881720.html
Software Security Information SECURITY
http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html
Software Security Information SECURITY
http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html
Software Security Information SECURITY
http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
Software Security Information SECURITY
http://www.oracle.com/technetwork/topics/security/ovmbulletinjul2016-3090546.html
Software Security Information SECURITY
http://www.securityfocus.com/bid/83763
Software Security Information SECURITY
http://www.securityfocus.com/bid/91787
Software Security Information SECURITY
http://www.securitytracker.com/id/1035133
www.ubuntu.com/usn/usn-2914-1 WEB
http://www.ubuntu.com/usn/USN-2914-1

Frequently Asked Questions

What is CVE-2016-0797?
CVE-2016-0797 is a security vulnerability in Software classified as a security vulnerability vulnerability under General Security Weakness.
Which Software versions are affected?
Affected versions include releases prior to current release patches.
What version fixes CVE-2016-0797?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What is the CVSS score of CVE-2016-0797?
CVE-2016-0797 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2016-0797?
CVE-2016-0797 is classified under General Security Weakness.
How can I check Maven dependencies for CVE-2016-0797?
Run the dependency tree command: 'mvn dependency:tree'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-88pg-cj77-9fxr",
  "modified" : "2025-04-12T12:57:25Z",
  "published" : "2022-05-14T03:58:15Z",
  "aliases" : [ "CVE-2016-0797" ],
  "details" : "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.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2016-0797"
  }, {
    "type" : "WEB",
    "url" : "https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf"
  }, {
    "type" : "WEB",
    "url" : "https://git.openssl.org/?p=openssl.git%3Ba=commit%3Bh=c175308407858afff3fc8c2e5e085d94d12edc7d"
  }, {
    "type" : "WEB",
    "url" : "https://git.openssl.org/?p=openssl.git;a=commit;h=c175308407858afff3fc8c2e5e085d94d12edc7d"
  }, {
    "type" : "WEB",
    "url" : "https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03741en_us"
  }, {
    "type" : "WEB",
    "url" : "https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05052990"
  }, {
    "type" : "WEB",
    "url" : "https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05376917"
  }, {
    "type" : "WEB",
    "url" : "https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05390722"
  }, {
    "type" : "WEB",
    "url" : "https://kb.pulsesecure.net/articles/Pulse_Security_Advisories/SA40168"
  }, {
    "type" : "WEB",
    "url" : "https://kc.mcafee.com/corporate/index?page=content&id=SB10156"
  }, {
    "type" : "WEB",
    "url" : "https://security.FreeBSD.org/advisories/FreeBSD-SA-16:12.openssl.asc"
  }, {
    "type" : "WEB",
    "url" : "https://security.gentoo.org/glsa/201603-15"
  }, {
    "type" : "WEB",
    "url" : "https://www.openssl.org/news/secadv/20160301.txt"
  }, {
    "type" : "WEB",
    "url" : "http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10759"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00001.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00002.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00003.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00004.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00005.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00006.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00007.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00009.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00010.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00011.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00012.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00017.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00025.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00038.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00015.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00017.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00019.html"
  }, {
    "type" : "WEB",
    "url" : "http://marc.info/?l=bugtraq&m=145889460330120&w=2"
  }, {
    "type" : "WEB",
    "url" : "http://openssl.org/news/secadv/20160301.txt"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2016-2957.html"
  }, {
    "type" : "WEB",
    "url" : "http://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20160302-openssl"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2016/dsa-3500"
  }, {
    "type" : "WEB",
    "url" : "http://www.oracle.com/technetwork/security-advisory/cpuapr2016v3-2985753.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.oracle.com/technetwork/security-advisory/cpujul2016-2881720.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.oracle.com/technetwork/topics/security/ovmbulletinjul2016-3090546.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/83763"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/91787"
  }, {
    "type" : "WEB",
    "url" : "http://www.securitytracker.com/id/1035133"
  }, {
    "type" : "WEB",
    "url" : "http://www.ubuntu.com/usn/USN-2914-1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "HIGH",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2016-03-03T20:59:00Z"
  }
}