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
  • stable-bpo: 5.9.0-2~bpo13+2
  • 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~bpo13+2: [.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
A new upstream version is available: 6.1.2 high
A new upstream version 6.1.2 is available, you should consider packaging it.
Created: 2026-05-01 Last update: 2026-06-09 14:01
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-28 19:02
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-28 19:02
version in VCS is newer than in repository, is it time to upload? normal
vcswatch reports that this package seems to have a new changelog entry (version 6.1.2-1, distribution UNRELEASED) and new commits in its VCS. You should consider whether it's time to make an upload.

Here are the relevant commit messages:
commit 110e0fdaa49e04c363df97858a32623f180c1b16
Author: Georges Khaznadar <georgesk@debian.org>
Date:   Sat Jun 6 14:38:58 2026 +0200

    erase python/cbor2.egg-info/SOURCES.txt upon cleanup

commit 54d9c6e72ec65438c61e2b029e42e83c63b3a3fe
Author: Georges Khaznadar <georgesk@debian.org>
Date:   Sat Jun 6 14:37:42 2026 +0200

    unrelease

commit 9196970852334e5b8d1113cf92543162d29f1f2c
Author: Georges Khaznadar <georgesk@debian.org>
Date:   Sat Jun 6 14:37:11 2026 +0200

    bumped Standars-Version

commit 7985ff6fbe7a5ac4fc187627c1558af15b560d6d
Author: Georges Khaznadar <georgesk@debian.org>
Date:   Sat Jun 6 14:12:18 2026 +0200

    new build dependencies

commit 549392aba9de5d8bd011728e6852b492770c9777
Author: Georges Khaznadar <georgesk@debian.org>
Date:   Sat Jun 6 13:26:52 2026 +0200

    new build dependency

commit 341dce9f32dedd6e37ee6d96977196bb194d2fd3
Author: Georges Khaznadar <georgesk@debian.org>
Date:   Sat Jun 6 13:03:09 2026 +0200

    define the variable SETUPTOOLS_SCM_PRETEND_VERSION

commit 9ba6bd5ec8b8d51adf4a8184221952c37e86a6c4
Author: Georges Khaznadar <georgesk@debian.org>
Date:   Sat Jun 6 12:47:49 2026 +0200

    retreive the version number from changelog file

commit 37e1d7e859fc9d8747344c4da756b981327e0105
Author: Georges Khaznadar <georgesk@debian.org>
Date:   Fri Jun 5 19:29:19 2026 +0200

    upload to unstable

commit 1593f7863325329f9d770aa65135971c62a689d7
Merge: fe9baee 22930d1
Author: Georges Khaznadar <georgesk@debian.org>
Date:   Fri Jun 5 19:28:28 2026 +0200

    Update upstream source from tag 'upstream/6.1.2'
    
    Update to upstream version '6.1.2'
    with Debian dir b7332132d7e7024ea2e7f1bb89411ee3913e553b

commit 22930d152803053c6b2e9ceb3057c8e621b38758
Author: Georges Khaznadar <georgesk@debian.org>
Date:   Fri Jun 5 19:28:27 2026 +0200

    New upstream version 6.1.2

commit fe9baee9846ddbe29f6c936de445fd22dec25f72
Author: Georges Khaznadar <georgesk@debian.org>
Date:   Fri May 15 16:32:05 2026 +0200

    refreshed the patch

commit 05bdebe0c1dea0d707c6bbc6ccd434194d50c04e
Author: Georges Khaznadar <georgesk@debian.org>
Date:   Fri May 15 16:31:09 2026 +0200

    refreshed the debian patch

commit 16bf9bdc038ea30ff3292d03696ce1eaa47529ca
Author: Georges Khaznadar <georgesk@debian.org>
Date:   Fri May 15 16:29:04 2026 +0200

    upload to unstable

commit 0aa2e676c6c2401b586298fe8170fc14de6d6e6f
Merge: abba8be 0b1d3c2
Author: Georges Khaznadar <georgesk@debian.org>
Date:   Fri May 15 16:28:34 2026 +0200

    Update upstream source from tag 'upstream/6.1.1'
    
    Update to upstream version '6.1.1'
    with Debian dir da2f746be43e2f9e447835b0cacd2a8014ae631d

commit 0b1d3c213c4bbba65792e3969ed1a859818bcaec
Author: Georges Khaznadar <georgesk@debian.org>
Date:   Fri May 15 16:28:33 2026 +0200

    New upstream version 6.1.1
Created: 2026-06-06 Last update: 2026-06-06 14:03
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-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)
  • [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)
  • 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