CVE-2026-54911
UltraJSON is a fast JSON encoder and decoder written in pure C with …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/ultrajson/ultrajson/security/advisories/GHSA-3j69-69wj-xqx2
- github.com/ultrajson/ultrajson/commit/169eaf36b1116fece5034ee79a7a0ef3f6deedcf
- github.com/ultrajson/ultrajson/releases/tag/5.13.0
- github.com/advisories/GHSA-3j69-69wj-xqx2
- nvd.nist.gov/vuln/detail/CVE-2026-54911
- github.com/pypa/advisory-database/tree/main/vulns/ujson/PYSEC-2026-2294.yaml
- nvd.nist.gov/vuln/detail/CVE-2026-54911
- cve.org/CVERecord?id=CVE-2026-54911
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.