Allocation of Resources Without Limits or Throttling Affecting cbor2 package, versions [,5.9.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (13th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-CBOR2-15762225
  • published24 Mar 2026
  • disclosed23 Mar 2026
  • creditromanticpragmatism

Introduced: 23 Mar 2026

NewCVE-2026-26209  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade cbor2 to version 5.9.0 or higher.

Overview

cbor2 is a CBOR (de)serializer with extensive tag support

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in the decoding of CBOR payloads. An attacker can cause the application to crash by submitting deeply nested input that triggers uncontrolled recursion.

CVSS Base Scores

version 4.0
version 3.1