{"id":"CVE-2020-35902","aliases":["EUVD-2021-1876","GHSA-rqgx-hpg4-456r","RUSTSEC-2020-0049"],"status":"published","title":"Use-after-free in actix-codec","description":"An issue was discovered in the actix-codec crate before 0.3.0-beta.1 for Rust. There is a use-after-free in Framed.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01649,"percentile":0.76673,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-416"],"published":"2020-01-30T12:00:00Z","modified":"2026-10-24T10:30:18Z","fixes":[{"ecosystem":"crates.io","package":"actix-codec","fixed_in":["0.3.0","0.3.0-beta.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"actix-codec","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.0"}]}]},{"source":"osv","ecosystem":"crates.io","package":"actix-codec","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.3.0"}]}]},{"source":"osv","ecosystem":"crates.io","package":"actix-codec","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.3.0-beta.1"}]}]}],"products":[{"vendor":"actix","product":"actix-codec"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0049.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35902","tags":["advisory"]},{"url":"https://github.com/actix/actix-net/issues/91","tags":["web","report"]},{"url":"https://github.com/actix/actix-net/commit/c41b5d8dd4235ccca84d0b687996615c0c64d956","tags":["web"]},{"url":"https://github.com/advisories/GHSA-rqgx-hpg4-456r"},{"url":"https://github.com/actix/actix-net","tags":["package"]},{"url":"https://crates.io/crates/actix-codec","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2020-35902","description":"An issue was discovered in the actix-codec crate before 0.3.0-beta.1 for Rust. There is a use-after-free in Framed.","status":"published","published":"2020-12-31T08:22:11Z","modified":"2024-08-04T17:16:13.15Z","updated_at":"2026-11-02T14:35:58.331892Z"}],"euvd":[{"id":"EUVD-2021-1876","description":"An issue was discovered in the actix-codec crate before 0.3.0-beta.1 for Rust. There is a use-after-free in Framed.","status":"published","published":"2020-12-31T08:22:11Z","modified":"2024-08-04T17:16:13Z","updated_at":"2026-11-03T03:07:04.065361Z"}],"ghsa":[{"id":"GHSA-rqgx-hpg4-456r","title":"Use-after-free in actix-codec","description":"An issue was discovered in the actix-codec crate before 0.3.0-beta.1 for Rust. There is a use-after-free in Framed.","status":"published","published":"2021-08-25T20:49:45Z","modified":"2025-05-23T18:30:35Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-416"],"updated_at":"2026-11-02T14:38:43.998596Z"}],"nvd":[{"id":"CVE-2020-35902","description":"An issue was discovered in the actix-codec crate before 0.3.0-beta.1 for Rust. There is a use-after-free in Framed.","status":"published","published":"2020-12-31T09:15:14.943Z","modified":"2026-06-17T03:14:34.25Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-416"],"updated_at":"2026-11-02T14:06:28.340168Z"}],"osv":[{"id":"CVE-2020-35902","description":"An issue was discovered in the actix-codec crate before 0.3.0-beta.1 for Rust. There is a use-after-free in Framed.","status":"published","published":"2020-12-31T09:15:14.943Z","modified":"2026-10-24T10:30:18.75368347Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:16.612899Z"},{"id":"GHSA-rqgx-hpg4-456r","title":"Use-after-free in actix-codec","description":"An issue was discovered in the actix-codec crate before 0.3.0-beta.1 for Rust. There is a use-after-free in Framed.","status":"published","published":"2021-08-25T20:49:45Z","modified":"2025-05-23T18:30:34Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-416"],"updated_at":"2026-11-02T15:46:56.281047Z"},{"id":"RUSTSEC-2020-0049","title":"Use-after-free in Framed due to lack of pinning","description":"Affected versions of this crate did not require the buffer wrapped in `Framed` to be pinned,\nbut treated it as if it had a fixed location in memory. This may result in a use-after-free.\n \nThe flaw was corrected by making the affected functions accept `Pin\u003c\u0026mut Self\u003e` instead of `\u0026mut self`.","status":"published","published":"2020-01-30T12:00:00Z","modified":"2023-11-08T04:03:38.426701Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:53:39.492624Z"}]}}
