GHSA-8f34-f56x-9xph

Suggest an improvement
Source
https://github.com/advisories/GHSA-8f34-f56x-9xph
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-8f34-f56x-9xph/GHSA-8f34-f56x-9xph.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-8f34-f56x-9xph
Aliases
  • CVE-2026-107302
Published
2026-10-08T17:40:10Z
Modified
2026-10-08T18:00:09Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
msgpack5: Truncated map32 headers throw an unexpected error
Details

Impact

A truncated map32 header causes an out-of-bounds buffer read and throws RangeError instead of IncompleteBufferError. Applications that rely on IncompleteBufferError to wait for additional bytes may terminate a request, stream, or worker unexpectedly. No adjacent memory is disclosed because the buffer implementation checks bounds.

Patches

The decoder now validates the complete five-byte map32 header before reading its length and reports truncated input as IncompleteBufferError.

Workarounds

Require at least five bytes before decoding a value beginning with 0xdf, or catch RangeError and treat it as incomplete input only for truncated map32 headers.

Database specific
{
    "cwe_ids": [
        "CWE-125"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-10-08T17:40:10Z",
    "nvd_published_at": null,
    "severity": "HIGH"
}
References

Affected packages

npm / msgpack5

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
6.1.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-8f34-f56x-9xph/GHSA-8f34-f56x-9xph.json"