Every CVESearch/Get API key

CVE-2026-126366

msgpack-java JRuby decoder allocates from declared header counts with no cap: 5-byte message forces multi-GiB OOM

7.5 HighFix available

CVE-2026-126366 is a high vulnerability (CVSS 7.5) in Msgpack Msgpack-ruby, published November 12, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.53%, the 45th percentile. Fixed in msgpack 1.8.7.

What does this mean?
Severity
7.5 HighCVSS 3.1, CVE List
Exploit chance
0.53%EPSS, 45th percentile
Exploitation
None knownNot on CISA’s or ENISA’s lists
Fixed in
1.8.7msgpack +76 more

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

0.53%Unchanged since Nov 13, 2026
90%50%10%1%

Affected products

Affected packages

Affected packages
PackageAffectedFixed
msgpack
RubyGems
through 1.8.6
1.8.7
rubygem-msgpack
Azure Linux:3
through 1.8.4-1None known
gitlab-rails-18
Docker Hardened Images:Alpine:3.24
Listed versions
18.11.11-r018.11.11-r118.11.11-r218.11.12-r018.11.12-r1
Show 15 moreShow less
18.11.12-r218.11.12-r318.11.12-r418.11.14-r018.11.14-r118.11.14-r1018.11.14-r1118.11.14-r218.11.14-r318.11.14-r418.11.14-r518.11.14-r618.11.14-r718.11.14-r818.11.14-r9
None known
gitlab-rails-19
Docker Hardened Images:Alpine:3.24
Listed versions
19.1.8-r019.1.8-r119.4.1-r019.4.1-r119.4.1-r2
Show 16 moreShow less
19.4.1-r319.4.2-r019.5.3-r019.5.3-r119.5.3-r219.5.3-r319.5.3-r419.5.3-r519.5.3-r619.5.3-r719.5.3-r819.5.4-r019.5.4-r119.5.5-r019.5.5-r119.5.5-r2
None known
fluentd-1.19-dev
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-1.19-oci-config
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-1.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-1.20-dev
Docker Hardened Images:Debian:13
Listed versions
1.20.0-01.20.1-01.20.1-1
None known
fluentd-1.20-oci-config
Docker Hardened Images:Debian:13
Listed versions
1.20.0-01.20.1-01.20.1-1
None known
fluentd-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.0-01.20.1-01.20.1-1
None known
Show 67 moreShow less
Affected packages
PackageAffectedFixed
fluentd-dev
Docker Hardened Images:Debian:13
Listed versions
1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12
Show 39 moreShow less
1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-271.19.3-281.19.3-291.19.3-31.19.3-301.19.3-311.19.3-321.19.3-331.19.3-341.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8
None known
fluentd-kubernetes-daemonset-azureblob-1.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-azureblob-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-azureblob
Docker Hardened Images:Debian:13
Listed versions
1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12
Show 31 moreShow less
1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8
None known
fluentd-kubernetes-daemonset-cloudwatch-1.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-cloudwatch-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-cloudwatch
Docker Hardened Images:Debian:13
Listed versions
1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12
Show 31 moreShow less
1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8
None known
fluentd-kubernetes-daemonset-datadog-1.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-datadog-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-datadog
Docker Hardened Images:Debian:13
Listed versions
1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12
Show 31 moreShow less
1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8
None known
fluentd-kubernetes-daemonset-elasticsearch7-1.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-elasticsearch7-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-elasticsearch7
Docker Hardened Images:Debian:13
Listed versions
1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12
Show 31 moreShow less
1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8
None known
fluentd-kubernetes-daemonset-elasticsearch8-1.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-elasticsearch8-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-elasticsearch8
Docker Hardened Images:Debian:13
Listed versions
1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12
Show 31 moreShow less
1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8
None known
fluentd-kubernetes-daemonset-forward-1.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-forward-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-forward
Docker Hardened Images:Debian:13
Listed versions
1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12
Show 31 moreShow less
1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8
None known
fluentd-kubernetes-daemonset-gcs-1.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-gcs-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-gcs
Docker Hardened Images:Debian:13
Listed versions
1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12
Show 31 moreShow less
1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8
None known
fluentd-kubernetes-daemonset-graylog-1.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-graylog-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-graylog
Docker Hardened Images:Debian:13
Listed versions
1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12
Show 31 moreShow less
1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8
None known
fluentd-kubernetes-daemonset-kafka-1.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-kafka-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-kafka2-1.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-kafka2-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-kafka2
Docker Hardened Images:Debian:13
Listed versions
1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12
Show 31 moreShow less
1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8
None known
fluentd-kubernetes-daemonset-kafka
Docker Hardened Images:Debian:13
Listed versions
1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12
Show 31 moreShow less
1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8
None known
fluentd-kubernetes-daemonset-kinesis-1.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-kinesis-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-kinesis
Docker Hardened Images:Debian:13
Listed versions
1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12
Show 31 moreShow less
1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8
None known
fluentd-kubernetes-daemonset-logentries-1.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-logentries-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-logentries
Docker Hardened Images:Debian:13
Listed versions
1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12
Show 31 moreShow less
1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8
None known
fluentd-kubernetes-daemonset-loggly-1.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-loggly-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-loggly
Docker Hardened Images:Debian:13
Listed versions
1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12
Show 31 moreShow less
1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8
None known
fluentd-kubernetes-daemonset-logzio-1.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-logzio-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-logzio
Docker Hardened Images:Debian:13
Listed versions
1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12
Show 31 moreShow less
1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8
None known
fluentd-kubernetes-daemonset-opensearch-1.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-opensearch-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-opensearch
Docker Hardened Images:Debian:13
Listed versions
1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12
Show 31 moreShow less
1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8
None known
fluentd-kubernetes-daemonset-papertrail-1.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-papertrail-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-papertrail
Docker Hardened Images:Debian:13
Listed versions
1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12
Show 31 moreShow less
1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8
None known
fluentd-kubernetes-daemonset-s3-1.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-s3-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-s3
Docker Hardened Images:Debian:13
Listed versions
1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12
Show 31 moreShow less
1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8
None known
fluentd-kubernetes-daemonset-syslog-1.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-syslog-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-syslog
Docker Hardened Images:Debian:13
Listed versions
1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12
Show 31 moreShow less
1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8
None known
fluentd-oci-config
Docker Hardened Images:Debian:13
Listed versions
1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12
Show 39 moreShow less
1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-271.19.3-281.19.3-291.19.3-31.19.3-301.19.3-311.19.3-321.19.3-331.19.3-341.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8
None known
fluentd
Docker Hardened Images:Debian:13
Listed versions
1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12
Show 39 moreShow less
1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-271.19.3-281.19.3-291.19.3-31.19.3-301.19.3-311.19.3-321.19.3-331.19.3-341.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8
None known
gitlab-rails-18
Docker Hardened Images:Debian:13
Listed versions
18.11.11-018.11.11-118.11.11-218.11.12-018.11.12-1
Show 18 moreShow less
18.11.12-218.11.14-018.11.14-118.11.14-1018.11.14-1118.11.14-1218.11.14-1318.11.14-1418.11.14-1518.11.14-1618.11.14-218.11.14-318.11.14-418.11.14-518.11.14-618.11.14-718.11.14-818.11.14-9
None known
gitlab-rails-19
Docker Hardened Images:Debian:13
Listed versions
19.1.8-019.1.8-119.4.1-019.4.1-119.4.1-2
Show 20 moreShow less
19.4.2-019.5.3-019.5.3-119.5.3-219.5.3-319.5.3-419.5.3-519.5.3-619.5.3-719.5.3-819.5.3-919.5.4-019.5.4-119.5.5-019.5.5-119.5.5-219.5.5-319.5.5-419.5.5-519.5.5-6
None known
msgpack
RubyGems
before 1.8.7, plus listed versions
0.0.10.2.00.2.10.2.20.3.0
Show 45 moreShow less
0.3.10.3.20.3.30.3.40.3.50.3.60.3.70.3.80.3.90.4.00.4.10.4.20.4.30.4.40.4.50.4.60.4.70.5.00.5.10.5.100.5.110.5.120.5.20.5.30.5.40.5.50.5.60.5.70.5.80.5.90.6.00.6.0pre10.6.10.6.20.7.00.7.0dev10.7.10.7.20.7.2dev10.7.30.7.40.7.50.7.61.0.01.0.1
1.8.7
ruby-msgpack
Ubuntu:16.04:LTS
All versions, plus listed versions
0.6.2-1build10.6.2-1build20.6.2-1build30.6.2-1build4
None known
ruby-msgpack
Ubuntu:18.04:LTS
All versions, plus listed versions
1.0.0-11.1.0-11.1.0-1build11.1.0-1build2
None known
ruby-msgpack
Ubuntu:20.04:LTS
All versions, plus listed versions
1.1.0-1build21.1.0-1build3
None known
ruby-msgpack
Ubuntu:22.04:LTS
All versions, plus listed versions
1.1.0-2build11.1.0-2build21.4.2-2
None known
ruby-msgpack
Ubuntu:24.04:LTS
All versions, plus listed versions
1.4.2-2build21.4.2-2build31.4.2-2build4
None known
ruby-msgpack
Ubuntu:26.10
All versions, plus listed versions
1.8.0-11.8.3-11.8.4-1
None known
ruby-msgpack
Ubuntu:26.04:LTS
All versions, plus listed versions
1.7.2-1.11.8.0-1
None known

