Zurück zur Liste

UltraJSON has a Memory Leak in ujson.dump() on Write Failure — CVE-2026-44660

GitHub · GitHub · CVE-2026-44660

ID
CVE-2026-44660
Datum
Activity
Quelle
GitHub
Vendor
GitHub
Risiko
high
CVSS
8.7

Zusammenfassung

### Summary When `ujson.dump()` writes to a file-like object and the write operation raises an exception, the serialized JSON string object is not decremented, leaking memory. Each failed write operation leaks the full size of the serialized payload. Code that uses `ujson.dumps()` rather than `ujson.dump()` or only JSON load/decode methods is unaffected. ### Details **Vulnerability Location:** -…

Produkt

pip: ujson

Was tun?

Allgemeine, vorsichtige Schritte (bitte prüfe die offizielle Quelle für Details):

  • Priorisiere sofort Patches oder Mitigations (hohes akutes Risiko).
  • Identifiziere betroffene Produktversionen und prüfe, ob du betroffen bist.
  • Spiele Hersteller-Updates/Patches ein oder setze empfohlene Mitigations um.
  • Lies das offizielle Advisory für betroffene Versionen und konkrete Schritte.

Offizielles Advisory

Mehr dazu