GHSA-7787-p7x6-fq3j · Severity: high · Ecosystem: rust — Candid infinite decoding loop through specially crafted payload
The Candid library causes a Denial of Service while parsing a specially crafted payload with 'empty' data type. For example, if the payload is `record { * ; empty }` and the canister interface expects `record { * }` then the Rust candid decoder treats empty as an extra field required by the type. The problem with the type empty is that the candid Rust library wrongly categorizes empty as a recoverable error when skipping the field and thus causing an infinite decoding loop. Canisters using affected versions of candid are exposed to denial of service by causing the decoding to run indefinitely until the canister traps due to reaching maximum instruction limit per execution round. Repeated exposure to the payload will result in degraded performance of the canister. Note: Canisters written in Motoko are unaffected.
Conclusion & alert: CVE-2023-6245 is rated Moderate Risk (40.8/100): CVSS High severity, with low exploitation likelihood (EPSS 0.13%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2025-11-21 | 0.96% | 0.13% | -0.83% |
| 2 | 2025-11-18 | 0.13% | 0.96% | +0.83% |
| 3 | 2025-04-15 | — | 0.13% | — |
Full EPSS history (8 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | 6b35d637-e00f-4228-858c-b20ad6e1d07b |
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
GHSA-7787-p7x6-fq3j · Severity: high · Ecosystem: rust — Candid infinite decoding loop through specially crafted payload
| vendor | priority | summary | link |
|---|---|---|---|
ubuntu
|
medium | CVE-2023-6245 medium priority: Ubuntu including 1 source packages (candid), 12 status rows across 12 suites (bionic, focal, jammy, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): DNE 8, ignored 2, not-affected 1, released 1. | https://ubuntu.com/security/CVE-2023-6245 |