CVE-2014-7185: Integer Overflow

Published Sep 24, 2014
·
Updated

Integer overflow in bufferobject.c in Python before 2.7.8 allows context-dependent attackers to obtain sensitive information from process memory via a large size and offset in a "buffer" function.

Other sources

It was reported [1] that Python 2.7.8 fixes a potential wraparound in buffer() with possible CWE-200 implications.

While the CVE request is forPython 2.7, reporter also indicated that earlier versions (1.6.1 through 2.6.9) were also affected.

PoC: --- overflow.py --- import sys a = bytearray('here be dragons') b = buffer(a, sys.maxsize, sys.maxsize) print b[:8192] -------------------

Upstream fix is in [2].

[1]: http://seclists.org/oss-sec/2014/q3/638 [2]: https://hg.python.org/cpython/diff/8d963c7db507/Objects/bufferobject.c

Red Hat

Affected Software

13 affected componentsFixes available
redhat/python<2.7.8
2.7.8
Python Python<=2.7.7
Python Python=2.7.1
Python Python=2.7.1-rc1
Python Python=2.7.2-rc1
Python Python=2.7.3
Python Python=2.7.4
Python Python=2.7.5
Python Python=2.7.6
Python Python=2.7.1150
Python Python=2.7.1150
Python Python=2.7.2150
Apple iOS and macOS<=10.10.4

Event History

Sep 24, 2014
Data Sourced
via Red Hat·10:26 AM
DescriptionSeverityAffected Software
Oct 8, 2014
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2014-7185?

CVE-2014-7185 is considered to have a medium severity due to the potential for sensitive information disclosure.

2

Which versions of Python are affected by CVE-2014-7185?

CVE-2014-7185 affects Python versions prior to 2.7.8.

3

How do I fix CVE-2014-7185?

To fix CVE-2014-7185, upgrade Python to version 2.7.8 or higher.

4

What type of attack does CVE-2014-7185 allow?

CVE-2014-7185 allows context-dependent attackers to exploit an integer overflow for information disclosure.

5

Is there a workaround for CVE-2014-7185 if I cannot upgrade?

There is no known workaround for CVE-2014-7185; upgrading to a fixed version is recommended.

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