cve.bz

CVE-2026-54911

6.5 mediumEPSS 0.4%

Medium (6.5) in ultrajson project ultrajson. EPSS 0.4% chance of exploitation in the next 30 days. Fixed in ujson 5.13.0.

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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
EPSS
0.4% chance of exploitation in the next 30 days; higher than 31% of CVEs (scores of 2026-10-31)
CWE
CWE-20
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-3j69-69wj-xqx2PyPIujson<5.13.05.13.0
PYSEC-2026-2294PyPIujson<5.13.05.13.0

References

Check your stackJSON