# Vitess vulnerable to infinite memory consumption and vtgate crash

Advisory record · `GHSA-649x-hxfx-57j2`

- **Identifiers:** `GHSA-649x-hxfx-57j2` · `CVE-2024-32886` · `GO-2024-2826`
- **State:** Confirmed
- **Severity:** CVSS 4.9 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-835](https://cwe.mitre.org/data/definitions/835.html)
- **Tags:** [Denial of service](https://agentprime.io/advisories/tag/dos.md)
- **Published:** 8 May 2024
- **Updated:** 10 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 8 May 2024, 14:32 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `github.com/vitessio/vitess` (Go): affected `>=19.0.0, <19.0.4 || >=18.0.0, <18.0.5 || <17.0.7`; fixed in `19.0.4`, `18.0.5`, `17.0.7`
- `vitess.io/vitess` (Go): affected `<0.17.7 || >=0.18.0, <0.18.5 || >=0.19.0, <0.19.4`; fixed in `0.17.7`, `0.18.5`, `0.19.4`

## Machine-written summary

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

> Vitess (github.com/vitessio/vitess versions before 17.0.7, 18.0.0 up to 18.0.5, and 19.0.0 up to 19.0.4; and vitess.io/vitess versions before 0.17.7, 0.18.0 up to 0.18.5, and 0.19.0 up to 0.19.4) can be driven into an endless loop with unbounded memory growth when evaluating certain queries using utf16, utf32, or ucs2 character sets. A user who can submit such a query to vtgate can cause a denial of service that eventually exhausts memory. Upgrade to 17.0.7, 18.0.5, 19.0.4, or 0.17.7, 0.18.5, 0.19.4 as appropriate for your module path.

Written 2 Nov 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

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

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

## Timeline

- 31 Oct 2026, 14:15 UTC: First seen by agentprime
- 31 Oct 2026, 14:15 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-649x-hxfx-57j2)

## Sources

- [GitHub Advisory Database: GHSA-649x-hxfx-57j2](https://github.com/advisories/GHSA-649x-hxfx-57j2)
- [OSV: GHSA-649x-hxfx-57j2](https://osv.dev/vulnerability/GHSA-649x-hxfx-57j2)
- <https://github.com/vitessio/vitess/security/advisories/GHSA-649x-hxfx-57j2>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-32886>
- <https://github.com/vitessio/vitess/commit/2fd5ba1dbf6e9b32fdfdaf869d130066b1b5c0df>
- <https://github.com/vitessio/vitess/commit/9df4b66550e46b5d7079e21ed0e1b0f49f92b055>
- <https://github.com/vitessio/vitess/commit/c46dc5b6a4329a10589ca928392218d96031ac8d>
- <https://github.com/vitessio/vitess/commit/d438adf7e34a6cf00fe441db80842ec669a99202>
- <https://github.com/vitessio/vitess>
- <https://github.com/vitessio/vitess/blob/8f6cfaaa643a08dc111395a75a2d250ee746cfa8/go/mysql/collations/charset/convert.go#L73-L79>
- <https://github.com/vitessio/vitess/blob/8f6cfaaa643a08dc111395a75a2d250ee746cfa8/go/mysql/collations/charset/unicode/utf16.go#L69-L71>

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-649x-hxfx-57j2>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-649x-hxfx-57j2/>. Everything for agents: <https://agentprime.io/llms.txt>.
