UBUNTU-CVE-2025-68131 (CVE-2025-68131)
Vulnerability from osv_ubuntu – Published: 2025-12-31 02:15 – Updated: 2026-05-20 15:22 – Source websitecbor2 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": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-cbor2",
"binary_version": "5.4.2-1build1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "cbor2",
"purl": "pkg:deb/ubuntu/cbor2@5.4.2-1build1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.2.0-4",
"5.2.0-4build1",
"5.4.2-1",
"5.4.2-1build1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-cbor2",
"binary_version": "5.6.2-1build1"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "cbor2",
"purl": "pkg:deb/ubuntu/cbor2@5.6.2-1build1?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.4.6-2",
"5.4.6-2build1",
"5.5.1-1",
"5.6.0-1",
"5.6.1-1",
"5.6.2-1",
"5.6.2-1build1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-cbor2",
"binary_version": "5.6.5-1build1"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "cbor2",
"purl": "pkg:deb/ubuntu/cbor2@5.6.5-1build1?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.6.5-1build1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-cbor2",
"binary_version": "5.8.0-2ubuntu1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "cbor2",
"purl": "pkg:deb/ubuntu/cbor2@5.8.0-2ubuntu1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.6.5-1build1",
"5.7.0-1",
"5.7.1-1",
"5.8.0-1",
"5.8.0-2ubuntu1"
]
}
],
"aliases": [],
"details": "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.",
"id": "UBUNTU-CVE-2025-68131",
"modified": "2026-05-20T15:22:59Z",
"published": "2025-12-31T02:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2025-68131"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2025-68131"
},
{
"type": "REPORT",
"url": "https://github.com/agronholm/cbor2/security/advisories/GHSA-wcj4-jw5j-44wh"
},
{
"type": "REPORT",
"url": "https://github.com/agronholm/cbor2/pull/268"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "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",
"type": "CVSS_V4"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2025-68131"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.