Skip to content

CVE-2025-68131 CBORDecoder reuse can leak shareable values across decode calls

MediumCVSS 5.5 EPSS 0.46%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial
Technology
UbuntuDebianRed Hat

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.

Upgrade path

17 packages: 3 fixed, 14 with no fix yet.

PackageAffectedFixed inStatus
debian/cbor2(Debian 12) = 5.4.6-1; = 5.4.6-2; = 5.5.1-1; = 5.6.0-1 +17 more No fix listed No fix yet
debian/cbor2(Debian 13) = 5.6.5-1; = 5.7.0-1; = 5.7.1-1; = 5.8.0-1 +9 more No fix listed No fix yet
redhat/rhaiis/model-opt-cuda-rhel9:1774547384(Red Hat ai_inference_server 3.2 el9) All versions No fix listed No fix yet
redhat/rhaiis/vllm-cuda-rhel9:1774351144(Red Hat ai_inference_server 3.2 el9) All versions No fix listed No fix yet
redhat/rhaiis/vllm-rocm-rhel9:1775252598(Red Hat ai_inference_server 3.2 el9) All versions No fix listed No fix yet
redhat/rhaiis/vllm-spyre-rhel9(Red Hat ai_inference_server 3) All versions No fix listed No fix yet
redhat/rhaiis/vllm-tpu-rhel9(Red Hat ai_inference_server 3) All versions No fix listed No fix yet
redhat/rhoai/odh-vllm-cpu-rhel9:1776259063(Red Hat openshift_ai 2.25 el9) All versions No fix listed No fix yet
redhat/rhoai/odh-vllm-cuda-rhel9(Red Hat openshift_ai) All versions No fix listed No fix yet
redhat/rhoai/odh-vllm-rocm-rhel9(Red Hat openshift_ai) All versions No fix listed No fix yet
ubuntu/cbor2(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/cbor2(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/cbor2(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/cbor2(Ubuntu 26.10) All versions No fix listed No fix yet
agronholm cbor2 = >= 3.0.0, < 5.8.0; >= 3.0.0, < 5.8.0 5.8.0 Fixed
debian/cbor2(Debian 14) < 5.8.0-1; = 5.6.5-1; = 5.7.0-1; = 5.7.1-1 5.8.0-1 Fixed
pypi cbor2(PyPI) = 3.0.0; = 3.0.1; = 3.0.2; = 3.0.3 +33 more 5.8.0 Fixed

Affected products

ProductAffected versionsFixed in
pypi cbor2(PyPI) >= 3.0.0, < 5.8.0 5.8.0
pypi cbor2(PyPI) = 3.0.0 No fix listed
pypi cbor2(PyPI) = 3.0.1 No fix listed
pypi cbor2(PyPI) = 3.0.2 No fix listed
pypi cbor2(PyPI) = 3.0.3 No fix listed
pypi cbor2(PyPI) = 3.0.4 No fix listed
pypi cbor2(PyPI) = 4.0.0 No fix listed
pypi cbor2(PyPI) = 4.0.1 No fix listed
pypi cbor2(PyPI) = 4.1.0 No fix listed
pypi cbor2(PyPI) = 4.1.1 No fix listed
pypi cbor2(PyPI) = 4.1.2 No fix listed
pypi cbor2(PyPI) = 5.0.0 No fix listed
pypi cbor2(PyPI) = 5.0.1 No fix listed
pypi cbor2(PyPI) = 5.1.0 No fix listed
pypi cbor2(PyPI) = 5.1.1 No fix listed
pypi cbor2(PyPI) = 5.1.2 No fix listed
pypi cbor2(PyPI) = 5.2.0 No fix listed
pypi cbor2(PyPI) = 5.2.0.post1 No fix listed
pypi cbor2(PyPI) = 5.3.0 No fix listed
pypi cbor2(PyPI) = 5.4.0 No fix listed
pypi cbor2(PyPI) = 5.4.1 No fix listed
pypi cbor2(PyPI) = 5.4.2 No fix listed
pypi cbor2(PyPI) = 5.4.2.post1 No fix listed
pypi cbor2(PyPI) = 5.4.3 No fix listed
pypi cbor2(PyPI) = 5.4.4 No fix listed
Show 68 more
ProductAffected versionsFixed in
pypi cbor2(PyPI) = 5.4.5 No fix listed
pypi cbor2(PyPI) = 5.4.6 No fix listed
pypi cbor2(PyPI) = 5.5.0 No fix listed
pypi cbor2(PyPI) = 5.5.1 No fix listed
pypi cbor2(PyPI) = 5.6.0 No fix listed
pypi cbor2(PyPI) = 5.6.1 No fix listed
pypi cbor2(PyPI) = 5.6.2 No fix listed
pypi cbor2(PyPI) = 5.6.3 No fix listed
pypi cbor2(PyPI) = 5.6.4 No fix listed
pypi cbor2(PyPI) = 5.6.5 No fix listed
pypi cbor2(PyPI) = 5.7.0 No fix listed
pypi cbor2(PyPI) = 5.7.1 No fix listed
debian/cbor2(Debian:12) All versions No fix listed
debian/cbor2(Debian:12) = 5.4.6-1 No fix listed
debian/cbor2(Debian:12) = 5.4.6-2 No fix listed
debian/cbor2(Debian:12) = 5.5.1-1 No fix listed
debian/cbor2(Debian:12) = 5.6.0-1 No fix listed
debian/cbor2(Debian:12) = 5.6.1-1 No fix listed
debian/cbor2(Debian:12) = 5.6.2-1 No fix listed
debian/cbor2(Debian:12) = 5.6.3-1 No fix listed
debian/cbor2(Debian:12) = 5.6.4-1 No fix listed
debian/cbor2(Debian:12) = 5.6.5-1 No fix listed
debian/cbor2(Debian:12) = 5.7.0-1 No fix listed
debian/cbor2(Debian:12) = 5.7.1-1 No fix listed
debian/cbor2(Debian:12) = 5.8.0-1 No fix listed
debian/cbor2(Debian:12) = 5.8.0-2 No fix listed
debian/cbor2(Debian:12) = 5.8.0-3 No fix listed
debian/cbor2(Debian:12) = 5.9.0-1 No fix listed
debian/cbor2(Debian:12) = 5.9.0-2 No fix listed
debian/cbor2(Debian:12) = 5.9.0-2~bpo13+1 No fix listed
debian/cbor2(Debian:12) = 5.9.0-2~bpo13+2 No fix listed
debian/cbor2(Debian:12) = 6.1.2-1 No fix listed
debian/cbor2(Debian:12) = 6.1.2-2 No fix listed
debian/cbor2(Debian:13) All versions No fix listed
debian/cbor2(Debian:13) = 5.6.5-1 No fix listed
debian/cbor2(Debian:13) = 5.7.0-1 No fix listed
debian/cbor2(Debian:13) = 5.7.1-1 No fix listed
debian/cbor2(Debian:13) = 5.8.0-1 No fix listed
debian/cbor2(Debian:13) = 5.8.0-2 No fix listed
debian/cbor2(Debian:13) = 5.8.0-3 No fix listed
debian/cbor2(Debian:13) = 5.9.0-1 No fix listed
debian/cbor2(Debian:13) = 5.9.0-2 No fix listed
debian/cbor2(Debian:13) = 5.9.0-2~bpo13+1 No fix listed
debian/cbor2(Debian:13) = 5.9.0-2~bpo13+2 No fix listed
debian/cbor2(Debian:13) = 6.1.2-1 No fix listed
debian/cbor2(Debian:13) = 6.1.2-2 No fix listed
debian/cbor2(Debian:14) < 5.8.0-1 5.8.0-1
debian/cbor2(Debian:14) = 5.6.5-1 No fix listed
debian/cbor2(Debian:14) = 5.7.0-1 No fix listed
debian/cbor2(Debian:14) = 5.7.1-1 No fix listed
agronholm cbor2 = >= 3.0.0, < 5.8.0 No fix listed
ubuntu/cbor2(Ubuntu:22.04) All versions No fix listed
redhat/rhaiis/vllm-cuda-rhel9:1774351144(Red Hat:ai_inference_server:3.2::el9) All versions No fix listed
redhat/rhaiis/model-opt-cuda-rhel9:1774547384(Red Hat:ai_inference_server:3.2::el9) All versions No fix listed
redhat/rhaiis/vllm-rocm-rhel9:1775252598(Red Hat:ai_inference_server:3.2::el9) All versions No fix listed
redhat/rhoai/odh-vllm-cpu-rhel9:1776259063(Red Hat:openshift_ai:2.25::el9) All versions No fix listed
redhat/rhaiis/vllm-spyre-rhel9(Red Hat:ai_inference_server:3) All versions No fix listed
redhat/rhaiis/vllm-tpu-rhel9(Red Hat:ai_inference_server:3) All versions No fix listed
redhat/rhelai3/bootc-aws-cuda-rhel9(Red Hat:enterprise_linux_ai:3) All versions No fix listed
redhat/rhelai3/bootc-azure-cuda-rhel9(Red Hat:enterprise_linux_ai:3) All versions No fix listed
redhat/rhelai3/bootc-cuda-rhel9(Red Hat:enterprise_linux_ai:3) All versions No fix listed
redhat/rhelai3/bootc-gcp-cuda-rhel9(Red Hat:enterprise_linux_ai:3) All versions No fix listed
redhat/rhoai/odh-vllm-cuda-rhel9(Red Hat:openshift_ai) All versions No fix listed
redhat/rhoai/odh-vllm-rocm-rhel9(Red Hat:openshift_ai) All versions No fix listed
ubuntu/cbor2(Ubuntu:24.04) All versions No fix listed
ubuntu/cbor2(Ubuntu:26.04) All versions No fix listed
ubuntu/cbor2(Ubuntu:26.10) All versions No fix listed
agronholm cbor2 >= 3.0.0, < 5.8.0 5.8.0

References