GHSA-qw35-55vc-rhgj

Suggest an improvement
Source
https://github.com/advisories/GHSA-qw35-55vc-rhgj
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-qw35-55vc-rhgj/GHSA-qw35-55vc-rhgj.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-qw35-55vc-rhgj
Aliases
Published
2026-10-08T17:39:30Z
Modified
2026-10-08T17:45:03Z
Severity
  • 3.7 (Low) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N CVSS Calculator
Summary
msgpack5: Decoding negative int64 values mutates the input buffer
Details

Impact

Decoding a negative signed 64-bit integer modifies the corresponding bytes in the caller-provided input buffer. Applications that retain or reuse encoded input for integrity checks, logging, or subsequent processing may observe silently corrupted data.

Positive integers and other MessagePack value types are not affected.

Patches

The decoder now computes signed 64-bit values without writing to the input buffer.

Workarounds

Copy untrusted MessagePack input before decoding it, or do not retain or reuse input buffers after decoding.

Database specific
{
    "cwe_ids": [
        "CWE-471"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-10-08T17:39:30Z",
    "nvd_published_at": null,
    "severity": "LOW"
}
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-qw35-55vc-rhgj/GHSA-qw35-55vc-rhgj.json"