CVE-2024-26134

NameCVE-2024-26134
Descriptioncbor2 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1064416

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
cbor2 (PTS)bullseye5.2.0-4fixed
bookworm5.4.6-1fixed
sid, trixie5.6.3-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
cbor2sourcebullseye(not affected)
cbor2sourcebookworm(not affected)
cbor2source(unstable)5.6.2-11064416

Notes

[bookworm] - cbor2 <not-affected> (Vulnerable code not present)
[bullseye] - cbor2 <not-affected> (Vulnerable code not present)
https://github.com/agronholm/cbor2/security/advisories/GHSA-375g-39jq-vq7m
https://github.com/agronholm/cbor2/pull/204
Introduced by: https://github.com/agronholm/cbor2/commit/387755eacf0be35591a478d3c67fe10618a6d542 (5.6.0)
Fixed by: https://github.com/agronholm/cbor2/commit/4de6991ba29bf2290d7b9d83525eda7d021873df (5.6.2)

Search for package or bug name: Reporting problems