# msgpack5: Decoding negative int64 values mutates the input buffer

Advisory record · `GHSA-qw35-55vc-rhgj`

- **Identifiers:** `GHSA-qw35-55vc-rhgj` · `CVE-2026-107296`
- **State:** Confirmed
- **Severity:** CVSS 3.7 Low
- **Critical:** No
- **Weakness (CWE):** [CWE-471](https://cwe.mitre.org/data/definitions/471.html)
- **Tags:** [CWE-471](https://agentprime.io/advisories/tag/cwe-471.md)
- **Published:** 8 Oct 2026
- **Updated:** 8 Oct 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 8 Oct 2026, 17:39 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `msgpack5` (npm): affected `<6.1.0`; fixed in `6.1.0`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The npm package msgpack5 is vulnerable in versions before 6.1.0. Decoding a negative signed 64-bit integer changes the bytes of the caller's input buffer, and positive integers and other value types are not affected. An attacker is not described as needing any particular access; the risk is that applications that keep or reuse the encoded input may silently see corrupted data. Upgrade to msgpack5 6.1.0, which computes these values without writing to the input buffer, or copy input before decoding it.

Written 31 Oct 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 3.7 Low, CVSS 3.1: `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0028, the 20th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 13:33 UTC: First seen by agentprime
- 31 Oct 2026, 13:33 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-qw35-55vc-rhgj)

## Sources

- [GitHub Advisory Database: GHSA-qw35-55vc-rhgj](https://github.com/advisories/GHSA-qw35-55vc-rhgj)
- [OSV: GHSA-qw35-55vc-rhgj](https://osv.dev/vulnerability/GHSA-qw35-55vc-rhgj)
- <https://github.com/mcollina/msgpack5/security/advisories/GHSA-qw35-55vc-rhgj>
- <https://github.com/mcollina/msgpack5/commit/82b70393a824e1088a45a377548d1d9ab82faf91>
- <https://github.com/mcollina/msgpack5>
- <https://github.com/mcollina/msgpack5/releases/tag/v6.1.0>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-qw35-55vc-rhgj>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-qw35-55vc-rhgj/>. Everything for agents: <https://agentprime.io/llms.txt>.
