CVE-2025-68131: cbor2 - Information Disclosure
- Cve: CVE-2025-68131
- Name: cbor2 - Information Disclosure
- 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.
- Impact: Attackers can read sensitive data from previously decoded messages when decoder is reused across trust boundaries.
- Remediation: Upgrade to version 5.8.0 or later.
- Vulnerability impact: information_disclosure
- Requirements: Decoder must be reused across trust boundaries
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.00459
- Epss percentile: 0.40319
- Assignee: [email protected]
- Published at: 2025-12-31T02:15:42Z
- Age in days: 328
- Modified at: 2026-06-17T09:58:34Z
- Patch available: yes
- Public exploits total: 2
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-68131
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: vulnerability type, requirement type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-212 | Improper Removal of Sensitive Information Before Storage or Transfer |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/agronholm/cbor2/pull/268 | nvd | 2025-12-31 |
| https://github.com/agronholm/cbor2/security/advisories/GHSA-wcj4-jw5j-44wh | nvd | 2025-12-31 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/agronholm/cbor2/pull/268 | nvd | Exploit, Patch |
| https://github.com/agronholm/cbor2/security/advisories/GHSA-wcj4-jw5j-44wh | nvd | Exploit, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| agronholm:cbor2 | >= 3.0.0, < 5.8.0 | no | nvd | /v1/products/agronholm/cbor2 |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| agronholm/cbor2 | commit, package, pull, security_advisory | yes | /v1/repositories/agronholm/cbor2 |
Index
- Repositories: 57
- Repositories high signal: 33
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2025-12-31
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts