← Back to CVEs
CVE-2025-68131
HIGH7.5
Description
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.
CVE Details
CVSS v3.1 Score7.5
SeverityHIGH
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published12/31/2025
Last Modified1/2/2026
Sourcenvd
Honeypot Sightings0
Affected Products
agronholm:cbor2
Weaknesses (CWE)
CWE-212
References
https://github.com/agronholm/cbor2/pull/268(security-advisories@github.com)
https://github.com/agronholm/cbor2/security/advisories/GHSA-wcj4-jw5j-44wh(security-advisories@github.com)
https://github.com/agronholm/cbor2/security/advisories/GHSA-wcj4-jw5j-44wh(134c704f-9b21-4f2e-91b3-4a467353bcc0)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.