What each source reports

CVE List Score used7.5

msgpack-java JRuby decoder allocates from declared header counts with no cap: 5-byte message forces multi-GiB OOM

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.

Record
CVE-2026-126366
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-770, CWE-1325
Updated
2026-11-12
EUVDEUVD-2026-1247507.5

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.

Record
EUVD-2026-124750
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-13
GitHub AdvisoriesGHSA-73v3-wf97-vpgj7.5

msgpack-ruby JRuby decoder makes uncapped header-count allocations; a 5-byte message forces multi-GiB OOM

Summary

The JRuby implementation of msgpack (msgpack gem, java platform — pure Java decoder under ext/java/) sizes containers directly from the element count written in the message header, with no cap at all: no equivalent of the C unpacker's SHRT_MAX clamp (since 1.7.3) and none of the buffered-bytes cap that commit c8d42d8 added for CRuby in 1.8.6. A single 5-byte message decides how much memory a JVM process tries to allocate:

  • array32 header declaring 0x7FFFFFFF elements → new IRubyObject[0x7FFFFFFF] (~8 GiB of reference slots) attempted immediately → java.lang.OutOfMemoryError: Requested array size exceeds VM limit.
  • Counts below the VM's max-array-size but above available heap (e.g. 5×10⁸ with a 512 MiB heap) produce a real allocation attempt — OutOfMemoryError: Java heap space — the JVM genuinely tries to take the memory before failing.
  • str32/bin32 headers declaring 0x7FFFFFFF bytes do the same via readBytes(size) → new byte[size].
  • Below the failure threshold there is a silent band: one streaming unpacker fed only an array32 header with count 2×10⁷ (5 wire bytes, zero elements) grows used heap +78 MiB immediately, no exception (each swallows the underflow), and the footprint stays elevated after Unpacker#reset + full GC. Linear in declared count (~4 B/element); nothing bounds it — not delivered bytes, not a per-container cap.

