CVE-2025-68131
December 31, 2025
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.
Affected Packages
cbor2 (CONDA):
Affected version(s) >=5.1.0 <5.8.0Fix Suggestion:
Update to version 5.8.0https://github.com/agronholm/cbor2.git (GITHUB):
Affected version(s) >=1.0.0 <5.8.0Fix Suggestion:
Update to version 5.8.0cbor2 (PYTHON):
Affected version(s) >=3.0.0 <5.8.0Fix Suggestion:
Update to version 5.8.0cbor2 (PYTHON):
Affected version(s) >=1.0.0 <5.8.0Fix Suggestion:
Update to version 5.8.0Related ResourcesĀ (5)
Do you need more information?
Contact UsCVSS v4
Base Score:
5.5
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
NONE
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
Exploit Maturity
POC
CVSS v3
Base Score:
6.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
LOW
Weakness Type (CWE)
Improper Removal of Sensitive Information Before Storage or Transfer
EPSS
Base Score:
0.02