Debian Package Tracker
Register | Log in
Subscribe

cbor2

Choose email to subscribe with

general
  • source: cbor2 (main)
  • version: 6.1.2-1
  • maintainer: Debian Python Team (DMD)
  • uploaders: Georges Khaznadar [DMD]
  • arch: all any
  • std-ver: 4.7.4
  • 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
  • stable-bpo: 5.9.0-2~bpo13+2
  • testing: 6.1.2-1
  • unstable: 6.1.2-1
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~bpo13+2: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 6.1.2-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
binaries
  • python-cbor2-doc
  • python3-cbor2
action needed
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-06-15 Last update: 2026-06-15 05:01
1 low-priority security issue in trixie low

There is 1 open security issue in trixie.

1 issue left for the package maintainer to handle:
  • CVE-2026-26209: (needs triaging) 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.

You can find information about how to handle this issue in the security team's documentation.

Created: 2026-03-26 Last update: 2026-06-24 00:50
1 low-priority security issue in bookworm low

There is 1 open security issue in bookworm.

1 issue left for the package maintainer to handle:
  • CVE-2026-26209: (needs triaging) 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.

You can find information about how to handle this issue in the security team's documentation.

Created: 2026-03-26 Last update: 2026-06-24 00:50
debian/patches: 4 patches to forward upstream low

Among the 4 debian patches available in version 6.1.2-1 of the package, we noticed the following issues:

  • 4 patches 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-06-15 08:30
testing migrations
  • This package is part of the ongoing testing transition known as auto-upperlimit-python3. Please avoid uploads unrelated to this transition, they would likely delay it and require supplementary work from the release managers. On the other hand, if your package has problems preventing it to migrate to testing, please fix them as soon as possible. You can probably find supplementary information in the debian-release archives or in the corresponding release.debian.org bug.
news
[rss feed]
  • [2026-06-24] cbor2 6.1.2-1 MIGRATED to testing (Debian testing watch)
  • [2026-06-14] Accepted cbor2 6.1.2-1 (source) into unstable (Georges Khaznadar)
  • [2026-04-08] Accepted cbor2 5.9.0-2~bpo13+2 (source) into stable-backports (Georges Khaznadar)
  • [2026-04-07] Accepted cbor2 5.9.0-2~bpo13+1 (source all amd64) into stable-backports (Debian FTP Masters) (signed by: Georges Khaznadar)
  • [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)
  • 1
  • 2
bugs [bug history graph]
  • all: 0
links
  • homepage
  • lintian (0, 1)
  • buildd: logs, reproducibility, cross
  • popcon
  • browse source code
  • other distros
  • security tracker
  • debian patches
  • debci
ubuntu Ubuntu logo [Information about Ubuntu for Debian Developers]
  • version: 5.8.0-2ubuntu1

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