PyPI (Python)Worst: High4 advisories

cbor2: known vulnerabilities

cbor2 has 4 reviewed security advisories in the GitHub Advisory Database — 3 high, 1 moderate. The most recent was published 2026-03-23. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the cbor2 versions running across your servers, containers and images, and ranks what to patch first.

How to fix cbor2

Upgrade cbor2 to a release at or above the fixed version shown for each advisory below. For PyPI (Python):

pip install --upgrade cbor2 (pin cbor2>=5.9.0)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (4)

cbor2 has a Denial of Service via Uncontrolled Recursion in cbor2.loads High 7.5 CWE-674 — Affected: before 5.9.0. Fixed in 5.9.0. Published 2026-03-23. GHSA-3c37-wwvx-h642 · CVE-2026-26209
CBORDecoder reuse can leak shareable values across decode calls Moderate CWE-212 — Affected: from 3.0.0 up to 5.8.0. Fixed in 5.8.0. Published 2025-12-31. GHSA-wcj4-jw5j-44wh · CVE-2025-68131
cbor2 C extension decoder flaws can cause denial of service High 7.5 CWE-191 — Affected: before 5.7.1. Fixed in 5.7.1. Published 2025-11-18. GHSA-9q9c-vjxh-p795 · CVE-2025-64076
Potential buffer overflow in CBOR2 decoder High 7.5 CWE-120 — Affected: from 5.5.1 up to 5.6.2. Fixed in 5.6.2. Published 2024-02-19. GHSA-375g-39jq-vq7m · CVE-2024-26134

Find cbor2 across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.