OPENSUSE-SU-2026:20468-1
Vulnerability from csaf_opensuse - Published: 2026-04-07 11:57 - Updated: 2026-04-07 11:57Summary
Security update for python-cbor2
Severity
Important
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-68131: CBORDecoder reuse across trust boundaries can lead to leak of shareable values from previous decode
calls via attacker-controlled messages (bsc#1255783).
- CVE-2026-26209: uncontrolled recursion via crafted CBOR payloads can cause a denial of service (bsc#1260367).
Patchnames: openSUSE-Leap-16.0-482
Terms of use: CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).
5.5 (Medium)
Vendor Fix
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
7.5 (High)
Vendor Fix
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
References
{
"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-68131: CBORDecoder reuse across trust boundaries can lead to leak of shareable values from previous decode\n calls via attacker-controlled messages (bsc#1255783).\n- CVE-2026-26209: uncontrolled recursion via crafted CBOR payloads can cause a denial of service (bsc#1260367).\n",
"title": "Description of the patch"
},
{
"category": "details",
"text": "openSUSE-Leap-16.0-482",
"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-2026_20468-1.json"
},
{
"category": "self",
"summary": "SUSE Bug 1255783",
"url": "https://bugzilla.suse.com/1255783"
},
{
"category": "self",
"summary": "SUSE Bug 1260367",
"url": "https://bugzilla.suse.com/1260367"
},
{
"category": "self",
"summary": "SUSE CVE CVE-2025-68131 page",
"url": "https://www.suse.com/security/cve/CVE-2025-68131/"
},
{
"category": "self",
"summary": "SUSE CVE CVE-2026-26209 page",
"url": "https://www.suse.com/security/cve/CVE-2026-26209/"
}
],
"title": "Security update for python-cbor2",
"tracking": {
"current_release_date": "2026-04-07T11:57:38Z",
"generator": {
"date": "2026-04-07T11:57:38Z",
"engine": {
"name": "cve-database.git:bin/generate-csaf.pl",
"version": "1"
}
},
"id": "openSUSE-SU-2026:20468-1",
"initial_release_date": "2026-04-07T11:57:38Z",
"revision_history": [
{
"date": "2026-04-07T11:57:38Z",
"number": "1",
"summary": "Current version"
}
],
"status": "final",
"version": "1"
}
},
"product_tree": {
"branches": [
{
"branches": [
{
"branches": [
{
"category": "product_version",
"name": "python313-cbor2-5.6.5-160000.4.1.aarch64",
"product": {
"name": "python313-cbor2-5.6.5-160000.4.1.aarch64",
"product_id": "python313-cbor2-5.6.5-160000.4.1.aarch64"
}
}
],
"category": "architecture",
"name": "aarch64"
},
{
"branches": [
{
"category": "product_version",
"name": "python313-cbor2-5.6.5-160000.4.1.ppc64le",
"product": {
"name": "python313-cbor2-5.6.5-160000.4.1.ppc64le",
"product_id": "python313-cbor2-5.6.5-160000.4.1.ppc64le"
}
}
],
"category": "architecture",
"name": "ppc64le"
},
{
"branches": [
{
"category": "product_version",
"name": "python313-cbor2-5.6.5-160000.4.1.s390x",
"product": {
"name": "python313-cbor2-5.6.5-160000.4.1.s390x",
"product_id": "python313-cbor2-5.6.5-160000.4.1.s390x"
}
}
],
"category": "architecture",
"name": "s390x"
},
{
"branches": [
{
"category": "product_version",
"name": "python313-cbor2-5.6.5-160000.4.1.x86_64",
"product": {
"name": "python313-cbor2-5.6.5-160000.4.1.x86_64",
"product_id": "python313-cbor2-5.6.5-160000.4.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.4.1.aarch64 as component of openSUSE Leap 16.0",
"product_id": "openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.4.1.aarch64"
},
"product_reference": "python313-cbor2-5.6.5-160000.4.1.aarch64",
"relates_to_product_reference": "openSUSE Leap 16.0"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "python313-cbor2-5.6.5-160000.4.1.ppc64le as component of openSUSE Leap 16.0",
"product_id": "openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.4.1.ppc64le"
},
"product_reference": "python313-cbor2-5.6.5-160000.4.1.ppc64le",
"relates_to_product_reference": "openSUSE Leap 16.0"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "python313-cbor2-5.6.5-160000.4.1.s390x as component of openSUSE Leap 16.0",
"product_id": "openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.4.1.s390x"
},
"product_reference": "python313-cbor2-5.6.5-160000.4.1.s390x",
"relates_to_product_reference": "openSUSE Leap 16.0"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "python313-cbor2-5.6.5-160000.4.1.x86_64 as component of openSUSE Leap 16.0",
"product_id": "openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.4.1.x86_64"
},
"product_reference": "python313-cbor2-5.6.5-160000.4.1.x86_64",
"relates_to_product_reference": "openSUSE Leap 16.0"
}
]
},
"vulnerabilities": [
{
"cve": "CVE-2025-68131",
"ids": [
{
"system_name": "SUSE CVE Page",
"text": "https://www.suse.com/security/cve/CVE-2025-68131"
}
],
"notes": [
{
"category": "general",
"text": "cbor2 provides encoding and decoding for the Concise Binary Object Representation (CBOR) serialization format. Starting in version 3.0.0 and prior to version 5.8.0, whhen a CBORDecoder instance is reused across multiple decode operations, values marked with the shareable tag (28) persist in memory and can be accessed by subsequent CBOR messages using the sharedref tag (29). This allows an attacker-controlled message to read data from previously decoded messages if the decoder is reused across trust boundaries. Version 5.8.0 patches the issue.",
"title": "CVE description"
}
],
"product_status": {
"recommended": [
"openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.4.1.aarch64",
"openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.4.1.ppc64le",
"openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.4.1.s390x",
"openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.4.1.x86_64"
]
},
"references": [
{
"category": "external",
"summary": "CVE-2025-68131",
"url": "https://www.suse.com/security/cve/CVE-2025-68131"
},
{
"category": "external",
"summary": "SUSE Bug 1255783 for CVE-2025-68131",
"url": "https://bugzilla.suse.com/1255783"
}
],
"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.4.1.aarch64",
"openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.4.1.ppc64le",
"openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.4.1.s390x",
"openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.4.1.x86_64"
]
}
],
"scores": [
{
"cvss_v3": {
"baseScore": 5.5,
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
"version": "3.1"
},
"products": [
"openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.4.1.aarch64",
"openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.4.1.ppc64le",
"openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.4.1.s390x",
"openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.4.1.x86_64"
]
}
],
"threats": [
{
"category": "impact",
"date": "2026-04-07T11:57:38Z",
"details": "moderate"
}
],
"title": "CVE-2025-68131"
},
{
"cve": "CVE-2026-26209",
"ids": [
{
"system_name": "SUSE CVE Page",
"text": "https://www.suse.com/security/cve/CVE-2026-26209"
}
],
"notes": [
{
"category": "general",
"text": "cbor2 provides encoding and decoding for the Concise Binary Object Representation (CBOR) serialization format. Versions prior to 5.9.0 are vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding deeply nested CBOR structures. This vulnerability affects both the pure Python implementation and the C extension `_cbor2`. The C extension relies on Python\u0027s internal recursion limits `Py_EnterRecursiveCall` rather than a data-driven depth limit, meaning it still raises `RecursionError` and crashes the worker process when the limit is hit. While the library handles moderate nesting levels, it lacks a hard depth limit. An attacker can supply a crafted CBOR payload containing approximately 100,000 nested arrays `0x81`. When `cbor2.loads()` attempts to parse this, it hits the Python interpreter\u0027s maximum recursion depth or exhausts the stack, causing the process to crash with a `RecursionError`. Because the library does not enforce its own limits, it allows an external attacker to exhaust the host application\u0027s stack resource. In many web application servers (e.g., Gunicorn, Uvicorn) or task queues (Celery), an unhandled `RecursionError` terminates the worker process immediately. By sending a stream of these small (\u003c100KB) malicious packets, an attacker can repeatedly crash worker processes, resulting in a complete Denial of Service for the application. Version 5.9.0 patches the issue.",
"title": "CVE description"
}
],
"product_status": {
"recommended": [
"openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.4.1.aarch64",
"openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.4.1.ppc64le",
"openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.4.1.s390x",
"openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.4.1.x86_64"
]
},
"references": [
{
"category": "external",
"summary": "CVE-2026-26209",
"url": "https://www.suse.com/security/cve/CVE-2026-26209"
},
{
"category": "external",
"summary": "SUSE Bug 1260367 for CVE-2026-26209",
"url": "https://bugzilla.suse.com/1260367"
}
],
"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.4.1.aarch64",
"openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.4.1.ppc64le",
"openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.4.1.s390x",
"openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.4.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.4.1.aarch64",
"openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.4.1.ppc64le",
"openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.4.1.s390x",
"openSUSE Leap 16.0:python313-cbor2-5.6.5-160000.4.1.x86_64"
]
}
],
"threats": [
{
"category": "impact",
"date": "2026-04-07T11:57:38Z",
"details": "important"
}
],
"title": "CVE-2026-26209"
}
]
}
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…