Debian Package Tracker
Register | Log in
Subscribe

cbor2

Choose email to subscribe with

general
  • source: cbor2 (main)
  • version: 5.7.1-1
  • 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.7.1-1
  • unstable: 5.7.1-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.7.1-1: [.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-2025-64076: Multiple vulnerabilities exist in cbor2 through version 5.7.0 in the decode_definite_long_string() function of the C extension decoder (source/decoder.c): (1) Integer Underflow Leading to Out-of-Bounds Read (CWE-191, CWE-125): An incorrect variable reference and missing state reset in the chunk processing loop causes buffer_length to not be reset to zero after UTF-8 character consumption. This results in subsequent chunk_length calculations producing negative values (e.g., chunk_length = 65536 - buffer_length), which are passed as signed integers to the read() method, potentially triggering unlimited read operations and resource exhaustion. (2) Memory Leak via Missing Reference Count Release (CWE-401): The main processing loop fails to release Python object references (Py_DECREF) for chunk objects allocated in each iteration. For CBOR strings longer than 65536 bytes, this causes cumulative memory leaks proportional to the payload size, enabling memory exhaustion attacks through repeated processing of large CBOR payloads. Both vulnerabilities can be exploited remotely without authentication by sending specially-crafted CBOR data containing definite-length text strings with multi-byte UTF-8 characters positioned at 65536-byte chunk boundaries. Successful exploitation results in denial of service through process crashes (CBORDecodeEOF exceptions) or memory exhaustion. The vulnerabilities affect all applications using cbor2's C extension to process untrusted CBOR data, including web APIs, IoT data collectors, and message queue processors. Fixed in commit 851473490281f82d82560b2368284ef33cf6e8f9 pushed with released version 5.7.1.
Created: 2025-11-18 Last update: 2025-12-02 12:01
lintian reports 2 warnings normal
Lintian reports 2 warnings about this package. You should make the package lintian clean getting rid of them.
Created: 2025-11-02 Last update: 2025-11-02 06:47
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.2 instead of 4.6.2).
Created: 2024-04-07 Last update: 2025-11-01 21:45
news
[rss feed]
  • [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)
  • [2022-12-07] Accepted cbor2 5.4.5-1 (source) into unstable (Bastian Germann) (signed by: bage@debian.org)
  • [2022-12-03] cbor2 5.4.3-3 MIGRATED to testing (Debian testing watch)
  • [2022-11-27] Accepted cbor2 5.4.3-3 (source) into unstable (Jelmer Vernooij) (signed by: Jelmer Vernooij)
  • [2022-10-20] cbor2 5.4.3-2 MIGRATED to testing (Debian testing watch)
  • [2022-10-20] cbor2 5.4.3-2 MIGRATED to testing (Debian testing watch)
  • [2022-10-15] Accepted cbor2 5.4.3-2 (source) into unstable (Bastian Germann) (signed by: bage@debian.org)
  • [2022-09-27] cbor2 5.4.3-1 MIGRATED to testing (Debian testing watch)
  • 1
  • 2
bugs [bug history graph]
  • all: 0
links
  • homepage
  • lintian (0, 2)
  • buildd: logs, reproducibility, cross
  • popcon
  • browse source code
  • edit tags
  • other distros
  • security tracker
  • debci
ubuntu Ubuntu logo [Information about Ubuntu for Debian Developers]
  • version: 5.7.1-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