CVE-2026-72854
A public proof of concept exists; no exploitation attested.
- Published2026-08-20
- WeaknessCWE-190 · CWE-787
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2026-08-2019:17CVE publishedNVD
Versions per branch
Products declared by the CNA1 product
As VulnCheck, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- msgpack-cother versions: not affected
https://github.com/msgpack/msgpack-c
Affected- ≤ 7.0.1no fix statedcustom
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-09-24
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- msgpackMageia:10all versions · fixed in 6.1.0-2.1.mga10
- msgpackAzure Linux:3all versions · no fixed version listedand 2 other packages
- msgpack-cUbuntu:26.10all versions · no fixed version listed
- msgpack-cUbuntu:26.04:LTSall versions · no fixed version listed
- msgpack-cUbuntu:24.04:LTSall versions · no fixed version listed
- msgpack-cUbuntu:22.04:LTSall versions · no fixed version listed
- msgpack-cUbuntu:20.04:LTSall versions · no fixed version listed
- msgpack-cUbuntu:18.04:LTSall versions · no fixed version listed
8 more package ranges on OSV.dev
Vendor advisories
- CVE-2026-72854 Red Hat Product Security
msgpack-c: msgpack-c: Heap buffer overflow via integer overflow in buffer expansion.
Fix
No fix published by the sources we read yet. NVD record
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2026-08-20
- PoC-in-GitHubno public repository identifiedread 2026-12-03
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionpoc2026-08-20
- CNACVSS 4.05.8known since 2026-10-23
- NVDCVSS 3.15.3read 2026-10-23
- NVDweakness (CWE)CWE-190, CWE-787read 2026-10-23
- FIRST EPSSEPSS score0.1 %2026-12-03
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- AZL-97458same flawAzure Linux · MIT
- AZL-97512same flawAzure Linux · MIT
- AZL-97515same flawAzure Linux · MIT
- EUVD-2026-63537same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-p5jw-mm77-f8jpsame flawGitHub Advisory Database · CC-BY-4.0
- MGASA-2026-0533advisory covering several CVEsMageia · LicenseRef-unstated
- openSUSE-SU-2026:11672-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2026:21768-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- SUSE-SU-2026:23630-1advisory covering several CVEsSUSE · LicenseRef-unstated
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:L
- CVSS 4.0 vector
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- Published
- 2026-08-20
- Last modified
- 2026-10-18
- NVD status
- Deferred
- GitHub advisory
- GHSA-p5jw-mm77-f8jp
Frequently asked questions
What is CVE-2026-72854?
Is CVE-2026-72854 actively exploited?
What is the CVSS score for CVE-2026-72854?
Running msgpack-c? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2026-135168same productmsgpack-c cpp-3.0.0 through cpp-9.0.0 Out-of-Bounds Read via Boost.X3 Parser
- CVE-2026-135169same productmsgpack-c cpp-3.0.0 through cpp-9.0.0 Use-After-Free via Boost.X3 Parser
- CVE-2026-130065same productmsgpack-c through 7.0.2 Heap Buffer Overflow via msgpack_vrefbuffer_migrate
- CVE-2026-19490KEVsame week
- CVE-2026-64849KEVsame week
- CVE-2026-20320KEVsame week
- CVE-2026-72530KEVsame week
- CVE-2026-72529KEVsame week
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-p5jw-mm77-f8jp
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0