Skip to main content
← PyPI

cbor2

4 known vulnerabilities (3 high, 1 medium), with the versions each affects and the releases that fix them.

Latest release
6.2.1 (Nov 7, 2026): no advisory affects it
Newest unaffected release
6.2.1 (Nov 7, 2026), the latest release
Advisories
4 · 3 high, 1 medium
Weekly downloads
17.3M
Releases
54 since 1.0.0 (Jun 8, 2016)
Registry
PyPI
Releases read
Nov 8, 2026

Version timeline

Every release cve.now has on record, lowest version on the left; each bar is a run of versions an advisory affects.

Advisories 4

  • cbor2 has a Denial of Service via Uncontrolled Recursion in cbor2.loads

    Affected: fixed in 5.9.0.

    Fixed in 5.9.0 (released Mar 22, 2026, 1 day before disclosure).

    The latest release, 6.2.1, is not affected.

  • CVE-2025-68131Medium 5.5

    CBORDecoder reuse can leak shareable values across decode calls

    Affected: from 3.0.0, fixed in 5.8.0.

    Fixed in 5.8.0 (released Dec 30, 2025, 1 day before disclosure).

    The latest release, 6.2.1, is not affected.

  • Multiple vulnerabilities exist in cbor2 through version 5.7.0 in the decode_definite_long_string() function of the C extension decoder…

    Affected: fixed in 5.7.1.

    Fixed in 5.7.1 (released Oct 24, 2025, 25 days before disclosure).

    The latest release, 6.2.1, is not affected.

  • CBOR2 decoder has potential buffer overflow

    Affected: from 5.5.1, fixed in 5.6.2; from 5.5.1, fixed in 5.6.2.

    Fixed in 5.6.2 (released Feb 19, 2024, the day of disclosure).

    The latest release, 6.2.1, is not affected.