CVE-2026-126366
Last modified
CVE-2026-126366 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. MessagePack for Ruby is an implementation of the MessagePack binary serialization format. Prior to 1.8.7, the Java-platform msgpack gem for JRuby allocated arrays and byte buffers directly from attacker-controlled array32, str32, and bin32 declared sizes before confirming that corresponding elements or bytes were available.
Description
MessagePack for Ruby is an implementation of the MessagePack binary serialization format. Prior to 1.8.7, the Java-platform msgpack gem for JRuby allocated arrays and byte buffers directly from attacker-controlled array32, str32, and bin32 declared sizes before confirming that corresponding elements or bytes were available. A short MessagePack header could therefore trigger a very large allocation or sustained heap growth when an application decoded untrusted input through MessagePack.unpack or MessagePack::Unpacker, potentially exhausting the shared JVM heap. map32 and declared counts at or above 2^31 did not use the affected allocation behavior. This issue is fixed in version 1.8.7.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| msgpack | msgpack-ruby | < 1.8.7 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-126366?
How severe is CVE-2026-126366?
How do I fix CVE-2026-126366?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-126360OpenTelemetry Python provides the Python API and SDK for Ope…5.3
- CVE-2026-126361Astro is a web framework for content-driven websites. Prior …2.3
- CVE-2026-126362Astro is a web framework for content-driven websites. From 5…2.3
- CVE-2026-126363Astro is a web framework for content-driven websites. From 0…2.3
- CVE-2026-126364Astro is a web framework for content-driven websites. From 5…6.3
- CVE-2026-126365Astro is a web framework for content-driven websites. Prior …5.4
- CVE-2026-126367@grpc/grpc-js implements the core functionality of gRPC pure…4.8
- CVE-2026-1264IBM Sterling B2B Integrator and IBM Sterling File Gateway 6.…6.5
- CVE-2026-12644Versions of the package ts-deepmerge before 8.0.0 are vulner…5.5
- CVE-2026-12645A Missing Authorization vulnerability in Ivanti Neurons for …8.8
- CVE-2026-12646A Missing Authorization vulnerability in Ivanti Neurons for …8.8
- CVE-2026-12647A Missing Authorization vulnerability in Ivanti Neurons for …8.8
Are you affected by CVE-2026-126366?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
