{"id":"CVE-2019-16140","aliases":["EUVD-2021-1581","GHSA-5rrv-m36h-qwf8","RUSTSEC-2019-0016"],"status":"published","title":"Use-after-free in chttp","description":"An issue was discovered in the chttp crate before 0.1.3 for Rust. There is a use-after-free during buffer conversion.","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-10","score":0.01634,"percentile":0.76489,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-416"],"published":"2019-09-01T12:00:00Z","modified":"2026-10-20T10:52:47Z","fixes":[{"ecosystem":"crates.io","package":"chttp","fixed_in":["0.1.3"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"chttp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.1"},{"fixed":"0.1.3"}]}]},{"source":"osv","ecosystem":"crates.io","package":"chttp","ranges":[{"type":"SEMVER","events":[{"introduced":"0.1.1"},{"fixed":"0.1.3"}]}]},{"source":"osv","ecosystem":"crates.io","package":"chttp","ranges":[{"type":"SEMVER","events":[{"introduced":"0.1.1"},{"fixed":"0.1.3"}]}]}],"products":[{"vendor":"isahc_project","product":"isahc"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2019-0016.html","tags":["x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/sagebind/isahc/issues/2","tags":["x_transferred","report","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-16140","tags":["advisory"]},{"url":"https://github.com/sagebind/isahc/commit/9e9f1fb44114078c000c78c72e691eeb9e7ac260","tags":["web"]},{"url":"https://github.com/advisories/GHSA-5rrv-m36h-qwf8"},{"url":"https://github.com/sagebind/chttp","tags":["package"]},{"url":"https://crates.io/crates/chttp","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2019-16140","description":"An issue was discovered in the chttp crate before 0.1.3 for Rust. There is a use-after-free during buffer conversion.","status":"published","published":"2019-09-09T00:00:00Z","modified":"2024-08-05T01:10:41.116Z","updated_at":"2026-11-02T14:32:23.485011Z"}],"euvd":[{"id":"EUVD-2021-1581","description":"An issue was discovered in the chttp crate before 0.1.3 for Rust. There is a use-after-free during buffer conversion.","status":"published","published":"2019-09-09T00:00:00Z","modified":"2024-08-05T01:10:41Z","updated_at":"2026-11-03T02:40:33.179924Z"}],"ghsa":[{"id":"GHSA-5rrv-m36h-qwf8","title":"Use-after-free in chttp","description":"The From implementation for Vec was not properly implemented, returning a vector backed by freed memory. This could lead to memory corruption or be exploited to cause undefined behavior.\n\nA fix was published in version 0.1.3.","status":"published","published":"2021-08-25T20:44:40Z","modified":"2023-11-06T05:01: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-416"],"updated_at":"2026-11-02T14:37:14.234712Z"}],"nvd":[{"id":"CVE-2019-16140","description":"An issue was discovered in the chttp crate before 0.1.3 for Rust. There is a use-after-free during buffer conversion.","status":"published","published":"2019-09-09T12:15:10.82Z","modified":"2026-06-17T02:21:44.9Z","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:05:25.691233Z"}],"osv":[{"id":"CVE-2019-16140","description":"An issue was discovered in the chttp crate before 0.1.3 for Rust. There is a use-after-free during buffer conversion.","status":"published","published":"2019-09-09T12:15:10.82Z","modified":"2026-10-20T10:52:47.197075806Z","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:11.361782Z"},{"id":"GHSA-5rrv-m36h-qwf8","title":"Use-after-free in chttp","description":"The From implementation for Vec was not properly implemented, returning a vector backed by freed memory. This could lead to memory corruption or be exploited to cause undefined behavior.\n\nA fix was published in version 0.1.3.","status":"published","published":"2021-08-25T20:44:40Z","modified":"2023-11-08T04:01:16.22394Z","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:38.911014Z"},{"id":"RUSTSEC-2019-0016","title":"Use-after-free in buffer conversion implementation","description":"The From\u003cBuffer\u003e implementation for Vec\u003cu8\u003e was not properly implemented,\nreturning a vector backed by freed memory. This could lead to memory corruption\nor be exploited to cause undefined behavior.\n \nA fix was published in version 0.1.3.","status":"published","published":"2019-09-01T12:00:00Z","modified":"2023-11-08T04:01:16.22394Z","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"}]}}
