Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-64076

published high CVSS 3.1 · 7.5

cbor2: Integer Underflow and Memory Leak leading to Denial of Service

Title from Red Hat VEX

Published
18 Nov 2025, 00:00:00 UTC
Updated
19 Nov 2025, 13:55:54 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — n/an/a Affected Not stated mitre
SUSE / openSUSE SLE-16 python313-cbor2aarch64 Advisory build 5.6.5-160000.3.1 SUSE-SU-2025:21168-1
SUSE / openSUSE SLE-16 python313-cbor2ppc64le Advisory build 5.6.5-160000.3.1 SUSE-SU-2025:21168-1
SUSE / openSUSE SLE-16 python313-cbor2s390x Advisory build 5.6.5-160000.3.1 SUSE-SU-2025:21168-1
SUSE / openSUSE SLE-16 python313-cbor2x86_64 Advisory build 5.6.5-160000.3.1 SUSE-SU-2025:21168-1
SUSE / openSUSE openSUSE-Leap-16.0 python313-cbor2aarch64 Advisory build 5.6.5-160000.3.1 OPENSUSE-SU-2025:20133-1
SUSE / openSUSE openSUSE-Leap-16.0 python313-cbor2ppc64le Advisory build 5.6.5-160000.3.1 OPENSUSE-SU-2025:20133-1
SUSE / openSUSE openSUSE-Leap-16.0 python313-cbor2s390x Advisory build 5.6.5-160000.3.1 OPENSUSE-SU-2025:20133-1
Show 1 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Leap-16.0 python313-cbor2x86_64 Advisory build 5.6.5-160000.3.1 OPENSUSE-SU-2025:20133-1

Description

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.

en · mitre · cna

Vendor advisories explicitly linked to this CVE.

2

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.5 / 10
Severity
high
Provider
mitre · cna
Vector string
CVSS:3.1/AC:L/AV:N/A:H/C:N/I:N/PR:N/S:U/UI:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a n/a n/a (affected) mitre · cna

Weaknesses

2
  • n/a (mitre · cna)
  • CWE-191 CWE-191 Integer Underflow (Wrap or Wraparound) (CISA-ADP · adp)

References

3

Provider assertions

2

mitre · cna

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
08eb96d6ffdd11595de5b1df97c0580e29c9b8bba9a1b392de53ba122d5de566
Ingested
23 Sep 2026, 08:55:54 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected