Home / msgpack / msgpack-c / CVE-2026-72854
CVE-2026-72854: is it exploited, and which versions of msgpack-c are affected and fixed?
CVE-2026-72854 is an integer overflow vulnerability in msgpack-c. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 19:39 UTC). Affected: msgpack-c through 7.0.1 (CVE record by VulnCheck). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (5.8, CVSS 3.1, from VulnCheck).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:39 UTC, CVE record November 19, 2026, 07:06 UTC and NVD November 19, 2026, 07:08 UTC.
What is CVE-2026-72854?
msgpack-c Integer Overflow in msgpack_unpacker_expand_buffer Causes a False-Success Undersized Reservation
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.
From the CVE record by VulnCheck, last updated September 24, 2026, 14:19 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| msgpack | msgpack-c | through 7.0.1 |
As the CVE record by VulnCheck states it, last updated September 24, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-72854?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.3 | CVSS 3.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:L | VulnCheck |
| Medium 5.8 | CVSS 4.0 | CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N | VulnCheck |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-72854 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, August 20, 2026)
- EPSS
- 0.11% probability of exploitation activity in the next 30 days, percentile 1.5 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- GitHub Issue #1181 issue-tracking
- msgpack_unpacker_expand_buffer at c-7.0.1 technical-description
- msgpack_unpacker_reserve_buffer capacity contract at c-7.0.1 technical-description
- Shipped example demonstrating the reserve-then-write pattern technical-description
- https://github.com/msgpack/msgpack-c product
- VulnCheck Advisory: msgpack-c Integer Overflow in msgpack_unpacker_expand_buffer Causes a False-Success Undersized Reservation third-party-advisory
Who found and reported it?
- mtholmquist (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- August 10, 2026
- Published
- August 20, 2026, 18:19 UTC
- CVE record updated
- September 24, 2026, 14:19 UTC by VulnCheck
- NVD
- Deferred, last modified October 18, 2026, 20:10 UTC
- Last checked
- CVE list November 19, 2026, 07:06 UTC; NVD November 19, 2026, 07:08 UTC; KEV December 3, 2026, 19:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect msgpack-c?
- Nov 23, 2026CVE-2026-135168 msgpack-c: out-of-bounds read
- Nov 23, 2026CVE-2026-135169 msgpack-c: use after free
- Nov 16, 2026CVE-2026-130065 msgpack-c: out-of-bounds write (memory corruption)
Questions about CVE-2026-72854
Is CVE-2026-72854 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 19:39 UTC. FIRST's EPSS gives it a 0.11% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of msgpack-c are affected by CVE-2026-72854?
msgpack-c through 7.0.1, per the CVE record by VulnCheck. The tables above give every range the sources list.
Which version fixes CVE-2026-72854?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2026-72854?
Medium (5.8, CVSS 3.1, from VulnCheck). The severity table above shows each score with its source.
Where is the official record of CVE-2026-72854?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.