Back to CVE records
Medium 5.5Published Dec 30, 2025

CVE-2025-68131CBORDecoder reuse can leak shareable values across decode calls

Updated under an hour ago ()

Does this affect you?

It affects agronholm cbor2. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
5.5 MEDIUM (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
Weakness (CWE)
CWE-212
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
GitHub_M
NVD analysis
Analyzed
Record last updated
Jan 2, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
agronholm cbor2
agronholm:cbor2 (from the name)
from 3.0.0, < 5.8.0
CNA record
agronholm cbor2
agronholm:cbor2
from 3.0.0 before 5.8.0
NVD

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.