CVE catalog

CVE-2026-54911

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

[CVE catalog]

Severity
Medium · CVSS 6.5
Published
Source
[NVD] · [CVE record]
EPSS
0.37% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianujsonsid5.13.0-1fixed
Debianujsonforky5.13.0-1fixed
Debianujsontrixie5.10.0-1vulnerable
Debianujsonbookworm5.7.0-1vulnerable
CpeujsonNot reportedNot reportedvulnerable
CpeultrajsonNot reported5.13.0fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianujsonsourcesid5.13.0-1not yet assignedNot reported[1140630]
Debianujsonsourceforky5.13.0-1not yet assignedNot reported[1140630]
Debianujsonsourcetrixie(unfixed)not yet assignedNot reported[1140630]
Debianujsonsourcebookworm(unfixed)not yet assignedNot reported[1140630]
CpeultrajsoncpeNot reported5.13.0Not reportedNot reportedNot reported

[Debian bug #1140630]

Notes

[trixie] ujson: Minor issue [bookworm] ujson: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [python3-ujson]Affected

    Source package: [ujson]

    Details (2)
    • 5.7.0-1 · amd64 · bookworm

      Affected

      nvd · ujson · debian · bookworm; nvd · ujson · debian · 12

    • 5.7.0-1 · arm64 · bookworm

      Affected

      nvd · ujson · debian · bookworm; nvd · ujson · debian · 12

[Debian 13 (Trixie)]

  • [python3-ujson]Affected

    Source package: [ujson]

    Details (2)
    • 5.10.0-1+b4 · amd64 · trixie

      Affected

      nvd · ujson · debian · 13

    • 5.10.0-1+b4 · arm64 · trixie

      Affected

      nvd · ujson · debian · 13

Observed:

References