VDB

CVE-2025-68131

CVE-2025-68131 PUBLISHED CVSS 5.5 MEDIUM

CBORDecoder reuse can leak shareable values across decode calls

Reported by github_m · Published December 31, 2025

cbor2 is fixed in 5.8.0 (PyPI)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
cbor2PyPI5.8.0

Risk scores

CVSS 4.0
5.5
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

Affected products

VendorProductVersions
agronholmcbor2>= 3.0.0, < 5.8.0
agronholmcbor23.0.0
PyPIcbor23.0.0
chainguardpy3-vllm-cuda-12.40
chainguardtritonserver-backend-vllm-cuda-12.90
chainguardauthentik-fips0
chainguardlocalstack0
chainguardauthentik0

Timeline

  • Dec 30, 2025 PoC Published (7 in total, the first dated here)
  • Dec 31, 2025 CVE Published
  • Dec 31, 2025 EPSS Score (30 in total, the first dated here)
  • Jan 2, 2026 CVE Updated
  • Mar 9, 2026 Security Advisory
  • Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-68131
vulnetix vdb fixes CVE-2025-68131

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-68131/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›