{"answers":{"affected":"3 open source packages ship an affected version, including cbor2. It affects 2 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-26134 exists.","fix":"Upgrade cbor2 to 5.6.2 or later.","what":"CVE-2024-26134 is a high-severity denial of service vulnerability in Fedoraproject Fedora, published on 19 Feb 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-26134 and fix it if it is affected.\n\nWhat it is: CVE-2024-26134 is a high-severity denial of service vulnerability in Fedoraproject Fedora, published on 19 Feb 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-26134 exists.\n\nAffected packages and fixed versions:\n- cbor2 (PyPI): affected from 5.5.1; fixed in 5.6.2\n- cbor2 (PyPI): affected from 5.5.1; fixed in 5.6.2\n- cbor2 (PyPI): affected from 5.5.1; fixed in 5.6.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-26134/ (Markdown: https://insights.sbomify.com/CVE-2024-26134/index.md)","id":"CVE-2024-26134","markdown":"https://insights.sbomify.com/CVE-2024-26134/index.md","name":"CVE-2024-26134","record":{"aliases":["DEBIAN-CVE-2024-26134","GHSA-375g-39jq-vq7m","PYSEC-2024-155","UBUNTU-CVE-2024-26134","openSUSE-SU-2025:14733-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Python CBOR library","requires_auth":"none","summary":"An attacker can crash a service using the cbor2 library by sending a specially crafted long CBOR object, causing a buffer overflow.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"cbor2","vendor":"agronholm"},{"product":"fedora","vendor":"fedoraproject"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"}],"description":"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.","ecosystems":["PyPI","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"CBOR2 decoder has potential buffer overflow","id":"CVE-2024-26134","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":"fedoraproject:fedora","products":["fedoraproject:fedora"],"type":"denial_of_service","year":"2024"},"n_packages":4,"n_references":8,"next":{"headline":"MeshCentral cross-site websocket hijacking (CSWSH) vulnerability","id":"CVE-2024-26135"},"packages":[{"ecosystem":"PyPI","fixed":["5.6.2"],"introduced":["5.5.1"],"last_affected":[],"package":"cbor2","purl":null,"source":"GHSA-375g-39jq-vq7m"},{"ecosystem":"PyPI","fixed":["5.6.2"],"introduced":["5.5.1"],"last_affected":[],"package":"cbor2","purl":"pkg:pypi/cbor2","source":"GHSA-375g-39jq-vq7m"},{"ecosystem":"PyPI","fixed":["5.6.2"],"introduced":["5.5.1"],"last_affected":[],"package":"cbor2","purl":"pkg:pypi/cbor2","source":"PYSEC-2024-155"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["5.6.5-2.1"],"introduced":["0"],"last_affected":[],"package":"python-cbor2","purl":"pkg:rpm/opensuse/python-cbor2\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:14733-1"}],"prev":{"headline":"EventStoreDB Projections Subsystem has potential password leak","id":"CVE-2024-26133"},"products":["cbor2"],"published":"2024-02-19","related":[{"cvss_score":7.5,"headline":"cbor2 has a Denial of Service via Uncontrolled Recursion in cbor2.loads","id":"CVE-2026-26209","kev_date_added":null,"published":"2026-03-23"},{"cvss_score":7.5,"headline":"cbor2 C extension decoder flaws can cause denial of service","id":"CVE-2025-64076","kev_date_added":null,"published":"2025-11-18"},{"cvss_score":5.5,"headline":"CBORDecoder reuse can leak shareable values across decode calls","id":"CVE-2025-68131","kev_date_added":null,"published":"2025-12-31"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-02-13","vendors":["agronholm"]},"summary":"An attacker can crash a service using the cbor2 library by sending a specially crafted long CBOR object, causing a buffer overflow.","url":"https://insights.sbomify.com/CVE-2024-26134/"}