{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-72854 exists.","fix":"Apply the vendor's patch.","what":"CVE-2026-72854 is a medium-severity vulnerability in msgpack-c, published on 20 Aug 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-72854 and fix it if it is affected.\n\nWhat it is: CVE-2026-72854 is a medium-severity vulnerability in msgpack-c, published on 20 Aug 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-72854 exists.\n\nAffected product: msgpack-c. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-72854/ (Markdown: https://insights.sbomify.com/CVE-2026-72854/index.md)","id":"CVE-2026-72854","markdown":"https://insights.sbomify.com/CVE-2026-72854/index.md","name":"CVE-2026-72854","record":{"aliases":["AZL-97458","AZL-97512","AZL-97515","DEBIAN-CVE-2026-72854","GHSA-p5jw-mm77-f8jp","MGASA-2026-0533","SUSE-SU-2026:23630-1","UBUNTU-CVE-2026-72854","openSUSE-SU-2026:11672-1","openSUSE-SU-2026:21768-1"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"msgpack-c library","requires_auth":"none","summary":"An integer overflow in msgpack-c's buffer expansion allows heap buffer overflows when integrating with length-prefixed transports, potentially leading to code execution.","user_interaction":"required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":5.8,"severity":"medium","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"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.","ecosystems":["SUSE:Linux Enterprise Server 16.0","SUSE:Linux Enterprise Server for SAP applications 16.0","openSUSE:Leap 16.0","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"msgpack-c Integer Overflow in msgpack_unpacker_expand_buffer Causes a False-Success Undersized Reservation","id":"CVE-2026-72854","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"integer_overflow","year":"2026"},"n_packages":4,"n_references":6,"next":{"headline":"Budibase before 3.40.0 DNS Rebinding SSRF via OpenAPI and REST","id":"CVE-2026-72855"},"packages":[{"ecosystem":"SUSE:Linux Enterprise Server 16.0","fixed":["7.0.2-160000.1.1"],"introduced":["0"],"last_affected":[],"package":"msgpack-c","purl":"pkg:rpm/suse/msgpack-c\u0026distro=SUSE%20Linux%20Enterprise%20Server%2016.0","source":"SUSE-SU-2026:23630-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP applications 16.0","fixed":["7.0.2-160000.1.1"],"introduced":["0"],"last_affected":[],"package":"msgpack-c","purl":"pkg:rpm/suse/msgpack-c\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20applications%2016.0","source":"SUSE-SU-2026:23630-1"},{"ecosystem":"openSUSE:Leap 16.0","fixed":["7.0.2-160000.1.1"],"introduced":["0"],"last_affected":[],"package":"msgpack-c","purl":"pkg:rpm/opensuse/msgpack-c\u0026distro=openSUSE%20Leap%2016.0","source":"openSUSE-SU-2026:21768-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["7.0.2-2.1"],"introduced":["0"],"last_affected":[],"package":"msgpack-c","purl":"pkg:rpm/opensuse/msgpack-c\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:11672-1"}],"prev":{"headline":"Budibase before 3.40.0 SQL Injection via Oracle connector","id":"CVE-2026-72853"},"products":["msgpack-c"],"published":"2026-08-20","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-24","vendors":["msgpack"]},"summary":"An integer overflow in msgpack-c's buffer expansion allows heap buffer overflows when integrating with length-prefixed transports, potentially leading to code execution.","url":"https://insights.sbomify.com/CVE-2026-72854/"}