cve.bz

CVE-2025-68131 agronholm cbor2

5.5 mediumExploit referenceEPSS 0.5%Fix available

Medium (5.5) in agronholm cbor2. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in cbor2 5.8.0.

On this page
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.

Severity

CVSS 4.0

5.5 medium
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

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 41st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-01-02. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-212 Improper Removal of Sensitive Information Before Storage or Transfer
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-68131 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-68131?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-68131?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-68131 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
agronholm:cbor2from 3.0.0 before 5.8.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-wcj4-jw5j-44whPyPIcbor2>=3.0.0 <5.8.05.8.0
PYSEC-2025-90PyPIcbor2>=3.0.0 <5.8.05.8.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13cbor2no fix listedDEBIAN-CVE-2025-68131
Debian14cbor25.8.0-1DEBIAN-CVE-2025-68131
Ubuntu22.04:LTS, 24.04:LTS, 25.10 and 2 morecbor2no fix listedUBUNTU-CVE-2025-68131
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0python-cbor25.6.5-160000.4.1SUSE-SU-2026:21139-1
openSUSELeap 16.0python-cbor25.6.5-160000.4.1openSUSE-SU-2026:20468-1
openSUSETumbleweedpython-cbor25.8.0-2.1openSUSE-SU-2026:10014-1
Azure Linux3python-cbor2no fix listedAZL-73325

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated Moderate for Red Hat products. The flaw in cbor2 allows information disclosure if a CBORDecoder instance is reused across trust boundaries. This could lead to an attacker-controlled message reading sensitive data from previously decoded messages. This affects Red Hat AI Inference Server, Red Hat Enterprise Linux AI, and Red Hat OpenShift AI when processing untrusted CBOR data with a reused decoder.

Red Hat's mitigation

To mitigate this issue, applications utilizing the `cbor2` library should avoid reusing `CBORDecoder` instances when processing data from different trust levels. If `CBORDecoder` reuse is unavoidable, ensure that sensitive data is not processed by a decoder instance that will subsequently handle untrusted input. This operational control prevents an attacker from accessing prior decoded information.

ProductPackageStateAdvisory
Red Hat AI Inference Server 3.2rhaiis/vllm-cuda-rhel9:1774351144Fixed 2026-03-25RHSA-2026:5809
Red Hat AI Inference Server 3.2rhaiis/model-opt-cuda-rhel9:1774547384Fixed 2026-04-07RHSA-2026:6761
Red Hat AI Inference Server 3.2rhaiis/vllm-rocm-rhel9:1775252598Fixed 2026-04-07RHSA-2026:6762
Red Hat OpenShift AI 2.25rhoai/odh-vllm-cpu-rhel9:1776259063Fixed 2026-04-23RHSA-2026:10184
Red Hat AI Inference Serverrhaiis/vllm-spyre-rhel9Affected
Red Hat AI Inference Serverrhaiis/vllm-tpu-rhel9Affected
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-aws-cuda-rhel9Out of support scope
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-azure-cuda-rhel9Out of support scope
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-cuda-rhel9Out of support scope
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-gcp-cuda-rhel9Out of support scope
Red Hat OpenShift AI (RHOAI)rhoai/odh-vllm-cuda-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-vllm-rocm-rhel9Fix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-68131.

Attack patterns (CAPEC)

  • CAPEC-168 Windows ::DATA Alternate Data Stream Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON