ADVISORIES

Vulnerability

CVE-2025-68131

cbor2 provides encoding and decoding for the Concise Binary Object Representation (CBOR) serialization format. Starting in version 3.0.0 and prior to version 5.8.0, whhen a CBORDecoder instance is reused across multiple decode operations, values marked with the shareable tag (28) persist in memory and can be accessed by subsequent CBOR messages using the sharedref tag (29). This allows an attacker-controlled message to read data from previously decoded messages if the decoder is reused across trust boundaries. Version 5.8.0 patches the issue.

24 advisories report this vulnerability, across 7 ecosystems.

Advisories

  • AZL-73325

    CVE-2025-68131 affecting package python-cbor2 5.6.5-2

    CVE-2025-68131 Azure Linux Updated 23 November 2026
  • CGA-38gc-wfj8-6rj5
    CVE-2025-68131 Chainguard Updated 5 November 2026
  • CGA-4qq8-xqv8-r8hm
    CVE-2025-68131 Chainguard Updated 27 October 2026
  • CGA-4xq8-x7j9-8hrv
    CVE-2025-68131 Chainguard Updated 5 November 2026
  • CGA-6463-7fgh-cwxq
    CVE-2025-68131 Chainguard Updated 5 November 2026
  • CGA-852r-736v-6v26
    CVE-2025-68131 Chainguard Updated 5 November 2026
  • CGA-92vx-476h-852h
    CVE-2025-68131 Chainguard Updated 5 November 2026
  • CGA-f666-p8qj-rq7w
    CVE-2025-68131 Chainguard Updated 27 October 2026
  • CGA-g638-r9vm-g23x
    CVE-2025-68131 Chainguard Updated 5 November 2026
  • CGA-jg5w-fpxh-mjx8
    CVE-2025-68131 Chainguard Updated 27 October 2026
  • CGA-m7pr-gfx8-phrh
    CVE-2025-68131 Chainguard Updated 5 November 2026
  • CGA-pqw5-38gv-qgp6
    CVE-2025-68131 Chainguard Updated 27 October 2026
  • CGA-r5hf-f6j5-24fg
    CVE-2025-68131 Chainguard Updated 5 November 2026
  • CGA-r5j2-r9f4-r482
    CVE-2025-68131 Chainguard Updated 27 October 2026
  • CGA-vhxq-25pr-xg3v
    CVE-2025-68131 Chainguard Updated 5 November 2026
  • CGA-wx3p-v973-x238
    CVE-2025-68131 Chainguard Updated 27 October 2026
  • DEBIAN-CVE-2025-68131

    cbor2 provides encoding and decoding for the Concise Binary Object Representation (CBOR) serialization format. Starting in version 3.0.0 and prior to version 5.8.0, whhen a CBORDecoder instance is reused across multiple…

    CVE-2025-68131 Debian Updated 1 September 2026
  • GHSA-wcj4-jw5j-44wh

    CBORDecoder reuse can leak shareable values across decode calls

    Moderate CVE-2025-68131 PyPI Updated 10 September 2026
  • PYSEC-2025-90

    cbor2 provides encoding and decoding for the Concise Binary Object Representation (CBOR) serialization format. Starting in version 3.0.0 and prior to version 5.8.0, whhen a CBORDecoder instance is reused across multiple…

    CVE-2025-68131 PyPI Updated 20 May 2026
  • SUSE-SU-2026:21139-1

    Security update for python-cbor2

    CVE-2025-68131CVE-2026-26209 SUSE Updated 22 April 2026
  • SUSEVEX-CVE-2025-68131

    cbor2 provides encoding and decoding for the Concise Binary Object Representation (CBOR) serialization format. Starting in version 3.0.0 and prior to version 5.8.0, whhen a CBORDecoder instance is reused across multiple…

    Moderate CVE-2025-68131 SUSEopenSUSE Updated 28 October 2026
  • UBUNTU-CVE-2025-68131

    cbor2 provides encoding and decoding for the Concise Binary Object Representation (CBOR) serialization format. Starting in version 3.0.0 and prior to version 5.8.0, whhen a CBORDecoder instance is reused across multiple…

    CVE-2025-68131 Ubuntu Updated 17 October 2026
  • openSUSE-SU-2026:10014-1

    python311-cbor2-5.8.0-2.1 on GA media

    CVE-2025-68131 openSUSE Updated 23 March 2026
  • openSUSE-SU-2026:20468-1

    Security update for python-cbor2

    CVE-2025-68131CVE-2026-26209 openSUSE Updated 10 April 2026

References