Home / paritytech / ink / CVE-2023-34449
CVE-2023-34449: is it exploited, and which versions of paritytech ink are affected and fixed?
CVE-2023-34449 is an unusual condition not checked vulnerability in paritytech ink. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: ink from 4.0.0 before 4.2.1 and ink_env from 4.0.0 before 4.2.1 (GitHub advisory GHSA-853p-5678-hv8f). Fixed in 4.2.1 (GitHub advisory GHSA-853p-5678-hv8f). Severity: Medium (5.3, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:38 UTC.
What is CVE-2023-34449?
ink! vulnerable to incorrect decoding of storage value when using `DelegateCall`
ink! is an embedded domain specific language to write smart contracts in Rust for blockchains built on the Substrate framework. Starting in version 4.0.0 and prior to version 4.2.1, the return value when using delegate call mechanics, either through `CallBuilder::delegate` or `ink_env::invoke_contract_delegate`, is decoded incorrectly. This bug was related to the mechanics around decoding a call's return buffer, which was changed as part of pull request 1450. Since this feature was only released in ink! 4.0.0, no previous versions are affected. Users who have an ink! 4.x series contract should upgrade to 4.2.1 to receive a patch.
From the CVE record by GitHub_M, last updated December 30, 2024, 14:57 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| paritytech | ink | >= 4.0.0, < 4.2.1 |
As the CVE record by GitHub_M states it, last updated December 30, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| crates.io | ink | >= 4.0.0, < 4.2.1 | 4.2.1 | GHSA-853p-5678-hv8f |
| crates.io | ink_env | >= 4.0.0, < 4.2.1 | 4.2.1 | GHSA-853p-5678-hv8f |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 16, 2023. Summary: ink! vulnerable to incorrect decoding of storage value when using `DelegateCall`.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| parity | ink\! | from 4.0.0 before 4.2.1 | application |
NVD analysis (status Modified), last modified June 17, 2026, 06:03 UTC.
How severe is CVE-2023-34449?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N | GitHub_M |
| Medium 5.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-34449 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, December 30, 2024)
- EPSS
- 0.97% probability of exploitation activity in the next 30 days, percentile 62.9 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-754 Improper Check for Unusual or Exceptional Conditions
- CWE-253 Incorrect Check of Function Return Value
Where are the vendor advisories and references?
- https://github.com/paritytech/ink/security/advisories/GHSA-853p-5678-hv8f x_refsource_CONFIRM
- https://github.com/paritytech/ink/pull/1450 x_refsource_MISC
- https://github.com/paritytech/ink/commit/f1407ee9f87e5f64d467a22d26ee88f61db7f3db x_refsource_MISC
- https://docs.rs/ink_env/4.2.0/ink_env/call/struct.CallBuilder.html#method.delegate x_refsource_MISC
- https://docs.rs/ink_env/4.2.0/ink_env/fn.invoke_contract_delegate.html x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- June 6, 2023
- Published
- June 14, 2023, 20:10 UTC
- CVE record updated
- December 30, 2024, 14:57 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 06:03 UTC
- Last checked
- CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:38 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2023-34449
Is CVE-2023-34449 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 0.97% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of paritytech ink are affected by CVE-2023-34449?
ink from 4.0.0 before 4.2.1 and ink_env from 4.0.0 before 4.2.1, per the GitHub advisory GHSA-853p-5678-hv8f. The tables above give every range the sources list.
Which version fixes CVE-2023-34449?
4.2.1, per the GitHub advisory GHSA-853p-5678-hv8f. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-34449?
Medium (5.3, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2023-34449?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.