Out-of-bounds heap read in msgpack-c X3 parser
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- Low · None · Low
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
msgpack-c cpp-3.0.0 through cpp-9.0.0, when built with MSGPACK_USE_X3_PARSE, contains an out-of-bounds heap read in x3_parse.hpp (CWE-125) because the parser assumes its input is contiguous. A remote attacker with no privileges can supply str, bin or ext values unpacked from non-contiguous containers such as std::deque, which makes memcpy read past storage blocks and disclose adjacent heap memory.
Written with Claude Haiku 5.5 from the sources below · 2026-11-23
Description from the CNA
msgpack-c C++ library cpp-3.0.0 through cpp-9.0.0, when built with MSGPACK_USE_X3_PARSE, contains an out-of-bounds heap read in x3_parse.hpp due to assuming contiguous input. Attackers can supply msgpack str, bin or ext values unpacked from non-contiguous containers like std::deque, causing memcpy past storage blocks and disclosing adjacent heap memory.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
The sources list no fixed version for msgpack-c.
Written with Claude Haiku 5.5 from the sources below · 2026-11-23
Timeline
- 2026-11-23 Threatist record created from CVE-2026-135168
- 2026-11-23 CISA SSVC decision points changed
- 2026-11-23 Alias added: GHSA-wjg6-9v9q-98vh
References
More msgpack vulnerabilities
- TI-2026-17336 Uncontrolled resource consumption in msgpack-java CVSS 3.1HIGH 7.5
- TI-2026-61499 msgpack-java through 0.9.12 Stack Overflow via Nested Arrays CVSS 4.0MEDIUM 6.9
- TI-2026-51079 msgpack-c Integer Overflow in msgpack_unpacker_expand_buffer Causes a False-Success Undersized Reservation CVSS 4.0MEDIUM 5.8
- TI-2026-39368 MessagePack::Buffer#clear Use-After-Free that Enables Cross-Buffer Disclosure CVSS 4.0LOW 2.1
- TI-2026-91059 Unchecked allocation in msgpack-java JRuby decoder exhausts JVM heap CVSS 3.1HIGH 7.5
- TI-2026-79420 Memory leak in msgpack-python C extension on rejected map keys CVSS 3.1HIGH 7.5
Sources
- CVE-2026-135168 · CVE Program
- CVE-2026-135168 · NVD
- FIRST EPSS
- GHSA-wjg6-9v9q-98vh · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences