Debian Package Tracker
Register | Log in
Subscribe

cbor2

Choose email to subscribe with

general
  • source: cbor2 (main)
  • version: 5.9.0-2
  • maintainer: Debian Python Team (DMD)
  • uploaders: Georges Khaznadar [DMD]
  • arch: all any
  • std-ver: 4.6.2
  • VCS: Git (Browse, QA)
versions [more versions can be listed by madison] [old versions available from snapshot.debian.org]
[pool directory]
  • o-o-stable: 5.2.0-4
  • oldstable: 5.4.6-1
  • stable: 5.6.5-1
  • testing: 5.9.0-2
  • unstable: 5.9.0-2
versioned links
  • 5.2.0-4: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 5.4.6-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 5.6.5-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 5.9.0-2: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
binaries
  • python-cbor2-doc
  • python3-cbor2
action needed
1 security issue in trixie high

There is 1 open security issue in trixie.

1 important issue:
  • CVE-2026-26209: 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.
Created: 2026-03-26 Last update: 2026-04-01 05:00
1 security issue in bullseye high

There is 1 open security issue in bullseye.

1 important issue:
  • CVE-2026-26209: 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.
Created: 2026-03-26 Last update: 2026-04-01 05:00
1 security issue in bookworm high

There is 1 open security issue in bookworm.

1 important issue:
  • CVE-2026-26209: 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.
Created: 2026-03-26 Last update: 2026-04-01 05:00
lintian reports 1 warning normal
Lintian reports 1 warning about this package. You should make the package lintian clean getting rid of them.
Created: 2026-03-25 Last update: 2026-03-25 03:30
debian/patches: 1 patch to forward upstream low

Among the 1 debian patch available in version 5.9.0-2 of the package, we noticed the following issues:

  • 1 patch where the metadata indicates that the patch has not yet been forwarded upstream. You should either forward the patch upstream or update the metadata to document its real status.
Created: 2026-02-20 Last update: 2026-03-27 10:30
Standards version of the package is outdated. wishlist
The package should be updated to follow the last version of Debian Policy (Standards-Version 4.7.4 instead of 4.6.2).
Created: 2024-04-07 Last update: 2026-03-31 15:01
news
[rss feed]
  • [2026-04-01] cbor2 5.9.0-2 MIGRATED to testing (Debian testing watch)
  • [2026-03-26] Accepted cbor2 5.9.0-2 (source) into unstable (Georges Khaznadar)
  • [2026-03-24] Accepted cbor2 5.9.0-1 (source) into unstable (Georges Khaznadar)
  • [2026-02-20] Accepted cbor2 5.8.0-3 (source) into unstable (Georges Khaznadar)
  • [2026-02-04] Accepted cbor2 5.8.0-2 (source) into unstable (Georges Khaznadar)
  • [2026-01-08] cbor2 5.8.0-1 MIGRATED to testing (Debian testing watch)
  • [2026-01-02] Accepted cbor2 5.8.0-1 (source) into unstable (Georges Khaznadar)
  • [2025-11-07] cbor2 5.7.1-1 MIGRATED to testing (Debian testing watch)
  • [2025-11-01] Accepted cbor2 5.7.1-1 (source) into unstable (Georges Khaznadar)
  • [2025-08-21] cbor2 5.7.0-1 MIGRATED to testing (Debian testing watch)
  • [2025-08-15] Accepted cbor2 5.7.0-1 (source) into unstable (Georges Khaznadar)
  • [2024-10-21] cbor2 5.6.5-1 MIGRATED to testing (Debian testing watch)
  • [2024-10-15] Accepted cbor2 5.6.5-1 (source) into unstable (Georges Khaznadar)
  • [2024-06-12] cbor2 5.6.4-1 MIGRATED to testing (Debian testing watch)
  • [2024-06-07] Accepted cbor2 5.6.4-1 (source) into unstable (Georges Khaznadar)
  • [2024-03-26] cbor2 5.6.3-1 MIGRATED to testing (Debian testing watch)
  • [2024-03-11] Accepted cbor2 5.6.3-1 (source) into unstable (Georges Khaznadar)
  • [2024-03-02] cbor2 5.6.2-1 MIGRATED to testing (Debian testing watch)
  • [2024-02-26] Accepted cbor2 5.6.2-1 (source) into unstable (Georges Khaznadar)
  • [2024-02-12] cbor2 5.6.1-1 MIGRATED to testing (Debian testing watch)
  • [2024-02-06] Accepted cbor2 5.6.1-1 (source) into unstable (Georges Khaznadar)
  • [2024-01-29] cbor2 5.6.0-1 MIGRATED to testing (Debian testing watch)
  • [2024-01-29] cbor2 5.6.0-1 MIGRATED to testing (Debian testing watch)
  • [2024-01-22] Accepted cbor2 5.6.0-1 (source) into unstable (Georges Khaznadar)
  • [2023-11-29] cbor2 5.5.1-1 MIGRATED to testing (Debian testing watch)
  • [2023-11-23] Accepted cbor2 5.5.1-1 (source) into unstable (Georges Khaznadar)
  • [2023-06-13] cbor2 5.4.6-2 MIGRATED to testing (Debian testing watch)
  • [2023-03-16] Accepted cbor2 5.4.6-2 (source) into unstable (Bastian Germann) (signed by: bage@debian.org)
  • [2022-12-15] cbor2 5.4.6-1 MIGRATED to testing (Debian testing watch)
  • [2022-12-09] Accepted cbor2 5.4.6-1 (source) into unstable (Bastian Germann) (signed by: bage@debian.org)
  • 1
  • 2
bugs [bug history graph]
  • all: 0
links
  • homepage
  • lintian (0, 1)
  • buildd: logs, reproducibility, cross
  • popcon
  • browse source code
  • edit tags
  • other distros
  • security tracker
  • debian patches
  • debci
ubuntu Ubuntu logo [Information about Ubuntu for Debian Developers]
  • version: 5.8.0-1

Debian Package Tracker — Copyright 2013-2025 The Distro Tracker Developers
Report problems to the tracker.debian.org pseudo-package in the Debian BTS.
Documentation — Bugs — Git Repository — Contributing