{"id":"CVE-2024-26134","summary":"CBOR2 decoder has potential buffer overflow","details":"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.","aliases":["GHSA-375g-39jq-vq7m","PYSEC-2024-155"],"modified":"2026-04-02T10:07:55.578283Z","published":"2024-02-19T22:13:47.173Z","related":["SUSE-SU-2025:21168-1","openSUSE-SU-2025:14733-1","openSUSE-SU-2025:20133-1"],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-120"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26134.json"},"references":[{"type":"WEB","url":"https://github.com/agronholm/cbor2/releases/tag/5.6.2"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BT42VXZMMMCSSHMA65KKPOZCXJEYHNR5/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GX524ZG2XJWFV37UQKQ4LWIH4UICSGEQ/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PWC3VU6YV6EXKCSX5GTKWLBZIDIJNQJY/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26134.json"},{"type":"ADVISORY","url":"https://github.com/agronholm/cbor2/security/advisories/GHSA-375g-39jq-vq7m"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-26134"},{"type":"FIX","url":"https://github.com/agronholm/cbor2/commit/387755eacf0be35591a478d3c67fe10618a6d542"},{"type":"FIX","url":"https://github.com/agronholm/cbor2/commit/4de6991ba29bf2290d7b9d83525eda7d021873df"},{"type":"FIX","url":"https://github.com/agronholm/cbor2/pull/204"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/agronholm/cbor2","events":[{"introduced":"f31dff18b8f851e58bf589ba742a3c79a6f33e20"},{"fixed":"21e0debcf8ddf9d6034a3bb0d01477f3b855e166"}]}],"versions":["5.5.1","5.6.0","5.6.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-26134.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}