CBORDecoder reuse can leak shareable values across decode calls
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- Low · None · Low
- Fix status
- Partial Red Hat: 2 fixed, 3 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| agronholm | cbor2 | 3.0.0 to before 5.8.0 | 5.8.0 | Patch available | CNA |
| — | cbor2 (PyPI) | 3.0.0 to before 5.8.0 | 5.8.0 | Patch available | GHSA-wcj4-jw5j-44wh |
- cbor2 Vendoragronholm Affected 3.0.0 to before 5.8.0 Fixed in 5.8.0 Patch available CNA
- cbor2 (PyPI) Vendor— Affected 3.0.0 to before 5.8.0 Fixed in 5.8.0 Patch available GHSA-wcj4-jw5j-44wh
Remediation
- Fix · CNA cbor2 (agronholm) Fixed in 5.8.0
- Fix · GHSA-wcj4-jw5j-44wh cbor2 (PyPI) Fixed in 5.8.0 Advisory →
Red Hat 4 advisories
- RHSA-2026:10184 Released 2026-04-23 · Red Hat rating ImportantRHOAI 2.25.5 - Red Hat OpenShift AI
- Red Hat OpenShift AI 2.25 registry.redhat.io/rhoai/odh-caikit-nlp-rhel9, registry.redhat.io/rhoai/odh-caikit-tgis-serving-rhel9, registry.redhat.io/rhoai/odh-dashboard-rhel9 +47
- RHSA-2026:6762 Released 2026-04-07 · Red Hat rating ImportantRed Hat AI Inference Server 3.2.2 (ROCm)
- Red Hat AI Inference Server 3.2 registry.redhat.io/rhaiis/vllm-rocm-rhel9
- RHSA-2026:6761 Released 2026-04-07 · Red Hat rating ImportantRed Hat AI Inference Server Model Optimization Tools 3.2.2 (CUDA)
- Red Hat AI Inference Server 3.2 registry.redhat.io/rhaiis/model-opt-cuda-rhel9
Show 1 more Red Hat advisories
- RHSA-2026:5809 Released 2026-03-25 · Red Hat rating ImportantRed Hat AI Inference Server 3.2.2 (cuda-ubi9)
- Red Hat AI Inference Server 3.2 registry.redhat.io/rhaiis/vllm-cuda-rhel9
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat AI Inference Server | Affected | No fix yet |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | Affected | No fix planned: Out of support scope |
| Red Hat OpenShift AI (RHOAI) | Affected | No fix yet: Fix deferred |
| Red Hat AI Inference Server 3.2 | Fixed | RHSA-2026:5809, RHSA-2026:6761, RHSA-2026:6762 |
| Red Hat OpenShift AI 2.25 | Fixed | RHSA-2026:10184 |
Not affected: 1 product
- Red Hat OpenShift AI 2.25
Timeline
- 2026-10-02 Threatist record created from CVE-2025-68131
- 2026-10-03 Alias added: GHSA-wcj4-jw5j-44wh
References
Exploit 2
More agronholm Cbor2 vulnerabilities
- TI-2026-21200 cbor2 has a Denial of Service via Uncontrolled Recursion in cbor2.loads CVSS 3.0HIGH 7.5
- TI-2024-17225 CBOR2 decoder has potential buffer overflow CVSS 3.1HIGH 7.5
- TI-2025-39535 Multiple vulnerabilities exist in cbor2 through version 5.7.0 in the… CVSS 3.1HIGH 7.5
Sources
- CVE-2025-68131 · CVE Program
- CVE-2025-68131 · NVD
- FIRST EPSS
- GHSA-wcj4-jw5j-44wh · GitHub Advisory Database · CC BY 4.0
- CVE-2025-68131 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences