msgpack-java — security advisory
msgpack-java through 0.9.12 contains a stack overflow vulnerability in MessageUnpacker.unpackValue() that recursively deserializes arrays and maps without nesting depth limits. Attackers can craft payloads with deeply nested arrays to exhaust the deserializing thread's stack and trigger StackOverflowError, causing per-request deserialization failures.
- Products
- msgpack-java
- Affected versions
- 0.8.18-2, 0.8.19-1, 0.8.22-2, 0.9.0-1, 0.9.0-2, 0.9.5-1, 0.9.6-1, 0.9.6-1build1
- Fixed versions
- Not specified
- CVEs
- CVE-2026-90472
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 03:31 UTC · Revision 1
Source evidence
msgpack-java through 0.9.12 contains a stack overflow vulnerability in MessageUnpacker.unpackValue() that recursively deserializes arrays and maps without nesting depth limits. Attackers can craft payloads with deeply nested arrays to exhaust the deserializing thread's stack and trigger StackOverflowError, causing per-request deserialization failures.
osv:UBUNTU-CVE-2026-90472
msgpack-java
Fixed versions: Not specified
msgpack-java
Fixed versions: Not specified
msgpack-java
Fixed versions: Not specified
msgpack-java
Fixed versions: Not specified
msgpack-java
Fixed versions: Not specified
Complete source record
{
"id": "3842907ce6d1b27b760d13a8d11f4f2354f63bcfceae244a380871ec10025456",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-90472",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-90472",
"summary": "msgpack-java through 0.9.12 contains a stack overflow vulnerability in MessageUnpacker.unpackValue() that recursively deserializes arrays and maps without nesting depth limits. Attackers can craft payloads with deeply nested arrays to exhaust the deserializing thread's stack and trigger StackOverflowError, causing per-request deserialization failures.",
"evidence": "osv:UBUNTU-CVE-2026-90472",
"products": [
{
"name": {
"value": "msgpack-java",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.8.18-2",
"evidence": "/affected/0/versions"
},
{
"value": "0.8.19-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "msgpack-java",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.8.22-2",
"evidence": "/affected/1/versions"
},
{
"value": "0.9.0-1",
"evidence": "/affected/1/versions"
},
{
"value": "0.9.0-2",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "msgpack-java",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.9.5-1",
"evidence": "/affected/2/versions"
},
{
"value": "0.9.6-1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "msgpack-java",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.9.6-1build1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "msgpack-java",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.9.6-1",
"evidence": "/affected/4/versions"
},
{
"value": "0.9.6-1build1",
"evidence": "/affected/4/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2026-90472",
"aliases": [
"UBUNTU-CVE-2026-90472"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
},
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "msgpack-java",
"purl": "pkg:deb/ubuntu/msgpack-java?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"0.8.18-2",
"0.8.19-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-90472.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libmsgpack-java",
"binary_version": "0.8.19-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "msgpack-java",
"purl": "pkg:deb/ubuntu/msgpack-java?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"0.8.22-2",
"0.9.0-1",
"0.9.0-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-90472.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libmsgpack-java",
"binary_version": "0.9.0-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "msgpack-java",
"purl": "pkg:deb/ubuntu/msgpack-java?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"0.9.5-1",
"0.9.6-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-90472.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libmsgpack-java",
"binary_version": "0.9.6-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "msgpack-java",
"purl": "pkg:deb/ubuntu/msgpack-java?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"0.9.6-1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-90472.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libmsgpack-java",
"binary_version": "0.9.6-1build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "msgpack-java",
"purl": "pkg:deb/ubuntu/msgpack-java?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"0.9.6-1",
"0.9.6-1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-90472.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libmsgpack-java",
"binary_version": "0.9.6-1build1"
}
]
}
}
],
"modified": "2026-10-17T13:01:16.572386557Z",
"provider": "osv",
"upstream": [
"CVE-2026-90472"
],
"references": [
"https://ubuntu.com/security/CVE-2026-90472",
"https://www.cve.org/CVERecord?id=CVE-2026-90472",
"https://github.com/msgpack/msgpack-java/issues/1015",
"https://github.com/msgpack/msgpack-java",
"https://github.com/msgpack/msgpack-java/blob/v0.9.12/msgpack-core/src/main/java/org/msgpack/core/MessageUnpacker.java#L646-L664",
"https://www.vulncheck.com/advisories/msgpack-java-through-0.9.12-stack-overflow-via-nested-arrays"
]
},
"related_cves": [
{
"value": "CVE-2026-90472",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/1/score"
},
"source_id": "core-osv",
"document_id": 361458,
"published_at": "2026-09-12T11:16:00+00:00"
}