Live threats

All CVEs / Agronholm

CVE-2024-26134Agronholm Cbor2

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.5%
probability of exploitation in 30 days · percentile 74
Auth required
No
Published
Feb 19, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-120
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Cbor2.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI cbor2 ≥ 5.5.1 < 5.6.2 5.6.2 pip install "cbor2>=5.6.2"
PyPI cbor2 ≥ 5.5.1 < 5.6.2 5.6.2 pip install "cbor2>=5.6.2"

Per OSV / GitHub Advisories (GHSA-375g-39jq-vq7m, PYSEC-2024-155). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
agronholmcbor2≥ 5.5.1 < 5.6.2
fedoraprojectfedora38
fedoraprojectfedora39
fedoraprojectfedora40

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.