CVEfocus › CVE database › CVE-2026-54911

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

CVSS 6.5 MediumEPSS 0.4% (higher than 23% of CVEs)Published 2026-06-22Updated 2026-06-23Assigner: GitHub_M

UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. Prior to 5.13.0, 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. This vulnerability is fixed in 5.13.0.

CWE-20

What to do

Fixed builds are available from Debian, PyPI: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
20Fix pending
2Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10pandasFix pendingUBUNTU-CVE-2026-54911
Ubuntu 26.10ujsonFix pendingUBUNTU-CVE-2026-54911
Ubuntu 26.04pandasFix pendingUBUNTU-CVE-2026-54911
Ubuntu 26.04ujsonFix pendingUBUNTU-CVE-2026-54911
Ubuntu 25.10pandasWill not fix
the embedded ujson code in pandas, eventhough containing similar content as the upstream ujson code, seems to have diverged from the ujson upstream project…
UBUNTU-CVE-2026-54911
Ubuntu 25.10ujsonWill not fix
the embedded ujson code in pandas, eventhough containing similar content as the upstream ujson code, seems to have diverged from the ujson upstream project…
UBUNTU-CVE-2026-54911
Ubuntu 24.04pandasFix pendingUBUNTU-CVE-2026-54911
Ubuntu 24.04ujsonFix pendingUBUNTU-CVE-2026-54911
Ubuntu 22.04collada2gltfFix pendingUBUNTU-CVE-2026-54911
Ubuntu 22.04pandasFix pendingUBUNTU-CVE-2026-54911
Ubuntu 22.04ujsonFix pendingUBUNTU-CVE-2026-54911
Ubuntu 20.04pandasFix pendingUBUNTU-CVE-2026-54911
Ubuntu 20.04ujsonFix pendingUBUNTU-CVE-2026-54911
Ubuntu 18.04collada2gltfFix pendingUBUNTU-CVE-2026-54911
Ubuntu 18.04pandasFix pendingUBUNTU-CVE-2026-54911
Ubuntu 18.04ujsonFix pendingUBUNTU-CVE-2026-54911
Ubuntu 16.04collada2gltfFix pendingUBUNTU-CVE-2026-54911
Ubuntu 16.04pandasFix pendingUBUNTU-CVE-2026-54911
Ubuntu 16.04ujsonFix pendingUBUNTU-CVE-2026-54911
Ubuntu 14.04pandasFix pendingUBUNTU-CVE-2026-54911
Debian 14ujsonFixed5.13.0-1DEBIAN-CVE-2026-54911
Debian 13ujsonFix pendingDEBIAN-CVE-2026-54911
Debian 12ujsonFix pendingDEBIAN-CVE-2026-54911
PyPI libraryujsonFixed5.13.0PYSEC-2026-2294

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.