{"id":"CVE-2018-25025","aliases":["EUVD-2022-0583","GHSA-7x36-h62w-vw65","GHSA-9qj6-4rfq-vm84","GHSA-fgfm-hqjw-3265","GHSA-w65j-g6c7-g3m4","RUSTSEC-2018-0019","UBUNTU-CVE-2018-25025"],"status":"published","title":"Out-of-bounds Write in actix-web","description":"An issue was discovered in the actix-web crate before 0.7.15 for Rust. It can unsoundly extend the lifetime of a string, leading to memory corruption.","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.01331,"percentile":0.71285,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-362","CWE-787"],"published":"2018-06-08T12:00:00Z","modified":"2026-10-17T12:55:26Z","fixes":[{"ecosystem":"crates.io","package":"actix-web","fixed_in":["0.7.19"],"sources":["ghsa"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"actix-web","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.19"}]}]},{"source":"ghsa","ecosystem":"crates.io","package":"actix-web","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.19"}]}]},{"source":"osv","ecosystem":"crates.io","package":"actix-web","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.7.19"}]}],"bundled":3},{"source":"osv","ecosystem":"crates.io","package":"actix-web","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.7.19"}]}],"bundled":3},{"source":"osv","ecosystem":"crates.io","package":"actix-web","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.7.19"}]}],"bundled":3},{"source":"osv","ecosystem":"crates.io","package":"actix-web","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.7.19"}]}],"bundled":3},{"source":"osv","ecosystem":"crates.io","package":"actix-web","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.7.20-0"}]}],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"rust-actix-derive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.0-1","0.5.0-2"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"rust-actix-derive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.0-2"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"rust-actix-derive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.0-2"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"rust-actix-derive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.0-2"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"rust-actix-derive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.0-2build1","0.6.2-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"rust-actix-derive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.0-2","0.5.0-2build1"]}],"products":[{"vendor":"actix","product":"actix-web"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2018-0019.html","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","web","advisory","report"]},{"url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/actix-web/RUSTSEC-2018-0019.md","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-25025","tags":["advisory"]},{"url":"https://github.com/actix/actix-web/issues/289","tags":["web","report"]},{"url":"https://github.com/advisories/GHSA-fgfm-hqjw-3265"},{"url":"https://github.com/advisories/GHSA-w65j-g6c7-g3m4"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-25026","tags":["advisory"]},{"url":"https://github.com/actix/actix-web.git","tags":["package"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-25024","tags":["advisory"]},{"url":"https://github.com/actix/actix-web","tags":["package"]},{"url":"https://crates.io/crates/actix-web","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2018-25025","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-25025","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2018-25025","description":"An issue was discovered in the actix-web crate before 0.7.15 for Rust. It can unsoundly extend the lifetime of a string, leading to memory corruption.","status":"published","published":"2021-12-26T21:55:22Z","modified":"2024-08-05T12:26:39.624Z","updated_at":"2026-11-02T14:35:01.952568Z"}],"euvd":[{"id":"EUVD-2022-0583","description":"An issue was discovered in the actix-web crate before 0.7.15 for Rust. It can unsoundly extend the lifetime of a string, leading to memory corruption.","status":"published","published":"2021-12-26T21:55:22Z","modified":"2024-08-05T12:26:39Z","updated_at":"2026-11-03T02:39:27.400094Z"}],"ghsa":[{"id":"GHSA-fgfm-hqjw-3265","title":"Out-of-bounds Write in actix-web","description":"An issue was discovered in the actix-web crate before 0.7.15 for Rust. It can unsoundly extend the lifetime of a string, leading to memory corruption.","status":"published","published":"2022-01-06T22:18:46Z","modified":"2026-06-09T10:47:01Z","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-787"],"updated_at":"2026-11-02T14:40:23.739691Z"},{"id":"GHSA-w65j-g6c7-g3m4","title":"Multiple memory safety issues in actix-web","description":"Affected versions contain multiple memory safety issues, such as:\n\n - Unsoundly coercing immutable references to mutable references\n - Unsoundly extending lifetimes of strings\n - Adding the `Send` marker trait to objects that cannot be safely sent between threads\n\nThis may result in a variety of memory corruption scenarios, most likely use-after-free.\n \nA signficant refactoring effort has been conducted to resolve these issues.","status":"published","published":"2021-08-25T20:42:50Z","modified":"2026-06-09T10:46:26Z","cwes":["CWE-362"],"updated_at":"2026-11-02T14:40:23.739691Z"}],"nvd":[{"id":"CVE-2018-25025","description":"An issue was discovered in the actix-web crate before 0.7.15 for Rust. It can unsoundly extend the lifetime of a string, leading to memory corruption.","status":"published","published":"2021-12-27T00:15:08.033Z","modified":"2026-06-17T01:54:32.817Z","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-787"],"updated_at":"2026-11-02T14:05:00.565712Z"}],"osv":[{"id":"GHSA-7x36-h62w-vw65","title":"Out-of-bounds Write in actix-web","description":"An issue was discovered in the actix-web crate before 0.7.15 for Rust. It can add the Send marker trait to an object that cannot be sent between threads safely, leading to memory corruption.","status":"published","published":"2022-01-06T22:18:58Z","modified":"2026-06-09T11:00:14.900933655Z","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-787"],"updated_at":"2026-11-02T15:46:41.732368Z"},{"id":"GHSA-9qj6-4rfq-vm84","title":"Out-of-bounds Write in actix-web","description":"An issue was discovered in the actix-web crate before 0.7.19 for Rust. It can unsoundly coerce an immutable reference into a mutable reference, leading to memory corruption.","status":"published","published":"2022-01-06T22:20:41Z","modified":"2026-06-09T11:00:14.921902869Z","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-787"],"updated_at":"2026-11-02T15:46:44.225359Z"},{"id":"GHSA-fgfm-hqjw-3265","title":"Out-of-bounds Write in actix-web","description":"An issue was discovered in the actix-web crate before 0.7.15 for Rust. It can unsoundly extend the lifetime of a string, leading to memory corruption.","status":"published","published":"2022-01-06T22:18:46Z","modified":"2026-06-09T11:00:15.018579075Z","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-787"],"updated_at":"2026-11-02T15:46:46.39441Z"},{"id":"UBUNTU-CVE-2018-25025","description":"An issue was discovered in the actix-web crate before 0.7.15 for Rust. It can unsoundly extend the lifetime of a string, leading to memory corruption.","status":"published","published":"2021-12-27T00:15:00Z","modified":"2026-10-17T12:55:26.256831288Z","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:54:17.91743Z"},{"id":"GHSA-w65j-g6c7-g3m4","title":"Multiple memory safety issues in actix-web","description":"Affected versions contain multiple memory safety issues, such as:\n\n - Unsoundly coercing immutable references to mutable references\n - Unsoundly extending lifetimes of strings\n - Adding the `Send` marker trait to objects that cannot be safely sent between threads\n\nThis may result in a variety of memory corruption scenarios, most likely use-after-free.\n \nA signficant refactoring effort has been conducted to resolve these issues.","status":"published","published":"2021-08-25T20:42:50Z","modified":"2026-06-09T11:00:13.794544779Z","cwes":["CWE-362"],"updated_at":"2026-11-02T15:46:58.04805Z"},{"id":"RUSTSEC-2018-0019","title":"Multiple memory safety issues","description":"Affected versions contain multiple memory safety issues, such as:\n\n - Unsoundly coercing immutable references to mutable references\n - Unsoundly extending lifetimes of strings\n - Adding the `Send` marker trait to objects that cannot be safely sent between threads\n\nThis may result in a variety of memory corruption scenarios, most likely use-after-free.\n \nA significant refactoring effort has been conducted to resolve these issues.","status":"published","published":"2018-06-08T12:00:00Z","modified":"2026-06-01T14:30:04.61392138Z","updated_at":"2026-11-02T15:53:39.492624Z"}]}}
