CVE-2025-68131Agronholm Cbor2
Medium 5.5 No auth needed
Follow: this CVE · Agronholm · Agronholm Cbor2 We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Cbor2.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| agronholm | cbor2 | ≥ 3.0.0 < 5.8.0 |
Official advisories
- Security update for python-cbor2 · SUSE · openSUSE-SU-2026:20468-1 · Apr 7, 2026 High
- Security update for python-cbor2 · SUSE · SUSE-SU-2026:21139-1 · Apr 7, 2026 High
- python311-cbor2-5.8.0-2.1 on GA media · SUSE · openSUSE-SU-2026:10014-1 · Jan 7, 2026 Medium
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Patch
- github.com Exploit Vendor Advisory