CVE-2024-26134Agronholm Cbor2
High 7.5 No auth needed
Follow: this CVE · Agronholm · Agronholm Cbor2 We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.5% probability of exploitation in 30 days · percentile 74
- Auth required
- No
- Published
- Feb 19, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-120
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Cbor2.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | cbor2 |
≥ 5.5.1 < 5.6.2 |
5.6.2 |
pip install "cbor2>=5.6.2" |
| PyPI | cbor2 |
≥ 5.5.1 < 5.6.2 |
5.6.2 |
pip install "cbor2>=5.6.2" |
Per OSV / GitHub Advisories (GHSA-375g-39jq-vq7m, PYSEC-2024-155). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| agronholm | cbor2 | ≥ 5.5.1 < 5.6.2 |
| fedoraproject | fedora | 38 |
| fedoraproject | fedora | 39 |
| fedoraproject | fedora | 40 |
Official advisories
- Security update for python-cbor2 · SUSE · SUSE-SU-2025:21168-1 · Dec 2, 2025 High
- Security update for python-cbor2 · SUSE · openSUSE-SU-2025:20133-1 · Dec 2, 2025 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Product
- github.com Patch
- github.com Issue Tracking
- github.com Release Notes
- github.com Exploit Vendor Advisory
- lists.fedoraproject.org Mailing List
- lists.fedoraproject.org Mailing List
- lists.fedoraproject.org Mailing List