Live threats

All CVEs / Agronholm

CVE-2025-68131Agronholm Cbor2

Medium 5.5 No auth needed

Priority
48
CVSS 4.0
5.5
EPSS
—
Auth required
No
Published
Dec 31, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-212
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Cbor2.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI cbor2 ≥ 3.0.0 < 5.8.0 5.8.0 pip install "cbor2>=5.8.0"
PyPI cbor2 ≥ 3.0.0 < 5.8.0 5.8.0 pip install "cbor2>=5.8.0"

Per OSV / GitHub Advisories (GHSA-wcj4-jw5j-44wh, PYSEC-2025-90). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
agronholmcbor2≥ 3.0.0 < 5.8.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.