# Candid infinite decoding loop through specially crafted payload

Advisory record · `GHSA-7787-p7x6-fq3j`

- **Identifiers:** `GHSA-7787-p7x6-fq3j` · `CVE-2023-6245` · `RUSTSEC-2023-0073`
- **State:** Confirmed
- **Severity:** CVSS 7.5 High
- **Critical:** No
- **Weakness (CWE):** [CWE-20](https://cwe.mitre.org/data/definitions/20.html) · [CWE-168](https://cwe.mitre.org/data/definitions/168.html) · [CWE-400](https://cwe.mitre.org/data/definitions/400.html) · [CWE-835](https://cwe.mitre.org/data/definitions/835.html) · [CWE-1288](https://cwe.mitre.org/data/definitions/1288.html)
- **Tags:** [Denial of service](https://agentprime.io/advisories/tag/dos.md) · [CWE-20](https://agentprime.io/advisories/tag/cwe-20.md) · [CWE-168](https://agentprime.io/advisories/tag/cwe-168.md) · [CWE-1288](https://agentprime.io/advisories/tag/cwe-1288.md)
- **Published:** 8 Dec 2023
- **Updated:** 4 May 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 8 Dec 2023, 15:23 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `candid` (crates.io): affected `>=0.9.0, <0.9.10`; fixed in `0.9.10`

## 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

- 7.5 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`, from CNA (Dfinity)

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

## Timeline

- 31 Oct 2026, 15:18 UTC: First seen by agentprime
- 31 Oct 2026, 15:18 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-7787-p7x6-fq3j)

## Sources

- [GitHub Advisory Database: GHSA-7787-p7x6-fq3j](https://github.com/advisories/GHSA-7787-p7x6-fq3j)
- [OSV: GHSA-7787-p7x6-fq3j](https://osv.dev/vulnerability/GHSA-7787-p7x6-fq3j)
- <https://github.com/dfinity/candid/security/advisories/GHSA-7787-p7x6-fq3j>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-6245>
- <https://github.com/dfinity/candid/pull/478>
- <https://github.com/dfinity/candid/commit/b233dbc2d2bcc79c9fc574dd5968269df680b073>
- <https://github.com/dfinity/candid>
- <https://github.com/dfinity/candid/blob/master/spec/Candid.md>
- <https://internetcomputer.org/docs/current/references/candid-ref>
- <https://internetcomputer.org/docs/current/references/ic-interface-spec>
- <https://rustsec.org/advisories/RUSTSEC-2023-0073.html>

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-7787-p7x6-fq3j>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-7787-p7x6-fq3j/>. Everything for agents: <https://agentprime.io/llms.txt>.
