{"id":"CVE-2019-16140","aliases":["CVE-2019-16140","GHSA-5rrv-m36h-qwf8","RUSTSEC-2019-0016"],"related":[],"kind":"vulnerability","state":"published","title":"Use-after-free in chttp","summary":"An issue was discovered in the chttp crate before 0.1.3 for Rust. There is a use-after-free during buffer conversion.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in the chttp crate before 0.1.3 for Rust. There is a use-after-free during buffer conversion.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"The From<Buffer> implementation for Vec<u8> 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.","format":"markdown","source":"rustsec"},{"lang":"es","text":"Se descubrió un problema en la caja chttp anterior de la versión  0.1.3 para Rust. Hay un uso libre después de la conversión del búfer.","source":"nvd"}],"published":"2019-09-01T12:00:00.000Z","modified":"2026-06-17T02:21:44.900Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"RustSec Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.1.1","status":"affected","fixed":"0.1.3"}],"ecosystem":"crates.io","package":"chttp","purl":"pkg:cargo/chttp","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.1.1","status":"affected","fixed":"0.1.3"}],"ecosystem":"crates.io","package":"chttp","purl":"pkg:cargo/chttp","source":"rustsec"},{"ranges":[{"status":"affected","version":"0.1.2"}],"vendor":"isahc_project","product":"isahc","cpe":"cpe:2.3:a:isahc_project:isahc:0.1.2:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2019-0016.html","tags":["advisory","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://github.com/sagebind/isahc/issues/2","tags":["report","web","x-transferred"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-16140","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/sagebind/isahc/commit/9e9f1fb44114078c000c78c72e691eeb9e7ac260","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/sagebind/chttp","tags":["package"],"sources":["ghsa"]},{"url":"https://crates.io/crates/chttp","tags":["package"],"sources":["rustsec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2019-16140","url":"https://www.cve.org/CVERecord?id=CVE-2019-16140","licence":"CVE Terms of Use","modified":"2024-08-05T01:10:41.116Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-5rrv-m36h-qwf8","url":"https://github.com/advisories/GHSA-5rrv-m36h-qwf8","licence":"CC-BY-4.0","modified":"2023-11-08T04:01:16.223Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2019-0016","url":"https://rustsec.org/advisories/RUSTSEC-2019-0016.html","licence":"CC0-1.0","modified":"2023-11-08T04:01:16.223Z"},{"source":"nvd","name":"NVD","id":"CVE-2019-16140","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-16140","licence":"Public domain","modified":"2026-06-17T02:21:44.900Z"}],"updatedAt":"2026-11-25T22:57:46.864Z","epss":{"score":0.01634,"percentile":0.77008,"date":"2026-12-01T12:00:22.000Z"}}