Vulnerability
CVE-2025-68131
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.
24 advisories report this vulnerability, across 7 ecosystems.
Advisories
-
AZL-73325
CVE-2025-68131 affecting package python-cbor2 5.6.5-2
- CGA-38gc-wfj8-6rj5
- CGA-4qq8-xqv8-r8hm
- CGA-4xq8-x7j9-8hrv
- CGA-6463-7fgh-cwxq
- CGA-852r-736v-6v26
- CGA-92vx-476h-852h
- CGA-f666-p8qj-rq7w
- CGA-g638-r9vm-g23x
- CGA-jg5w-fpxh-mjx8
- CGA-m7pr-gfx8-phrh
- CGA-pqw5-38gv-qgp6
- CGA-r5hf-f6j5-24fg
- CGA-r5j2-r9f4-r482
- CGA-vhxq-25pr-xg3v
- CGA-wx3p-v973-x238
-
DEBIAN-CVE-2025-68131
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…
-
GHSA-wcj4-jw5j-44wh
CBORDecoder reuse can leak shareable values across decode calls
-
PYSEC-2025-90
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…
-
SUSE-SU-2026:21139-1
Security update for python-cbor2
-
SUSEVEX-CVE-2025-68131
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…
-
UBUNTU-CVE-2025-68131
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…
-
openSUSE-SU-2026:10014-1
python311-cbor2-5.8.0-2.1 on GA media
-
openSUSE-SU-2026:20468-1
Security update for python-cbor2