Home / ultrajson / ultrajson / CVE-2026-32875
CVE-2026-32875: is it exploited, and which versions of ultrajson are affected and fixed?
CVE-2026-32875 is an integer overflow vulnerability in ultrajson. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:38 UTC). Affected: ujson from 5.1.0 before 5.12.0 (GitHub advisory GHSA-c8rr-9gxc-jprv). Fixed in 5.12.0 (GitHub advisory GHSA-c8rr-9gxc-jprv). Severity: High (7.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:12 UTC.
What is CVE-2026-32875?
UltraJSON has an integer overflow handling large indent leads to buffer overflow or infinite loop
UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. Versions 5.10 through 5.11.0 are vulnerable to buffer overflow or infinite loop through large indent handling. ujson.dumps() crashes the Python interpreter (segmentation fault) when the product of the indent parameter and the nested depth of the input exceeds INT32_MAX. It can also get stuck in an infinite loop if the indent is a large negative number. Both are caused by an integer overflow/underflow whilst calculating how much memory to reserve for indentation. And both can be used to achieve denial of service. To be vulnerable, a service must call ujson.dump()/ujson.dumps()/ujson.encode() whilst giving untrusted users control over the indent parameter and not restrict that indentation to reasonably small non-negative values. A service may also be vulnerable to the infinite loop if it uses a fixed negative indent. An underflow always occurs for any negative indent when the input data is at least one level nested but, for small negative indents, the underflow is usually accidentally rectified by another overflow. This issue has been fixed in version 5.12.0.
From the CVE record by GitHub_M, last updated July 15, 2026, 01:07 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| ultrajson | ultrajson | >= 5.1.0, < 5.12.0 |
As the CVE record by GitHub_M states it, last updated July 15, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | ujson | >= 5.1.0, < 5.12.0 | 5.12.0 | GHSA-c8rr-9gxc-jprv |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated March 20, 2026. Summary: UltraJSON has an integer overflow handling large indent leads to buffer overflow or infinite loop.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| ultrajson project | ultrajson | from 5.1.0 before 5.12.0 | application |
NVD analysis (status Modified), last modified July 15, 2026, 02:20 UTC.
How severe is CVE-2026-32875?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | GitHub_M |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | redhat-SADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-32875 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, March 25, 2026)
- EPSS
- 0.50% probability of exploitation activity in the next 30 days, percentile 44.4 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-190 Integer Overflow or Wraparound
- CWE-787 Out-of-bounds Write
- CWE-835 Loop with Unreachable Exit Condition
Where are the vendor advisories and references?
- https://github.com/ultrajson/ultrajson/security/advisories/GHSA-c8rr-9gxc-jprv x_refsource_CONFIRM
- https://github.com/ultrajson/ultrajson/issues/700 x_refsource_MISC
- https://github.com/ultrajson/ultrajson/commit/486bd4553dc471a1de11613bc7347a6b318e37ea x_refsource_MISC
- https://access.redhat.com/security/cve/CVE-2026-32875 vdb-entry, x_refsource_REDHAT
- RHBZ#2449400 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-32875.json x_sadp-csaf-vex
When was it published, and where is the official record?
- Reserved
- March 16, 2026
- Published
- March 20, 2026, 01:35 UTC
- CVE record updated
- July 15, 2026, 01:07 UTC by GitHub_M
- NVD
- Modified, last modified July 15, 2026, 02:20 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:12 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect ultrajson?
- Jun 22, 2026CVE-2026-54911 ultrajson: improper input validation
- May 27, 2026CVE-2026-44660 ultrajson: memory leak
- Mar 20, 2026CVE-2026-32874 ultrajson: memory leak
- Jul 5, 2022CVE-2022-31116 ultrajson: always-incorrect control flow
- Jul 5, 2022CVE-2022-31117 ultrajson: double free
Questions about CVE-2026-32875
Is CVE-2026-32875 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 0.50% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of ultrajson are affected by CVE-2026-32875?
ujson from 5.1.0 before 5.12.0, per the GitHub advisory GHSA-c8rr-9gxc-jprv. The tables above give every range the sources list.
Which version fixes CVE-2026-32875?
5.12.0, per the GitHub advisory GHSA-c8rr-9gxc-jprv. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-32875?
High (7.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-32875?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.