CVE-2016-2177: Integer Overflow

Published May 5, 2016
·
Updated

A common idiom in the codebase is:

if (p + len > limit) { return; / Too long / }

where p points to some malloc'd data of SIZE bytes and limit == p + SIZE. 'len' could be from some externally supplied data, e.g. TLS message. This idiom is vulnerable to integer overflow vulnerability.

Other sources

Multiple integer overflow flaws were found in the way OpenSSL performed pointer arithmetic. A remote attacker could possibly use these flaws to cause a TLS/SSL server or client using OpenSSL to crash.

OpenSSL through 1.0.2h incorrectly uses pointer arithmetic for heap-buffer boundary checks, which might allow remote attackers to cause a denial of service (integer overflow and application crash) or possibly have unspecified other impact by leveraging unexpected malloc behavior, related to s3srvr.c, sslsess.c, and t1lib.c.

Affected Software

52 affected componentsFixes available
redhat/jbcs-httpd24-httpd<0:2.4.23-102.jbcs.el6
0:2.4.23-102.jbcs.el6
redhat/jbcs-httpd24-nghttp2<0:1.12.0-9.jbcs.el6
0:1.12.0-9.jbcs.el6
redhat/jbcs-httpd24-openssl<1:1.0.2h-12.jbcs.el6
1:1.0.2h-12.jbcs.el6
redhat/jbcs-httpd24-httpd<0:2.4.23-102.jbcs.el7
0:2.4.23-102.jbcs.el7
redhat/jbcs-httpd24-nghttp2<0:1.12.0-9.jbcs.el7
0:1.12.0-9.jbcs.el7
redhat/jbcs-httpd24-openssl<1:1.0.2h-12.jbcs.el7
1:1.0.2h-12.jbcs.el7
redhat/openssl<0:1.0.1e-48.el6_8.3
0:1.0.1e-48.el6_8.3
redhat/openssl<1:1.0.1e-51.el7_2.7
1:1.0.1e-51.el7_2.7
redhat/jbcs-httpd24-openssl<1:1.0.2h-13.jbcs.el6
1:1.0.2h-13.jbcs.el6
redhat/jbcs-httpd24-openssl<1:1.0.2h-13.jbcs.el7
1:1.0.2h-13.jbcs.el7
redhat/openssl<1.0.1
1.0.1
redhat/openssl<1.0.2
1.0.2
HP IceWall MCRP=3.0
HP IceWall SSO=10.0
HP IceWall SSO=10.0
HP IceWall SSO Agent Option=10.0
OpenSSL OpenSSL=1.0.1
OpenSSL OpenSSL=1.0.1a
OpenSSL OpenSSL=1.0.1b
OpenSSL OpenSSL=1.0.1c
OpenSSL OpenSSL=1.0.1d
OpenSSL OpenSSL=1.0.1e
OpenSSL OpenSSL=1.0.1f
OpenSSL OpenSSL=1.0.1g
OpenSSL OpenSSL=1.0.1h
OpenSSL OpenSSL=1.0.1i
OpenSSL OpenSSL=1.0.1j
OpenSSL OpenSSL=1.0.1k
OpenSSL OpenSSL=1.0.1l
OpenSSL OpenSSL=1.0.1m
OpenSSL OpenSSL=1.0.1n
OpenSSL OpenSSL=1.0.1o
OpenSSL OpenSSL=1.0.1p
OpenSSL OpenSSL=1.0.1q
OpenSSL OpenSSL=1.0.1r
OpenSSL OpenSSL=1.0.1s
OpenSSL OpenSSL=1.0.1t
OpenSSL OpenSSL=1.0.2
OpenSSL OpenSSL=1.0.2a
OpenSSL OpenSSL=1.0.2b
OpenSSL OpenSSL=1.0.2c
OpenSSL OpenSSL=1.0.2d
OpenSSL OpenSSL=1.0.2e
OpenSSL OpenSSL=1.0.2f
OpenSSL OpenSSL=1.0.2g
OpenSSL OpenSSL=1.0.2h
Oracle Linux=5
Oracle Linux=6
Oracle Linux=7
Oracle Solaris=10
Oracle Solaris=11.3
debian/openssl
1.1.1w-0+deb11u11.1.1w-0+deb11u23.0.15-1~deb12u13.0.14-1~deb12u23.5.0-1

Event History

May 5, 2016
CVE Published
12:00 AM
Jun 1, 2016
Data Sourced
via Red Hat·02:36 PM
DescriptionSeverityAffected Software
Jun 20, 2016
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Jan 11, 2024
Data Sourced
via Launchpad·10:15 PM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·01:12 AM
RemedyDescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2016-2177?

CVE-2016-2177 has been assigned a medium severity rating due to its potential for integer overflow that could lead to denial of service or other vulnerabilities.

2

How do I fix CVE-2016-2177?

To fix CVE-2016-2177, update your affected software packages to the recommended versions as listed in the vulnerability details.

3

Which software versions are affected by CVE-2016-2177?

CVE-2016-2177 affects multiple versions of jbcs-httpd24-httpd, jbcs-httpd24-nghttp2, and jbcs-httpd24-openssl among others, specifically prior to their respective fixed versions.

4

What causes CVE-2016-2177?

CVE-2016-2177 is caused by an integer overflow vulnerability stemming from an improper check on input lengths that can lead to excessive memory access.

5

Is CVE-2016-2177 a widely exploited vulnerability?

While not widely exploited in the wild, CVE-2016-2177 presents a significant risk if left unpatched, especially in systems reliant on the affected software.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203