Only counts ≥ 2³¹ are refused (a clean MessagePack::UnderflowError from getUnsignedInt()), and only maps are safe (consumeHash grows per element instead of pre-sizing). Verified on the released gem msgpack 1.8.6 java, JRuby 9.4.12 / OpenJDK 25, 2026-10-30 — i.e. unfixed in the current release. Proposed fix mirrors c8d42d8: cap initial allocation by bytes actually buffered and grow as data arrives; read strings in bounded chunks instead of allocating the declared length up front.

Details

1. The four dispatch arms, and which pre-allocate (line numbers at tag v1.8.6 — current release; ext/java has no commits after it)

| header | dispatch (Decoder.java) | behaviour on the declared count | measured (released 1.8.6-java, Xmx512m) | |---|---|---|---| | array32 \xdd | :296 → consumeArray(int size) :139-145 | new IRubyObject[size] immediately, before reading any element | count 0x7FFFFFFF: OOME "Requested array size exceeds VM limit"; count 5×10⁸: OOME "Java heap space" (real allocation attempt); count 2×10⁷: +78 MiB, silent | | str32 \xdb | :294 → consumeString :129 → readBytes(int size) :186-190 | new byte[size] immediately | len 0x7FFFFFFF: OOME "array size exceeds VM limit" | | bin32 \xc6 | :269 → same consumeString/readBytes | same | len 0x7FFFFFFF: OOME "array size exceeds VM limit" | | map32 \xdf | :298 → consumeHash(int size) :147+ | no pre-allocation — inserts per element, underflows on first missing byte | count 0x7FFFFFFF: no exception (swallowed), no large allocation |

The only guard is…

Record
GHSA-73v3-wf97-vpgj
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-770, CWE-1325
Updated
2026-11-12
NVD7.5

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.

Record
CVE-2026-126366
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-770, CWE-1325
Updated
2026-11-13
OSV7.5

msgpack-java JRuby decoder allocates from declared header counts with no cap: 5-byte message forces multi-GiB OOM

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.

