Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:pypi/cbor2@5.5.1
purl pkg:pypi/cbor2@5.5.1
Next non-vulnerable version 5.8.0
Latest non-vulnerable version 5.8.0
Risk
Vulnerabilities affecting this package (2)
Vulnerability Summary Fixed by
VCID-t8n4-qcj9-sqg1
Aliases:
CVE-2024-26134
GHSA-375g-39jq-vq7m
PYSEC-2024-155
cbor2 provides encoding and decoding for the Concise Binary Object Representation (CBOR) (RFC 8949) serialization format. Starting in version 5.5.1 and prior to version 5.6.2, an attacker can crash a service using cbor2 to parse a CBOR binary by sending a long enough object. Version 5.6.2 contains a patch for this issue.
5.6.2
Affected by 1 other vulnerability.
VCID-wqk8-hznt-cbdt
Aliases:
CVE-2025-68131
GHSA-wcj4-jw5j-44wh
PYSEC-2025-90
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.
5.8.0
Affected by 0 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-06-02T04:47:10.551595+00:00 GitLab Importer Affected by VCID-t8n4-qcj9-sqg1 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/cbor2/CVE-2024-26134.yml 38.6.0
2026-06-02T04:23:37.766697+00:00 Pypa Importer Affected by VCID-wqk8-hznt-cbdt https://github.com/pypa/advisory-database/blob/main/vulns/cbor2/PYSEC-2025-90.yaml 38.6.0
2026-06-02T04:20:55.838741+00:00 Pypa Importer Affected by VCID-t8n4-qcj9-sqg1 https://github.com/pypa/advisory-database/blob/main/vulns/cbor2/PYSEC-2024-155.yaml 38.6.0