5.8

CVE-2026-72854: msgpack-c Integer Overflow in msgpack_unpacker_expand_buffer Causes a False-Success Undersized Reservation

Deferred
AliasesSUSE-SU-2026:23630-1UBUNTU-CVE-2026-72854DEBIAN-CVE-2026-72854
Published 20-08-2026Last modified 24-09-2026

Vulnerability summary

CVE-2026-72854 is a medium (CVSS 5.8) Integer Overflow or Wraparound vulnerability in msgpack msgpack-c. EPSS estimates a 0.16% chance of exploitation in the next 30 days, higher than 4.8% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.8/10
010
Medium · v4.0 (CVE.org)
EPSS score
0.16%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 20-08-2026
    PublishedVulnerability first disclosed.
  2. 24-09-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

7 scores · 4 sources · 2 versions

EPSS trend

Probability

0.16%

Chance of exploitation in the next 30 days

Percentile

5%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.16% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Opensuse2 products
  • msgpack-c&distro=openSUSE Leap 16.0< 7.0.2-160000.1.1
  • msgpack-c&distro=openSUSE Tumbleweed< 7.0.2-2.1
Suse2 products
  • msgpack-c&distro=SUSE Linux Enterprise Server 16.0< 7.0.2-160000.1.1
  • msgpack-c&distro=SUSE Linux Enterprise Server for SAP applications 16.0< 7.0.2-160000.1.1
Debian1 product
  • msgpack-cAll versions (No fix recorded) | < 7.0.2-1
Mageia1 product
  • msgpack< 6.1.0-2.1.mga10
Msgpack1 product
Ubuntu1 product
  • msgpack-cAll versions (No fix recorded)

6 vendors · 8 products

References

15 links
Show all 15 references