SicherheitslageDEEN

CVE-2026-26209

agronholm cbor2

Patch-Priorität

Regulär

Mit dem nächsten regulären Update beheben.

CVSS
7,5
Schweregrad
7,5
EPSS
0,5 %
Perzentil
46
Aktiv ausgenutzt
nicht bekannt

Die Ampel kombiniert CVSS (Schwere), EPSS (Ausnutzungswahrscheinlichkeit, FIRST) und den KEV-Katalog der CISA. Sie ersetzt keine eigene Bewertung. Mehr dazu im Glossar

Was muss ich tun?

in einfachen Worten

Wen betrifft das?

Nur wer agronholm cbor2 einsetzt. Ob das Produkt bei dir läuft, siehst du am Herstellernamen.

Wie gefährlich ist das?

Was tun?

  1. Beim nächsten regulären Update mitnehmen.
  2. Die Hinweise des Herstellers (unten verlinkt) nennen die korrigierte Version.
  3. Gibt es noch kein Update: das Gerät oder den Dienst nicht aus dem Internet erreichbar machen (keine Portfreigabe) und die Herstellermeldung im Auge behalten.

Automatisch aus CVSS-Vektor, KEV und EPSS erstellt – ersetzt nicht die Angaben des Herstellers. Begriffe erklärt

Beschreibung

NVD

cbor2 provides encoding and decoding for the Concise Binary Object Representation (CBOR) serialization format. Versions prior to 5.9.0 are vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding deeply nested CBOR structures. This vulnerability affects both the pure Python implementation and the C extension `_cbor2`. The C extension relies on Python's internal recursion limits `Py_EnterRecursiveCall` rather than a data-driven depth limit, meaning it still raises `RecursionError` and crashes the worker process when the limit is hit. While the library handles moderate nesting levels, it lacks a hard depth limit. An attacker can supply a crafted CBOR payload containing approximately 100,000 nested arrays `0x81`. When `cbor2.loads()` attempts to parse this, it hits the Python interpreter's maximum recursion depth or exhausts the stack, causing the process to crash with a `RecursionError`. Because the library does not enforce its own limits, it allows an external attacker to exhaust the host application's stack resource. In many web application servers (e.g., Gunicorn, Uvicorn) or task queues (Celery), an unhandled `RecursionError` terminates the worker process immediately. By sending a stream of these small (<100KB) malicious packets, an attacker can repeatedly crash worker processes, resulting in a complete Denial of Service for the application. Version 5.9.0 patches the issue.

Hersteller / Produkt
agronholm cbor2
Veröffentlicht
23.03.2026
Geändert
17.06.2026
CWE
CWE-674
Status
Analyzed

CVSS v3.0 · CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Referenz des Herstellers

Updates der Hersteller

2

Quellen: NVD (NIST), CISA KEV, EPSS (FIRST.org), Hersteller und Behörden. Angaben ohne Gewähr.