Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. ujson
  4. ›
  5. CVE-2026-32874

CVE-2026-32874: UltraJSON has a Memory Leak parsing large integers allows DoS

March 18, 2026 (updated March 20, 2026)

ujson 5.4.0 to 5.11.0 inclusive contain an accumulating memory leak in JSON parsing large (outside of the range [-2^63, 2^64 - 1]) integers.

References

  • github.com/advisories/GHSA-wgvc-ghv9-3pmm
  • github.com/ultrajson/ultrajson
  • github.com/ultrajson/ultrajson/commit/4baeb950df780092bd3c89fc702a868e99a3a1d2
  • github.com/ultrajson/ultrajson/releases/tag/5.12.0
  • github.com/ultrajson/ultrajson/security/advisories/GHSA-wgvc-ghv9-3pmm
  • nvd.nist.gov/vuln/detail/CVE-2026-32874

Code Behaviors & Features

Detect and mitigate CVE-2026-32874 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 5.4.0 before 5.12.0

Fixed versions

  • 5.12.0

Solution

Upgrade to version 5.12.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-401: Missing Release of Memory after Effective Lifetime

Source file

pypi/ujson/CVE-2026-32874.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 24 Mar 2026 12:18:14 +0000.