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

CVE-2026-54911: UltraJSON: Malformed/Truncated UTF-8 Accepted and Silently Rewritten in ujson.dumps()

June 19, 2026 (updated July 18, 2026)

ujson.dumps() (or ujson.dump() or ujson.encode()) have a reject_bytes=False option. When set, they may accept malformed or truncated UTF-8 byte sequences, silently rewriting them into different Unicode characters instead of rejecting them. This leads to input validation bypass and data integrity issues.

References

  • github.com/advisories/GHSA-3j69-69wj-xqx2
  • github.com/pypa/advisory-database/tree/main/vulns/ujson/PYSEC-2026-2294.yaml
  • github.com/ultrajson/ultrajson/commit/169eaf36b1116fece5034ee79a7a0ef3f6deedcf
  • github.com/ultrajson/ultrajson/releases/tag/5.13.0
  • github.com/ultrajson/ultrajson/security/advisories/GHSA-3j69-69wj-xqx2
  • nvd.nist.gov/vuln/detail/CVE-2026-54911

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 5.13.0

Fixed versions

  • 5.13.0

Solution

Upgrade to version 5.13.0 or above.

Impact 6.5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation

Source file

pypi/ujson/CVE-2026-54911.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:17 +0000.