CVE catalog

CVE-2025-68131

cbor2: CVE-2025-68131

[CVE catalog]

Severity
Medium · CVSS 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.46% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiancbor2sid6.1.2-2fixed
Debiancbor2forky6.1.2-2fixed
Debiancbor2trixie5.6.5-1vulnerable
Debiancbor2bookworm5.4.6-1vulnerable
PyPIcbor2Not reported5.8.0fixed
Susepython-cbor2linux enterprise server 16.05.6.5-160000.4.1fixed
Susepython-cbor2linux enterprise server for sap applications 16.05.6.5-160000.4.1fixed
Opensusepython-cbor2leap 16.05.6.5-160000.4.1fixed
Opensusepython-cbor2tumbleweed5.8.0-2.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiancbor2sourcesid5.8.0-1unimportantNot reportedNot reported
Debiancbor2sourceforky5.8.0-1unimportantNot reportedNot reported
Debiancbor2sourcetrixie(unfixed)unimportantNot reportedNot reported
Debiancbor2sourcebookworm(unfixed)unimportantNot reportedNot reported
PyPIcbor2PyPINot reported5.8.0Not reportedGHSA-WCJ4-JW5J-44WHNot reported
Susepython-cbor2rpmlinux enterprise server 16.05.6.5-160000.4.1Not reportedSUSE-SU-2026:21139-1Not reported
Susepython-cbor2rpmlinux enterprise server for sap applications 16.05.6.5-160000.4.1Not reportedSUSE-SU-2026:21139-1Not reported
Opensusepython-cbor2rpmleap 16.05.6.5-160000.4.1Not reportedOPENSUSE-SU-2026:20468-1Not reported
Opensusepython-cbor2rpmtumbleweed5.8.0-2.1Not reportedOPENSUSE-SU-2026:10014-1Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [python3-cbor2]Affected

    Source package: [cbor2]

    Details (2)
    • 5.4.6-1+b1 · amd64 · bookworm

      Affected

      dsa · cbor2 · debian · bookworm; dsa · cbor2 · debian · 12

    • 5.4.6-1+b1 · arm64 · bookworm

      Affected

      dsa · cbor2 · debian · bookworm; dsa · cbor2 · debian · 12

  • Source package: [cbor2]

    Details (2)
    • 5.4.6-1 · all · bookworm

      Affected

      dsa · cbor2 · debian · bookworm; dsa · cbor2 · debian · 12

    • 5.4.6-1 · all · bookworm

      Affected

      dsa · cbor2 · debian · bookworm; dsa · cbor2 · debian · 12

[Debian 13 (Trixie)]

  • [python3-cbor2]Affected

    Source package: [cbor2]

    Details (4)
    • 5.6.5-1 · amd64 · trixie

      Affected

      dsa · cbor2 · debian · 13

    • 5.6.5-1 · arm64 · trixie

      Affected

      dsa · cbor2 · debian · 13

    • 5.9.0-2~bpo13+2 · amd64 · trixie-backports

      Affected

      dsa · cbor2 · debian · 13

    • 5.9.0-2~bpo13+2 · arm64 · trixie-backports

      Affected

      dsa · cbor2 · debian · 13

  • Source package: [cbor2]

    Details (4)
    • 5.6.5-1 · all · trixie

      Affected

      dsa · cbor2 · debian · 13

    • 5.6.5-1 · all · trixie

      Affected

      dsa · cbor2 · debian · 13

    • 5.9.0-2~bpo13+2 · all · trixie-backports

      Affected

      dsa · cbor2 · debian · 13

    • 5.9.0-2~bpo13+2 · all · trixie-backports

      Affected

      dsa · cbor2 · debian · 13

[openSUSE Tumbleweed]

  • Source package: [python-cbor2]

    Details (1)
    • 5.9.0-1.5 · x86_64 · tumbleweed

      Unknown · Fixed: 5.8.0-2.1

      Version impact unknown

      dsa · python-cbor2 · opensuse · tumbleweed

  • Source package: [python-cbor2]

    Details (1)
    • 5.9.0-1.5 · x86_64 · tumbleweed

      Unknown · Fixed: 5.8.0-2.1

      Version impact unknown

      dsa · python-cbor2 · opensuse · tumbleweed

Observed:

References