CVE-2024-26134CBOR2 decoder has potential buffer overflow
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
Fixed builds are available from Debian, PyPI: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | cbor2 | Fix pending | UBUNTU-CVE-2024-26134 | |
| Ubuntu 26.04 | cbor2 | Under investigation | UBUNTU-CVE-2024-26134 | |
| Ubuntu 25.10 | cbor2 | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2024-26134 | |
| Ubuntu 24.04 | cbor2 | Under investigation | UBUNTU-CVE-2024-26134 | |
| Ubuntu 22.04 | cbor2 | Under investigation | UBUNTU-CVE-2024-26134 | |
| Debian 14 | cbor2 | Fixed | 5.6.2-1 | DEBIAN-CVE-2024-26134 |
| Debian 13 | cbor2 | Fixed | 5.6.2-1 | DEBIAN-CVE-2024-26134 |
| PyPI library | cbor2 | Fixed | 5.6.2 | PYSEC-2024-155 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- agronholm cbor2: affected: >= 5.5.1, < 5.6.2
References
- https://github.com/agronholm/cbor2/security/advisories/GHSA-375g-39jq-vq7m
- https://github.com/agronholm/cbor2/pull/204
- https://github.com/agronholm/cbor2/commit/387755eacf0be35591a478d3c67fe10618a6d542
- https://github.com/agronholm/cbor2/commit/4de6991ba29bf2290d7b9d83525eda7d021873df
- https://github.com/agronholm/cbor2/releases/tag/5.6.2
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GX524ZG2XJWFV37UQKQ4LWIH4UICSGEQ/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BT42VXZMMMCSSHMA65KKPOZCXJEYHNR5/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PWC3VU6YV6EXKCSX5GTKWLBZIDIJNQJY/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.