Skip to content
OpenAdvisories
High openSUSE-SU-2025:20133-1 2 CVEs

Security update for python-cbor2

Published Dec 2, 2025 · Updated Mar 23, 2026

Summary

This update for python-cbor2 fixes the following issues:

- CVE-2025-64076: Fixed bug in decode_definite_long_string() that causes incorrect chunk length calculation (bsc#1253746).

Already fixed in release 5.6.3:

- CVE-2024-26134: Fixed potential crash when hashing a CBORTag (bsc#1220096).

Fixed packages 1

ReleasePackageFixed in
openSUSE · Leap 16.0 python-cbor2 5.6.5-160000.3.1

Vulnerabilities 2

  • High 7.5

    CBOR2 decoder has potential buffer overflow

    cbor2 provides encoding and decoding for the Concise Binary Object Representation (CBOR) (RFC 8949) serialization format. Starting in version 5.5.1 and prior to version 5.6.2, an attacker can crash a service using cbor2 to parse a CBOR binary by sending a lon…

  • High 7.5

    cbor2 C extension decoder flaws can cause denial of service

    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 …

References

  • report
    https://bugzilla.suse.com/1220096
  • report
    https://bugzilla.suse.com/1253746
  • web
    https://www.suse.com/security/cve/CVE-2024-26134
  • web
    https://www.suse.com/security/cve/CVE-2025-64076