CVE-2026-72854
CVE-2026-72854 · msgpack-c Integer Overflow in msgpack_unpacker_expand_buffer Causes a False-Success Undersized Reservation
CVSS 5.8 · Media · EPSS 0,2% · Corrección disponible
Compara con tu versión instalada
Los productos afectados y las versiones corregidas conocidas son datos públicos. Compáralos con tu versión instalada.
- msgpack-cSin corrección publicada
- msgpack-c Debian 12Sin corrección publicada
- msgpack-c Debian 13Sin corrección publicada
- msgpack-c Debian 14Actualiza a 7.0.2-1
- y 6 más
Comprueba la versión instalada:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="msgpack-c"'Evalúa los riesgos de tu servidor
La comprobación gratuita te da una puntuación y un resumen de riesgos por pila tecnológica, sin registro. No indica si esta vulnerabilidad concreta te afecta.
La monitorización compara los datos públicos con el software de tus servidores. Ofrece hallazgos detallados y el orden de las actualizaciones.
curl -fsSL https://patchfirst.dev/check.sh | shLos canales publican noticias generales sobre tecnologías; la monitorización te avisa de nuevos hallazgos en tus servidores en el panel, mediante notificaciones del navegador, en Telegram o por webhook.
Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.
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.
- Publicación
- Actualización
Correcciones en distribuciones
- 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 ·
Pila tecnológica: system
Productos y versiones afectados
msgpack-c
- Versiones
- ≥ 0, ≤ 7.0.1: Afectada (custom)
Sin corrección publicada
msgpack-c Debian 12
- Versiones
- 4.0.0-3
- 6.0.0-1
- 6.0.0-2
- 6.0.0-3
- 6.0.0-4
- 6.0.0-5
Todas las versiones (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
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
msgpack-c Debian 13
- Versiones
- 6.0.1-3
- 6.1.0-1
- 6.1.0-2
- 7.0.1-1
- 7.0.2-1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
msgpack-c Debian 14
- Versiones
- 6.0.1-3
- 6.1.0-1
- 6.1.0-2
- 7.0.1-1
- Intervalos de versiones afectados
- ECOSYSTEM: < 7.0.2-1
Actualiza a 7.0.2-1
msgpack-c Ubuntu 18.04 LTS
- Versiones
- 2.1.5-1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
msgpack-c Ubuntu 20.04 LTS
- Versiones
- 3.0.1-3
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
msgpack-c Ubuntu 22.04 LTS
- Versiones
- 3.3.0-4
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
msgpack-c Ubuntu 24.04 LTS
- Versiones
- 4.0.0-3
- 4.0.0-3build1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
msgpack-c Ubuntu 26.10
- Versiones
- 6.1.0-2
- 7.0.1-1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
msgpack-c Ubuntu 26.04 LTS
- Versiones
- 6.0.1-3
- 6.1.0-2
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
Fuentes 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