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 repeated processing of large CBOR payloads. Both vulnerabilities can be exploited remotely without authentication by sending specially-crafted CBOR data containing definite-length text strings with multi-byte UTF-8 characters positioned at 65536-byte chunk boundaries. Successful exploitation results in denial of service through process crashes (CBORDecodeEOF exceptions) or memory exhaustion. The vulnerabilities affect all applications using cbor2's C extension to process untrusted CBOR data, including web APIs, IoT data collectors, and message queue processors. Fixed in commit 851473490281f82d82560b2368284ef33cf6e8f9 pushed with released version 5.7.1.
総合評価: CVE-2025-64076 は公開エクスプロイトあり(56.1/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 0.40%、31 パーセンタイル) 根拠: 公開エクスプロイトが 2 件参照されています(Exploit-DB)。 推奨対応: 公開エクスプロイトが確認されています。影響範囲の確認、緩和策の適用、パッチ適用を優先してください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
| EDB-ID | ソース | 種別 | 公開 | リンク |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ | |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.24% | 0.40% | +0.16% |
| 2 | 2026-04-16 | 0.33% | 0.24% | -0.09% |
| 3 | 2026-03-20 | — | 0.33% | — |
EPSS の全履歴 (全 5 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
— | CVE-2025-64076: 1 source package rows (py3-cbor2); 3 state rows across 2 repos (3.23-community, edge-community); fixed 0, open 3. | https://security.alpinelinux.org/vuln/CVE-2025-64076 |
debian
|
unimportant | CVE-2025-64076 unimportant priority: Debian including 1 source packages (cbor2), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 4, open 1. | https://security-tracker.debian.org/tracker/CVE-2025-64076 |
redhat
|
high | — | https://access.redhat.com/security/cve/CVE-2025-64076 |
suse
|
high | — | https://www.suse.com/security/cve/CVE-2025-64076/ |
ubuntu
|
medium | CVE-2025-64076 medium priority: Ubuntu including 1 source packages (cbor2), 5 status rows across 5 suites (jammy, noble, plucky, questing, upstream): needs-triage 3, ignored 1, released 1. | https://ubuntu.com/security/CVE-2025-64076 |
| URL | タグ |
|---|---|
| https://github.com/agronholm/cbor2/commit/851473490281f82d82560b2368284ef33cf6e8f9 | Patch |
| https://github.com/agronholm/cbor2/issues/264 | Exploit Issue Tracking |
| https://github.com/agronholm/cbor2/pull/265 | Exploit Issue Tracking Patch |