Multiple vulnerabilities exist in cbor2 through version 5.7.0 in the decode_definite_long_string() function of the C extension decoder (source/decoder.c): (1) Integer Underflow Leading to Out-of-Bounds Read (CWE-191, CWE-125): An incorrect variable reference and missing state reset in the chunk processing loop causes buffer_length to not be reset to zero after UTF-8 character consumption. This results in subsequent chunk_length calculations producing negative values (e.g., chunk_length = 65536 - buffer_length), which are passed as signed integers to the read() method, potentially triggering unlimited read operations and resource exhaustion. (2) Memory Leak via Missing Reference Count Release (CWE-401): The main processing loop fails to release Python object references (Py_DECREF) for chunk objects allocated in each iteration. For CBOR strings longer than 65536 bytes, this causes cumulative memory leaks proportional to the payload size, enabling memory exhaustion attacks through repeate
| Reporter | Title | Published | Views | Family All 41 |
|---|---|---|---|---|
| CVE-2025-64076 | 18 Nov 202500:00 | – | alpinelinux | |
| cbor2 security vulnerabilities | 18 Nov 202500:00 | – | cnnvd | |
| CVE-2025-64076 | 18 Nov 202500:00 | – | cve | |
| CVE-2025-64076 | 18 Nov 202500:00 | – | cvelist | |
| EUVD-2025-198054 | 18 Nov 202500:00 | – | euvd | |
| [SECURITY] Fedora 42 Update: python-cbor2-5.6.5-8.fc42 | 22 Apr 202611:42 | – | fedora | |
| [SECURITY] Fedora 43 Update: python-cbor2-5.6.5-8.fc43 | 22 Apr 202607:50 | – | fedora | |
| [SECURITY] Fedora 44 Update: python-cbor2-5.6.5-8.fc44 | 25 Apr 202601:56 | – | fedora | |
| Fedora 42 : python-cbor2 (2026-0afc953516) | 22 Apr 202600:00 | – | nessus | |
| Fedora 44 : python-cbor2 (2026-71677aed1e) | 27 Apr 202600:00 | – | nessus |
10
Node
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
17 Nov 2026 06:30Current
6.2Medium risk
Vulners AI Score6.2
CVSS 3.17.5
EPSS0.00489
SSVC