{"id":"CVE-2019-15552","aliases":["DEBIAN-CVE-2019-15552","EUVD-2021-1873","GHSA-rpcm-whqc-jfw8","RUSTSEC-2019-0010","UBUNTU-CVE-2019-15552"],"status":"published","title":"Use after free in libflate","description":"An issue was discovered in the libflate crate before 0.1.25 for Rust. MultiDecoder::read has a use-after-free, leading to arbitrary code execution.","severity":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/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.02458,"percentile":0.84548,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-416"],"published":"2019-07-04T12:00:00Z","modified":"2026-10-20T10:50:45Z","fixes":[{"ecosystem":"crates.io","package":"libflate","fixed_in":["0.1.25"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"rust-libflate","fixed_in":["0.1.25-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"rust-libflate","fixed_in":["0.1.25-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"rust-libflate","fixed_in":["0.1.25-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"libflate","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.14"},{"fixed":"0.1.25"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"rust-libflate","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.1.25-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"rust-libflate","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.1.25-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"rust-libflate","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.1.25-1"}]}]},{"source":"osv","ecosystem":"crates.io","package":"libflate","ranges":[{"type":"SEMVER","events":[{"introduced":"0.1.14"},{"fixed":"0.1.25"}]}]},{"source":"osv","ecosystem":"crates.io","package":"libflate","ranges":[{"type":"SEMVER","events":[{"introduced":"0.1.14"},{"fixed":"0.1.25"}]}]}],"products":[{"vendor":"libflate_project","product":"libflate"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2019-0010.html","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web","report"]},{"url":"https://github.com/sile/libflate/issues/35","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-15552","tags":["advisory"]},{"url":"https://github.com/sile/libflate/pull/37","tags":["web"]},{"url":"https://github.com/sile/libflate/commit/ffeff7c65deac5a6f886db2a59bcae4e420e4706","tags":["web"]},{"url":"https://github.com/advisories/GHSA-rpcm-whqc-jfw8"},{"url":"https://security-tracker.debian.org/tracker/CVE-2019-15552","tags":["advisory"]},{"url":"https://github.com/sile/libflate","tags":["package"]},{"url":"https://crates.io/crates/libflate","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2019-15552","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-15552","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2019-15552","description":"An issue was discovered in the libflate crate before 0.1.25 for Rust. MultiDecoder::read has a use-after-free, leading to arbitrary code execution.","status":"published","published":"2019-08-26T14:41:50Z","modified":"2024-08-05T00:49:13.603Z","updated_at":"2026-11-02T14:20:21.703364Z"}],"euvd":[{"id":"EUVD-2021-1873","description":"An issue was discovered in the libflate crate before 0.1.25 for Rust. MultiDecoder::read has a use-after-free, leading to arbitrary code execution.","status":"published","published":"2019-08-26T14:41:50Z","modified":"2024-08-05T00:49:13Z","updated_at":"2026-11-03T02:40:35.584574Z"}],"ghsa":[{"id":"GHSA-rpcm-whqc-jfw8","title":"Use after free in libflate","description":"An issue was discovered in the libflate crate before 0.1.25 for Rust. MultiDecoder::read has a use-after-free, leading to arbitrary code execution.","status":"published","published":"2021-08-25T20:44:53Z","modified":"2023-06-13T17:42:24Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/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:36:53.654352Z"}],"nvd":[{"id":"CVE-2019-15552","description":"An issue was discovered in the libflate crate before 0.1.25 for Rust. MultiDecoder::read has a use-after-free, leading to arbitrary code execution.","status":"published","published":"2019-08-26T15:15:12.063Z","modified":"2026-06-17T02:20:37.183Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/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:05:23.725587Z"}],"osv":[{"id":"CVE-2019-15552","description":"An issue was discovered in the libflate crate before 0.1.25 for Rust. MultiDecoder::read has a use-after-free, leading to arbitrary code execution.","status":"published","published":"2019-08-26T15:15:12.063Z","modified":"2026-10-20T10:50:45.348919915Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:11.361782Z"},{"id":"DEBIAN-CVE-2019-15552","description":"An issue was discovered in the libflate crate before 0.1.25 for Rust. MultiDecoder::read has a use-after-free, leading to arbitrary code execution.","status":"published","published":"2019-08-26T15:15:12.063Z","modified":"2026-09-21T07:02:44.914919845Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:31.867036Z"},{"id":"GHSA-rpcm-whqc-jfw8","title":"Use after free in libflate","description":"An issue was discovered in the libflate crate before 0.1.25 for Rust. MultiDecoder::read has a use-after-free, leading to arbitrary code execution.","status":"published","published":"2021-08-25T20:44:53Z","modified":"2023-11-08T04:01:14.223693Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/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-2019-0010","title":"MultiDecoder::read() drops uninitialized memory of arbitrary type on panic in client code","description":"Affected versions of libflate have set a field of an internal structure with a generic type to an uninitialized value in `MultiDecoder::read()` and reverted it to the original value after the function completed. However, execution of `MultiDecoder::read()` could be interrupted by a panic in caller-supplied `Read` implementation. This would cause `drop()` to be called on uninitialized memory of a generic type implementing `Read`.\n\nThis is equivalent to a use-after-free vulnerability and could allow an attacker to gain arbitrary code execution.\n\nThe flaw was corrected by aborting immediately instead of unwinding the stack in case of panic within `MultiDecoder::read()`. The issue was discovered and fixed by Shnatsel.","status":"published","published":"2019-07-04T12:00:00Z","modified":"2023-11-08T04:01:14.223693Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/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"},{"id":"UBUNTU-CVE-2019-15552","description":"An issue was discovered in the libflate crate before 0.1.25 for Rust. MultiDecoder::read has a use-after-free, leading to arbitrary code execution.","status":"withdrawn","published":"2019-08-26T15:15:00Z","modified":"2025-07-16T07:39:41.612946Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:54:19.6877Z"}]}}
