Advisory

PYSEC-2026-921

Also known as: CVE-2014-4616, GHSA-9772-cwx9-r4cj, PSF-2017-1

Summary

simplejson before 2.6.1 vulnerable to array index error

Details

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.

Severity

Medium Basis: CVSS v3 score 5.9, vector CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Dates

Published
2026-07-06 08:03 UTC
Modified
2026-07-07 11:56 UTC

Affected packages and fixes

simplejson

PyPI · All systems

Affected

  • introduced 0, fixed 2.6.1 (ecosystem)

Fixed versions

2.6.1

Fix

  • Fixed version 2.6.1
    pip install --upgrade simplejson==2.6.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences