OPENSUSE-SU-2025-20133-1
Vulnerability from csaf_opensuse - Published: 2025-12-02 13:51 - Updated: 2025-12-02 13:51Summary
Security update for python-cbor2
Notes
Title of the patch
Security update for python-cbor2
Description of the patch
This update for python-cbor2 fixes the following issues:
- CVE-2025-64076: Fixed bug in decode_definite_long_string() that causes incorrect chunk length calculation (bsc#1253746).
Already fixed in release 5.6.3:
- CVE-2024-26134: Fixed potential crash when hashing a CBORTag (bsc#1220096).
Patchnames
openSUSE-Leap-16.0-91
Terms of use
CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).
{
"document": {
"aggregate_severity": {
"namespace": "https://www.suse.com/support/security/rating/",
"text": "important"
},
"category": "csaf_security_advisory",
"csaf_version": "2.0",
"distribution": {
"text": "Copyright 2024 SUSE LLC. All rights reserved.",
"tlp": {
"label": "WHITE",
"url": "https://www.first.org/tlp/"
}
},
"lang": "en",
"notes": [
{
"category": "summary",
"text": "Security update for python-cbor2",
"title": "Title of the patch"
},
{
"category": "description",
"text": "This update for python-cbor2 fixes the following issues:\n\n- CVE-2025-64076: Fixed bug in decode_definite_long_string() that causes incorrect chunk length calculation (bsc#1253746).\n\n\nAlready fixed in release 5.6.3:\n\n- CVE-2024-26134: Fixed potential crash when hashing a CBORTag (bsc#1220096).\n",
"title": "Description of the patch"
},
{
"category": "details",
"text": "openSUSE-Leap-16.0-91",
"title": "Patchnames"
},
{
"category": "legal_disclaimer",
"text": "CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).",
"title": "Terms of use"
}
],
"publisher": {
"category": "vendor",
"contact_details": "https://www.suse.com/support/security/contact/",
"name": "SUSE Product Security Team",
"namespace": "https://www.suse.com/"
},
"references": [
{
"category": "external",
"summary": "SUSE ratings",
"url": "https://www.suse.com/support/security/rating/"
},
{
"category": "self",
"summary": "URL of this CSAF notice",
"url": "https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2025-20133-1.json"
},
{
"category": "self",
"summary": "SUSE Bug 1220096",
"url": "https://bugzilla.suse.com/1220096"
},
{
"category": "self",
"summary": "SUSE Bug 1253746",
"url": "https://bugzilla.suse.com/1253746"
},
{
"category": "self",
"summary": "SUSE CVE CVE-2024-26134 page",
"url": "https://www.suse.com/security/cve/CVE-2024-26134/"
},
{
"category": "self",
"summary": "SUSE CVE CVE-2025-64076 page",
"url": "https://www.suse.com/security/cve/CVE-2025-64076/"
}
],
"title": "Security update for python-cbor2",
"tracking": {
"current_release_date": "2025-12-02T13:51:41Z",
"generator": {
"date": "2025-12-02T13:51:41Z",
"engine": {
"name": "cve-database.git:bin/generate-csaf.pl",
"version": "1"
}
},
"id": "openSUSE-SU-2025-20133-1",
"initial_release_date": "2025-12-02T13:51:41Z",
"revision_history": [
{
"date": "2025-12-02T13:51:41Z",
"number": "1",
"summary": "Current version"
}
],
"status": "final",
"version": "1"
}
},
"product_tree": {
"branches": [
{
"branches": [
{
"branches": [
{
"category": "product_version",
"name": "python313-cbor2-5.6.5-160000.3.1.aarch64",
"product": {
"name": "python313-cbor2-5.6.5-160000.3.1.aarch64",
"product_id": "python313-cbor2-5.6.5-160000.3.1.aarch64"
}
}
],
"category": "architecture",
"name": "aarch64"
},
{
"branches": [
{
"category": "product_version",
"name": "python313-cbor2-5.6.5-160000.3.1.ppc64le",
"product": {
"name": "python313-cbor2-5.6.5-160000.3.1.ppc64le",
"product_id": "python313-cbor2-5.6.5-160000.3.1.ppc64le"
}
}
],
"category": "architecture",
"name": "ppc64le"
},
{
"branches": [
{
"category": "product_version",
"name": "python313-cbor2-5.6.5-160000.3.1.s390x",
"product": {
"name": "python313-cbor2-5.6.5-160000.3.1.s390x",
"product_id": "python313-cbor2-5.6.5-160000.3.1.s390x"
}
}
],
"category": "architecture",
"name": "s390x"
},
{
"branches": [
{
"category": "product_version",
"name": "python313-cbor2-5.6.5-160000.3.1.x86_64",
"product": {
"name": "python313-cbor2-5.6.5-160000.3.1.x86_64",
"product_id": "python313-cbor2-5.6.5-160000.3.1.x86_64"
}
}
],
"category": "architecture",
"name": "x86_64"
},
{
"branches": [
{
"category": "product_name",
"name": "openSUSE Leap 16.0",
"product": {
"name": "openSUSE Leap 16.0",
"product_id": "openSUSE Leap 16.0"
}
}
],
"category": "product_family",
"name": "SUSE Linux Enterprise"
}
],
"category": "vendor",
"name": "SUSE"
}
],
"relationships": [
{
"category": "default_component_of",
"full_product_name": {
"name": "python313-cbor2-5.6.5-160000.3.1.aarch64 as component of openSUSE Leap 16.0",
"product_id": "openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.3.1.aarch64"
},
"product_reference": "python313-cbor2-5.6.5-160000.3.1.aarch64",
"relates_to_product_reference": "openSUSE Leap 16.0"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "python313-cbor2-5.6.5-160000.3.1.ppc64le as component of openSUSE Leap 16.0",
"product_id": "openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.3.1.ppc64le"
},
"product_reference": "python313-cbor2-5.6.5-160000.3.1.ppc64le",
"relates_to_product_reference": "openSUSE Leap 16.0"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "python313-cbor2-5.6.5-160000.3.1.s390x as component of openSUSE Leap 16.0",
"product_id": "openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.3.1.s390x"
},
"product_reference": "python313-cbor2-5.6.5-160000.3.1.s390x",
"relates_to_product_reference": "openSUSE Leap 16.0"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "python313-cbor2-5.6.5-160000.3.1.x86_64 as component of openSUSE Leap 16.0",
"product_id": "openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.3.1.x86_64"
},
"product_reference": "python313-cbor2-5.6.5-160000.3.1.x86_64",
"relates_to_product_reference": "openSUSE Leap 16.0"
}
]
},
"vulnerabilities": [
{
"cve": "CVE-2024-26134",
"ids": [
{
"system_name": "SUSE CVE Page",
"text": "https://www.suse.com/security/cve/CVE-2024-26134"
}
],
"notes": [
{
"category": "general",
"text": "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.",
"title": "CVE description"
}
],
"product_status": {
"recommended": [
"openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.3.1.aarch64",
"openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.3.1.ppc64le",
"openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.3.1.s390x",
"openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.3.1.x86_64"
]
},
"references": [
{
"category": "external",
"summary": "CVE-2024-26134",
"url": "https://www.suse.com/security/cve/CVE-2024-26134"
},
{
"category": "external",
"summary": "SUSE Bug 1220096 for CVE-2024-26134",
"url": "https://bugzilla.suse.com/1220096"
}
],
"remediations": [
{
"category": "vendor_fix",
"details": "To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n",
"product_ids": [
"openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.3.1.aarch64",
"openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.3.1.ppc64le",
"openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.3.1.s390x",
"openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.3.1.x86_64"
]
}
],
"scores": [
{
"cvss_v3": {
"baseScore": 7.5,
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"version": "3.1"
},
"products": [
"openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.3.1.aarch64",
"openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.3.1.ppc64le",
"openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.3.1.s390x",
"openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.3.1.x86_64"
]
}
],
"threats": [
{
"category": "impact",
"date": "2025-12-02T13:51:41Z",
"details": "important"
}
],
"title": "CVE-2024-26134"
},
{
"cve": "CVE-2025-64076",
"ids": [
{
"system_name": "SUSE CVE Page",
"text": "https://www.suse.com/security/cve/CVE-2025-64076"
}
],
"notes": [
{
"category": "general",
"text": "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\u0027s 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.",
"title": "CVE description"
}
],
"product_status": {
"recommended": [
"openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.3.1.aarch64",
"openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.3.1.ppc64le",
"openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.3.1.s390x",
"openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.3.1.x86_64"
]
},
"references": [
{
"category": "external",
"summary": "CVE-2025-64076",
"url": "https://www.suse.com/security/cve/CVE-2025-64076"
},
{
"category": "external",
"summary": "SUSE Bug 1253746 for CVE-2025-64076",
"url": "https://bugzilla.suse.com/1253746"
}
],
"remediations": [
{
"category": "vendor_fix",
"details": "To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n",
"product_ids": [
"openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.3.1.aarch64",
"openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.3.1.ppc64le",
"openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.3.1.s390x",
"openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.3.1.x86_64"
]
}
],
"scores": [
{
"cvss_v3": {
"baseScore": 7.1,
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:H",
"version": "3.1"
},
"products": [
"openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.3.1.aarch64",
"openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.3.1.ppc64le",
"openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.3.1.s390x",
"openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.3.1.x86_64"
]
}
],
"threats": [
{
"category": "impact",
"date": "2025-12-02T13:51:41Z",
"details": "important"
}
],
"title": "CVE-2025-64076"
}
]
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…