CVE-2026-26209
agronholm cbor2
Patch priority
RegularFix with the next regular update.
- CVSS
- 7.5
- Severity
- 7.5
- EPSS
- 0.5 %
- Percentile
- 47
- Actively exploited
- not known
The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary
What do I need to do?
in plain wordsWho is affected?
Only those who run agronholm cbor2. The vendor name tells you whether the product is in use at your place.
How dangerous is it?
- Attackable over the network – including from the internet if the device or service is reachable there.
- No login is needed for it.
- Nobody has to click anything.
What to do?
- Include it in your next regular update.
- The vendor’s advisories (linked below) name the fixed version.
- If there is no update yet: keep the device or service off the internet (no port forwarding) and watch for the vendor’s announcement.
Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained
Description
NVDcbor2 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.
- Vendor / product
- agronholm cbor2
- Published
- 23.03.2026
- Modified
- 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
Vendor updates
7- Microsoft: Mariner 27.11.2026 · High · Patch day
- Red Hat: RHSA-2026:19725 – RHSA-2026:19725 registry.redhat.io/rhaiis/vllm-rocm-rhel9@sha256:99b7180af597d85bffd7217d1db2a2608fd4e9a8db64122660446126e … 20.05.2026 · Patch day
- Red Hat: RHSA-2026:19724 – RHSA-2026:19724 registry.redhat.io/rhaiis/vllm-cuda-rhel9@sha256:f7a9ac7e6198c57e9008b257e031f1c47b0b92263590a51be1ee4e328 … 20.05.2026 · Patch day
- Red Hat: RHSA-2026:16174 – RHSA-2026:16174 registry.redhat.io/rhaiis/vllm-spyre-rhel9@sha256:c79e06a3f71b81ddea9e9e4f51f378f4a5985b9f176e3d17953ffa7c … 12.05.2026 · Patch day
- Red Hat: RHSA-2026:16030 – RHSA-2026:16030 registry.redhat.io/rhaiis/vllm-cuda-rhel9@sha256:3aecb1fcf7c282681d9a83ec51fd2fa2ff078567603942466734f55c8 … 11.05.2026 · Patch day
- Red Hat: RHSA-2026:16009 – RHSA-2026:16009 registry.redhat.io/rhaiis/vllm-rocm-rhel9@sha256:da9b415acbfa49de5960e3d255a1ba0ffad6d0bf67ec1272b1ff70842 … 11.05.2026 · Patch day
- SUSE: SUSE-SU-2026:21139-1 – Security update for python-cbor2 21.04.2026 · HIGH · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.