Ad

CVE-2025-68131

MEDIUM CVSS 4.0: 5.5 EPSS 0.02%
Updated Jan 02, 2026
Agronholm
Parameter Value
CVSS 5.5 (MEDIUM)
Affected Versions 3.0.0 — 5.8.0
Fixed In 5.8.0
Type CWE-212
Vendor Agronholm
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
None
No data modification
Availability
Low
Partial disruption

CVSS Vector v4.0

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Agronholm Cbor2
cpe:2.3:a:agronholm:cbor2:*:*:*:*:*:python:*:*
3.0.0 5.8.0