← Übersicht Nicht im beobachteten Stack

cbor2 has a Denial of Service via Uncontrolled Recursion in cbor2.loads

CVE-2026-26209 · AZL-80541 · DEBIAN-CVE-2026-26209 · GHSA-3c37-wwvx-h642 · PYSEC-2026-2123 · UBUNTU-CVE-2026-26209 · openSUSE-SU-2026:10425-1

Hoch · CVSS 7.5 SUSE: importantSUSE: moderateUbuntu: mediumRed Hat: Moderate Netzwerk · ohne Login Kein Fix bekannt

Veröffentlicht
23.03.2026 19:53
Zuletzt geändert
19.11.2026
EPSS (30 Tage)
0.4 %
CVSS-Vektor
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Beschreibung

Originaltext der Quelle, nicht übersetzt.

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.

Status beim Hersteller

SUSE stuft seine Produktlinien ein: 4 betroffen, 7 behoben.

Red Hat AI Inference Server BetroffenFix zurückgestellt rhaiis-preview/vllm-cuda-rhel9, rhaiis/vllm-cpu-rhel9, rhaiis/vllm-neuron-rhel9, rhaiis/vllm-tpu-rhel9
Red Hat Ansible Automation Platform 2 BetroffenFix zurückgestellt ansible-automation-platform-26/lightspeed-rhel9
Red Hat Enterprise Linux AI (RHEL AI) 3 BetroffenFix zurückgestellt rhelai3/bootc-aws-cuda-rhel9, rhelai3/bootc-azure-cuda-rhel9, rhelai3/bootc-azure-rocm-rhel9, rhelai3/bootc-cuda-rhel9, rhelai3/bootc-gcp-cuda-rhel9, rhelai3/bootc-rocm-rhel9
Red Hat OpenShift AI (RHOAI) BetroffenFix zurückgestellt rhoai/odh-vllm-cpu-rhel9, rhoai/odh-vllm-cuda-rhel9, rhoai/odh-vllm-gaudi-rhel9, rhoai/odh-vllm-rocm-rhel9
Red Hat AI Inference Server 3.2 Behoben rhaiis RHSA-2026:19724, RHSA-2026:19725
Red Hat AI Inference Server 3.3 Behoben rhaiis RHSA-2026:16009, RHSA-2026:16030, RHSA-2026:16174
SUSE Linux Enterprise Server 16.0 Behoben python313-cbor2-5.6.5-160000.4.1
SUSE Linux Enterprise Server for SAP applications 16.0 Behoben python313-cbor2-5.6.5-160000.4.1
SUSE Package Hub 15 SP7 Behoben python311-cbor2-5.5.1-bp157.2.6.1
openSUSE Leap 16.0 Behoben python313-cbor2-5.6.5-160000.4.1
openSUSE Tumbleweed Behoben python311-cbor2-5.9.0-1.1, python313-cbor2-5.9.0-1.1
openSUSE Tumbleweed Behoben python-cbor2-5.9.0-1.1
Weitere betroffene Pakete (17)
Azure Linux:3python-cbor2kein Fix bekanntAZL-80541
CVEagronholm/cbor2kein Fix bekanntCVE-2026-26209
Debian:12cbor2kein Fix bekanntDEBIAN-CVE-2026-26209
Debian:13cbor2kein Fix bekanntDEBIAN-CVE-2026-26209
Debian:14cbor25.9.0-1DEBIAN-CVE-2026-26209
NVDagronholm:cbor25.9.0CVE-2026-26209
PyPIcbor25.9.0GHSA-3c37-wwvx-h642
PyPIcbor25.9.0PYSEC-2026-2123
SUSE:Linux Enterprise Server 16.0python-cbor25.6.5-160000.4.1SUSE-SU-2026:21139-1
SUSE:Linux Enterprise Server for SAP applications 16.0python-cbor25.6.5-160000.4.1SUSE-SU-2026:21139-1
Ubuntu:22.04:LTScbor2kein Fix bekanntUBUNTU-CVE-2026-26209
Ubuntu:24.04:LTScbor2kein Fix bekanntUBUNTU-CVE-2026-26209
Ubuntu:25.10cbor2kein Fix bekanntUBUNTU-CVE-2026-26209
Ubuntu:26.04:LTScbor2kein Fix bekanntUBUNTU-CVE-2026-26209
Ubuntu:26.10cbor2kein Fix bekanntUBUNTU-CVE-2026-26209
openSUSE:Leap 16.0python-cbor25.6.5-160000.4.1openSUSE-SU-2026:20468-1
openSUSE:Tumbleweedpython-cbor25.9.0-1.1openSUSE-SU-2026:10425-1

Empfohlene Prüfung

  1. Feststellen, ob und in welcher Version die betroffenen Pakete in Ihren Systemen, Images und Abhängigkeiten vorkommen.
  2. Wo eine Fix-Version genannt ist: aktualisieren. Wo nicht: Hersteller-Advisory und Referenzen auf Workarounds prüfen.
  3. Erreichbarkeit beachten: Der Angriffsweg (Netzwerk · ohne Login) ist aus dem CVSS-Vektor abgeleitet.

Diese Seite sagt nichts darüber, ob Ihre Systeme betroffen sind. Das klärt erst eine Prüfung Ihrer Versionen.