Improper Cross-boundary Removal of Sensitive Data Affecting cbor2 package, versions <5.8.0-1


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.44% (37th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-CBOR2-14806279
  • published1 Jan 2026
  • disclosed31 Dec 2025

Introduced: 31 Dec 2025

CVE-2025-68131  (opens in a new tab)
CWE-212  (opens in a new tab)

How to fix?

Upgrade Debian:unstable cbor2 to version 5.8.0-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream cbor2 package and not the cbor2 package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1