Email me

Rust advisories / iced-x86

Vulnerability CriticalRUSTSEC-2021-0068 · iced-x86

RUSTSEC-2021-0068: Soundness issue in `iced-x86` versions <= 1.10.3

Short answerA security vulnerability in the iced-x86 crate: Soundness issue in `iced-x86` versions <= 1.10.3. GitHub rates it Critical. Fixed in 1.10.4: update to a fixed version.

Crateiced-x86
TypeVulnerability
Affected versionsBefore 1.10.4.
Fixed in1.10.4
SeverityCritical (GitHub rating)
Published2021-05-19
Last changed2023-11-08
Also known asCVE-2021-38188, GHSA-jjx5-3f36-6927
Affected functionsiced_x86::Decoder::new

What to do

  1. See which version you have: cargo tree -i iced-x86 (it also shows which of your dependencies pulls it in).
  2. Update within your version requirement: cargo update -p iced-x86. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for example iced-x86 = "1.10.4") or update the dependency that pulls it in.
  3. Check again with cargo audit, or paste your Cargo.lock into our Cargo.toml checker.

Details from the advisory

Versions of iced-x86 <= 1.10.3 invoke undefined behavior which may cause soundness issues in crates using the iced_x86::Decoder struct. The Decoder::new() function made a call to slice.get_unchecked(slice.length()) to get the end position of the input buffer. The flaw was fixed with safe logic that does not invoke undefined behavior.

More details can be found at <https://github.com/icedland/iced/issues/168>.

References

From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.

Up next

Are you affected?Check your whole dependency treePaste Cargo.lock: every advisory, for your exact versions.Read it next →

Did this answer your question?

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