{"cve":"CVE-2025-68131","nvd":{"published":"2025-12-31T02:15:42.527","modified":"2026-06-17T09:58:34.287","status":"Analyzed","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.","cvss_v4":{"vector":"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","score":5.5},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-212"],"references":["https://github.com/agronholm/cbor2/pull/268","https://github.com/agronholm/cbor2/security/advisories/GHSA-wcj4-jw5j-44wh","https://github.com/agronholm/cbor2/security/advisories/GHSA-wcj4-jw5j-44wh"],"products":["agronholm:cbor2"],"source":"nvd","synced_at":"2026-10-19T22:18:08.089039631+00:00"},"epss":{"cve":"CVE-2025-68131","score":0.00459,"percentile":0.39832,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-wcj4-jw5j-44wh","url":"https://osv.dev/vulnerability/GHSA-wcj4-jw5j-44wh","summary":"CBORDecoder reuse can leak shareable values across decode calls","modified":"2026-09-10T03:49:54.340848867Z","packages":[{"ecosystem":"PyPI","name":"cbor2","purl":"pkg:pypi/cbor2","ranges":[">=3.0.0 <5.8.0"],"fixed":["5.8.0"]}]},{"id":"PYSEC-2025-90","url":"https://osv.dev/vulnerability/PYSEC-2025-90","summary":"","modified":"2026-05-20T09:18:54.182045Z","packages":[{"ecosystem":"PyPI","name":"cbor2","purl":"pkg:pypi/cbor2","ranges":[">=3.0.0 <5.8.0"],"fixed":["5.8.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}