{"id":"UBUNTU-CVE-2024-26134","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.","modified":"2026-05-20T16:16:39.253768721Z","published":"2024-02-19T23:15:00Z","upstream":["CVE-2024-26134"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-26134"},{"type":"REPORT","url":"https://github.com/agronholm/cbor2/security/advisories/GHSA-375g-39jq-vq7m"},{"type":"REPORT","url":"https://github.com/agronholm/cbor2/pull/204"},{"type":"REPORT","url":"https://github.com/agronholm/cbor2/commit/387755eacf0be35591a478d3c67fe10618a6d542"},{"type":"REPORT","url":"https://github.com/agronholm/cbor2/commit/4de6991ba29bf2290d7b9d83525eda7d021873df"},{"type":"REPORT","url":"https://github.com/agronholm/cbor2/releases/tag/5.6.2"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-26134"}],"affected":[{"package":{"name":"cbor2","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/cbor2?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.2.0-4","5.2.0-4build1","5.4.2-1","5.4.2-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-cbor2","binary_version":"5.4.2-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-26134.json"}},{"package":{"name":"cbor2","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/cbor2?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.4.6-2","5.4.6-2build1","5.5.1-1","5.6.0-1","5.6.1-1","5.6.2-1","5.6.2-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-cbor2","binary_version":"5.6.2-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-26134.json"}},{"package":{"name":"cbor2","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/cbor2?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.6.5-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-cbor2","binary_version":"5.6.5-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-26134.json"}},{"package":{"name":"cbor2","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/cbor2?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.6.5-1build1","5.7.0-1","5.7.1-1","5.8.0-1","5.8.0-2ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-cbor2","binary_version":"5.8.0-2ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-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"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}