CVE-2026-72854
CVE-2026-72854 · msgpack-c Integer Overflow in msgpack_unpacker_expand_buffer Causes a False-Success Undersized Reservation
CVSS 5.8 · Moyenne · EPSS 0,1% · Correctif disponible
Comparez avec votre version installée
Les produits concernés et les versions corrigées connues sont des informations publiques. Comparez-les avec votre version installée.
- msgpack-cAucun correctif publié
- msgpack-c Debian 12Aucun correctif publié
- msgpack-c Debian 13Aucun correctif publié
- msgpack-c Debian 14Mettez à jour vers 7.0.2-1
- et 6 de plus
Vérifiez la version installée :
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="msgpack-c"'Évaluez les risques de votre serveur
La vérification gratuite donne une note et un résumé des risques par pile technologique, sans inscription. Elle ne précise pas si cette vulnérabilité particulière vous concerne.
La surveillance compare les informations publiques aux logiciels de vos serveurs. Elle fournit les résultats détaillés et l’ordre des mises à jour.
curl -fsSL https://patchfirst.dev/check.sh | shLes canaux diffusent des actualités générales sur les technologies ; la surveillance signale les nouveaux résultats sur vos serveurs dans votre tableau de bord, par notification du navigateur, dans Telegram ou par webhook.
Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.
msgpack_unpacker_expand_buffer in src/unpack.c, reached through the public msgpack_unpacker_reserve_buffer API, computes its new buffer size using an unchecked size_t addition of the requested size and the amount already used. The doubling loop guards its own multiplication against overflow, but the addition in the loop condition is unguarded, so a request near SIZE_MAX wraps: the loop condition is already satisfied, the allocation is performed at the small pre-wrap size, and the function returns true. The caller is told the requested capacity was reserved when it was not, so a subsequent write of the requested length overflows the heap buffer. The library's own example/lib_buffer_unpack.c demonstrates the reserve-then-write pattern, and its defensive assert comparing capacity against the request is compiled out under NDEBUG. msgpack-c's own decode entry points do not derive the reservation size from untrusted input, so reaching this requires an integration that passes an attacker-influenced length to the reservation API, such as a length-prefixed streaming transport.
- Publication
- Mise à jour
Correctifs dans les distributions
- openSUSE-SU-2026:21768-1 · openSUSE Leap 16.0 ·
- SUSE-SU-2026:23630-1 · SUSE Linux Enterprise Server 16.0, SUSE Linux Enterprise Server for SAP applications 16.0 ·
- openSUSE-SU-2026:11672-1 · openSUSE Tumbleweed ·
Pile logicielle: system
Produits et versions concernés
msgpack-c
- Versions du logiciel
- ≥ 0, ≤ 7.0.1: Concernée (custom)
Aucun correctif publié
msgpack-c Debian 12
- Versions du logiciel
- 4.0.0-3
- 6.0.0-1
- 6.0.0-2
- 6.0.0-3
- 6.0.0-4
- 6.0.0-5
Toutes les versions (13)
- 6.0.1-1
- 6.0.1-2
- 6.0.1-3
- 6.1.0-1
- 6.1.0-2
- 7.0.1-1
- 7.0.2-1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
msgpack-c Debian 13
- Versions du logiciel
- 6.0.1-3
- 6.1.0-1
- 6.1.0-2
- 7.0.1-1
- 7.0.2-1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
msgpack-c Debian 14
- Versions du logiciel
- 6.0.1-3
- 6.1.0-1
- 6.1.0-2
- 7.0.1-1
- Plages de versions concernées
- ECOSYSTEM: < 7.0.2-1
Mettez à jour vers 7.0.2-1
msgpack-c Ubuntu 18.04 LTS
- Versions du logiciel
- 2.1.5-1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
msgpack-c Ubuntu 20.04 LTS
- Versions du logiciel
- 3.0.1-3
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
msgpack-c Ubuntu 22.04 LTS
- Versions du logiciel
- 3.3.0-4
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
msgpack-c Ubuntu 24.04 LTS
- Versions du logiciel
- 4.0.0-3
- 4.0.0-3build1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
msgpack-c Ubuntu 26.10
- Versions du logiciel
- 6.1.0-2
- 7.0.1-1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
msgpack-c Ubuntu 26.04 LTS
- Versions du logiciel
- 6.0.1-3
- 6.1.0-2
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
Sources originales
- https://github.com/msgpack/msgpack-c/issues/1181
- https://github.com/msgpack/msgpack-c/blob/c-7.0.1/src/unpack.c#L429-L502
- https://github.com/msgpack/msgpack-c/blob/c-7.0.1/include/msgpack/unpack.h#L219-L223
- https://github.com/msgpack/msgpack-c/blob/c-7.0.1/example/lib_buffer_unpack.c
- https://github.com/msgpack/msgpack-c
- https://www.vulncheck.com/advisories/msgpack-c-integer-overflow-in-msgpack-unpacker-expand-buffer-causes-a-false-success-undersized-reservation
- https://nvd.nist.gov/vuln/detail/CVE-2026-72854