{"id":"RUSTSEC-2026-0078","aliases":["RUSTSEC-2026-0078"],"related":[],"kind":"vulnerability","state":"published","title":"Symbol confusion after hasher panic in `intaglio` interners","summary":"Affected versions of this crate can leave all `SymbolTable` variants in an\ninternally inconsistent state if a custom `BuildHasher` panics during\n`HashMap::insert` and the caller recovers with `catch_unwind`.\n\nThe `intern` implementations committed a `vec.push(...)` before the matching\n`map.insert(...)` completed. If hashing panicked in that window, later lookups\nand inserts could observe diverging `vec` and `map` lengths.\n\nIn release builds, this can lead to symbol confusion where a newly interned\nstring resolves to previously interned attacker-controlled contents. In debug\nbuilds, the same corruption is detected by follow-up assertions and results in\npanics.\n\nThe flaw was corrected in version 1.13.3 by making the `vec` mutation\ntransactional across unwind boundaries so partially inserted entries are rolled\nback before the panic propagates.","summaryFormat":"markdown","summarySource":"rustsec","descriptions":[{"lang":"en","text":"Affected versions of this crate can leave all `SymbolTable` variants in an\ninternally inconsistent state if a custom `BuildHasher` panics during\n`HashMap::insert` and the caller recovers with `catch_unwind`.\n\nThe `intern` implementations committed a `vec.push(...)` before the matching\n`map.insert(...)` completed. If hashing panicked in that window, later lookups\nand inserts could observe diverging `vec` and `map` lengths.\n\nIn release builds, this can lead to symbol confusion where a newly interned\nstring resolves to previously interned attacker-controlled contents. In debug\nbuilds, the same corruption is detected by follow-up assertions and results in\npanics.\n\nThe flaw was corrected in version 1.13.3 by making the `vec` mutation\ntransactional across unwind boundaries so partially inserted entries are rolled\nback before the panic propagates.","format":"markdown","source":"rustsec"}],"published":"2026-03-30T12:00:00.000Z","modified":"2026-04-25T07:30:06.201Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"1.13.3"}],"ecosystem":"crates.io","package":"intaglio","purl":"pkg:cargo/intaglio","source":"rustsec"}],"references":[{"url":"https://crates.io/crates/intaglio","tags":["package"],"sources":["rustsec"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0078.html","tags":["advisory"],"sources":["rustsec"]},{"url":"https://github.com/artichoke/intaglio/issues/359","tags":["report"],"sources":["rustsec"]},{"url":"https://github.com/artichoke/intaglio/pull/360","tags":["web"],"sources":["rustsec"]}],"credits":[],"sources":[{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2026-0078","url":"https://rustsec.org/advisories/RUSTSEC-2026-0078.html","licence":"CC0-1.0","modified":"2026-04-25T07:30:06.201Z"}],"updatedAt":"2026-11-25T22:56:43.329Z"}