Record
CVE-2026-126366
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-1325, CWE-770
Updated
2026-11-14
OSVDHI-4lzs-kcmy-bnh7-x5g27.5

MessagePack for Ruby is an implementation of the MessagePack binary serialization format. Prior to 1.8.7, the…

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.

Record
DHI-4lzs-kcmy-bnh7-x5g2
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-16
OSVGHSA-73v3-wf97-vpgj7.5

msgpack-ruby JRuby decoder makes uncapped header-count allocations; a 5-byte message forces multi-GiB OOM

Summary

The JRuby implementation of msgpack (msgpack gem, java platform — pure Java decoder under ext/java/) sizes containers directly from the element count written in the message header, with no cap at all: no equivalent of the C unpacker's SHRT_MAX clamp (since 1.7.3) and none of the buffered-bytes cap that commit c8d42d8 added for CRuby in 1.8.6. A single 5-byte message decides how much memory a JVM process tries to allocate:

  • array32 header declaring 0x7FFFFFFF elements → new IRubyObject[0x7FFFFFFF] (~8 GiB of reference slots) attempted immediately → java.lang.OutOfMemoryError: Requested array size exceeds VM limit.
  • Counts below the VM's max-array-size but above available heap (e.g. 5×10⁸ with a 512 MiB heap) produce a real allocation attempt — OutOfMemoryError: Java heap space — the JVM genuinely tries to take the memory before failing.
  • str32/bin32 headers declaring 0x7FFFFFFF bytes do the same via readBytes(size) → new byte[size].
  • Below the failure threshold there is a silent band: one streaming unpacker fed only an array32 header with count 2×10⁷ (5 wire bytes, zero elements) grows used heap +78 MiB immediately, no exception (each swallows the underflow), and the footprint stays elevated after Unpacker#reset + full GC. Linear in declared count (~4 B/element); nothing bounds it — not delivered bytes, not a per-container cap.

Only counts ≥ 2³¹ are refused (a clean MessagePack::UnderflowError from getUnsignedInt()), and only maps are safe (consumeHash grows per element instead of pre-sizing). Verified on the released gem msgpack 1.8.6 java, JRuby 9.4.12 / OpenJDK 25, 2026-10-30 — i.e. unfixed in the current release. Proposed fix mirrors c8d42d8: cap initial allocation by bytes actually buffered and grow as data arrives; read strings in bounded chunks instead of allocating the declared length up front.

Details

1. The four dispatch arms, and which pre-allocate (line numbers at tag v1.8.6 — current release; ext/java has no commits after it)

| header | dispatch (Decoder.java) | behaviour on the declared count | measured (released 1.8.6-java, Xmx512m) | |---|---|---|---| | array32 \xdd | :296 → consumeArray(int size) :139-145 | new IRubyObject[size] immediately, before reading any element | count 0x7FFFFFFF: OOME "Requested array size exceeds VM limit"; count 5×10⁸: OOME "Java heap space" (real allocation attempt); count 2×10⁷: +78 MiB, silent | | str32 \xdb | :294 → consumeString :129 → readBytes(int size) :186-190 | new byte[size] immediately | len 0x7FFFFFFF: OOME "array size exceeds VM limit" | | bin32 \xc6 | :269 → same consumeString/readBytes | same | len 0x7FFFFFFF: OOME "array size exceeds VM limit" | | map32 \xdf | :298 → consumeHash(int size) :147+ | no pre-allocation — inserts per element, underflows on first missing byte | count 0x7FFFFFFF: no exception (swallowed), no large allocation |

The only guard is…

Record
GHSA-73v3-wf97-vpgj
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-1325, CWE-770
Updated
2026-11-12
OSVUBUNTU-CVE-2026-1263667.5

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.

Record
UBUNTU-CVE-2026-126366
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-13
OSVAZL-114061No score

CVE-2026-126366 affecting package rubygem-msgpack 1.8.4-1

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.

Record
AZL-114061
Updated
2026-11-15

History

History
RecordedChangedSources
affected, aliases, referencesOSV
affected, aliases, referencesOSV
publishedEUVD
affected, aliases, referencesOSV
referencesNVD, OSV
publishedEUVD
description, references, severity, titleCVE List
aliases, products, publishedEUVD
affected, referencesOSV
first indexedGitHub Advisories

Dates are when Every CVE recorded each change. Upstream dates may differ.

References

Show 6 moreShow less
This page doesn't list everything

Left out here: 48 versions and the rest of 2 source descriptions. The JSON record has them.

MoveEnter Open