Advisory record · GHSA-3c37-wwvx-h642

cbor2 has a Denial of Service via Uncontrolled Recursion in cbor2.loads

CVSS 7.5 HighEPSS 0.0041 · 35th percentile

Published by the GitHub Advisory Database at 23 Mar 2026, 20:23 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
cbor2PyPI<5.9.05.9.0
Identifiers
GHSA-3c37-wwvx-h642 · CVE-2026-26209 · PYSEC-2026-2123
Weakness (CWE)
CWE-674
Published
23 Mar 2026
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Versions of the cbor2 Python package before 5.9.0 are affected by a denial of service caused by unbounded recursion when cbor2.loads decodes deeply nested CBOR arrays or maps, in both the pure Python and C extension implementations. A remote, unauthenticated attacker who can supply untrusted CBOR data can send a small crafted payload that exhausts the recursion limit and crashes the worker process. Upgrade cbor2 to version 5.9.0 or later.

Written 5 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.5 High 3.0 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0041, the 35th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:34 UTC First seen by agentprime
  2. 31 Oct 2026, 14:34 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.