Vulnerability

CVE-2025-68131

mediumCVSS 4.0 5.5Published 31 Dec 2025

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Agronholm cbor2

Weakness type

References

  • github.com /agronholm/cbor2/pull/268
  • github.com /agronholm/cbor2/security/advisories/GHSA-wcj4-jw5j-44wh

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning