CVE-2014-4616Python
Medium 5.9 No auth needed
Follow: this CVE · Python · Python We alert you by email or Slack (account required).
- Priority
- 51
- CVSS 3.1
- 5.9
- EPSS
- 7.8% probability of exploitation in 30 days · percentile 95
- Auth required
- No
- Published
- Aug 24, 2017
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-129
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
Array index error in the scanstring function in the _json module in Python 2.7 through 3.5 and simplejson before 2.6.1 allows context-dependent attackers to read arbitrary process memory via a negative index value in the idx argument to the raw_decode function.
What to do
- Apply the vendor's security update for Python.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | simplejson |
< 2.6.1 |
2.6.1 |
pip install "simplejson>=2.6.1" |
| PyPI | simplejson |
< 2.6.1 |
2.6.1 |
pip install "simplejson>=2.6.1" |
Per OSV / GitHub Advisories (GHSA-9772-cwx9-r4cj, PYSEC-2026-921). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| python | python | ≥ 2.7.0 < 2.7.7 |
| python | python | ≥ 3.0.0 < 3.2.6 |
| python | python | ≥ 3.3.0 < 3.3.6 |
| python | python | ≥ 3.4.0 < 3.4.1 |
| simplejson_project | simplejson | < 2.6.1 |
| opensuse | opensuse | 13.1 |
| opensuse_project | opensuse | 12.3 |
Official sources
References
Links published by the sources. Open them with care.
- bugs.python.org Issue Tracking Vendor Advisory
- lists.opensuse.org Mailing List Third Party Advisory
- openwall.com Mailing List Third Party Advisory
- rhn.redhat.com Third Party Advisory
- www.securityfocus.com Third Party Advisory VDB Entry
- bugs.debian.org Issue Tracking Mailing List Third Party Advisory
- bugzilla.redhat.com Issue Tracking Patch Third Party Advisory
- hackerone.com Exploit Patch Third Party Advisory
- security.gentoo.org Patch Third Party Advisory VDB Entry