CVE-2024-26134
HIGH 7.5CVSS 3.1Potential buffer overflow in CBOR2 decoder
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.
- Published
- 19 Feb 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-120
- Also known as
- GHSA-375g-39jq-vq7mPYSEC-2024-155
- Sources
- NVDJSONOSV GHSA-375g-39jq-vq7mJSONOSV PYSEC-2024-155JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | agronholm | cbor2cpe:2.3:a:agronholm:cbor2:*:*:*:*:*:python:*:* |
>= 5.5.1, < 5.6.2 | 5.6.2 |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* |
= 38 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:* |
= 39 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:* |
= 40 | |
| OSV | PyPI | cbor2 | >= 5.5.1, < 5.6.2 | 5.6.2 |
References
- https://github.com/agronholm/cbor2/commit/387755eacf0be35591a478d3c67fe10618a6d542 · Product, WEB, FIX
- https://github.com/agronholm/cbor2/commit/4de6991ba29bf2290d7b9d83525eda7d021873df · Patch, WEB, FIX
- https://github.com/agronholm/cbor2/pull/204 · Issue Tracking, WEB, REPORT
- https://github.com/agronholm/cbor2/releases/tag/5.6.2 · Release Notes, WEB
- https://github.com/agronholm/cbor2/security/advisories/GHSA-375g-39jq-vq7m · Exploit, Vendor Advisory, WEB, ADVISORY, EVIDENCE
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BT42VXZMMMCSSHMA65KKPOZCXJEYHNR5/ · Mailing List, WEB, ARTICLE
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GX524ZG2XJWFV37UQKQ4LWIH4UICSGEQ/ · Mailing List, WEB, ARTICLE
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PWC3VU6YV6EXKCSX5GTKWLBZIDIJNQJY/ · Mailing List, WEB, ARTICLE
- https://nvd.nist.gov/vuln/detail/CVE-2024-26134 · ADVISORY
- https://github.com/agronholm/cbor2 · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/cbor2/PYSEC-2024-155.yaml · WEB
- https://github.com/advisories/GHSA-375g-39jq-vq7m · ADVISORY
History
- 25 Nov 2026 20:54 UTC · NVD: first stored (published 19 Feb 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 19 Feb 2024)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 21 Feb 2024)