Security mailing lists by PureSourceCode

CVE-2025-68131

MEDIUM 5.5CVSS 4.0

CBORDecoder reuse can leak shareable values across decode calls

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.

Published
31 Dec 2025
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-212
Also known as
GHSA-wcj4-jw5j-44whPYSEC-2025-90
Sources
NVDJSONOSV GHSA-wcj4-jw5j-44whJSONOSV PYSEC-2025-90JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 4.0 MEDIUM 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/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
OSV GitHub CVSS 4.0 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
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV PyPA CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD agronholm cbor2
cpe:2.3:a:agronholm:cbor2:*:*:*:*:*:python:*:*
>= 3.0.0, < 5.8.0 5.8.0
OSV PyPI cbor2 >= 3.0.0, < 5.8.0 5.8.0

References

History

  • 25 Nov 2026 20:59 UTC · NVD: first stored (published 31 Dec 2025)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 31 Dec 2025)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 31 Dec 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.