cve.bz

CVE-2026-72854 msgpack msgpack-c: Year 2038 problem, Y2K38, Y2038, Epochalypse

5.8 mediumEPSS 0.2%

Medium (5.8) in msgpack msgpack-c. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

5.8 medium
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

CVSS 3.1

5.3 medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:L
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 5th percentile. Scored 2026-11-16. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2026-08-20. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-72854 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-72854?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-72854?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-72854 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
msgpack-cthrough 7.0.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13msgpack-cno fix listedDEBIAN-CVE-2026-72854
Debian14msgpack-c7.0.2-1DEBIAN-CVE-2026-72854
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 3 moremsgpack-cno fix listedUBUNTU-CVE-2026-72854
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0msgpack-c7.0.2-160000.1.1SUSE-SU-2026:23630-1
openSUSELeap 16.0msgpack-c7.0.2-160000.1.1openSUSE-SU-2026:21768-1
openSUSETumbleweedmsgpack-c7.0.2-2.1openSUSE-SU-2026:11672-1
Azure Linux3fluent-bitno fix listedAZL-97458
Azure Linux3lttng-toolsno fix listedAZL-97512
Azure Linux3msgpackno fix listedAZL-97515

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON