{"id":"CVE-2019-15553","aliases":["CVE-2019-15553","GHSA-rh89-x75f-rh3c","RUSTSEC-2019-0011"],"related":[],"kind":"vulnerability","state":"published","title":"Exposure of uninitialized memory in memoffset","summary":"An issue was discovered in the memoffset crate before 0.5.0 for Rust. offset_of and span_of can cause exposure of uninitialized memory.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in the memoffset crate before 0.5.0 for Rust. offset_of and span_of can cause exposure of uninitialized memory.","source":"cvelist"},{"lang":"en","text":"Affected versions of this crate caused traps and/or memory unsafety by zero-initializing references. They also could lead to uninitialized memory being dropped if the field for which the offset is requested was behind a deref coercion, and that deref coercion caused a panic. The flaw was corrected by using MaybeUninit.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Affected versions of this crate caused traps and/or memory unsafety by zero-initializing references.\nThey also could lead to uninitialized memory being dropped if the field for which the offset is requested was behind a deref coercion, and that deref coercion caused a panic.\n\nThe flaw was corrected by using `MaybeUninit`.","format":"markdown","source":"rustsec"},{"lang":"es","text":"Se detectó un problema en el paquete memoffset versiones anteriores a0.5.0 para Rust. offset_of y span_of pueden provocar la exposición de la memoria no inicializada.","source":"nvd"}],"published":"2019-07-16T12:00:00.000Z","modified":"2026-06-17T02:20:37.317Z","severity":{"scorer":"NVD","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"RustSec Advisory Database","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","score":5,"rating":"MEDIUM"}],"cwes":["CWE-908"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.5.0"}],"ecosystem":"crates.io","package":"memoffset","purl":"pkg:cargo/memoffset","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.5.0"}],"ecosystem":"crates.io","package":"memoffset","purl":"pkg:cargo/memoffset","source":"rustsec"},{"ranges":[{"status":"affected","fixed":"0.5.0"}],"vendor":"memoffset_project","product":"memoffset","cpe":"cpe:2.3:a:memoffset_project:memoffset:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2019-0011.html","tags":["advisory","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://github.com/Gilnaa/memoffset/issues/9#issuecomment-505461490","tags":["report","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-15553","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/Gilnaa/memoffset","tags":["package"],"sources":["ghsa"]},{"url":"https://crates.io/crates/memoffset","tags":["package"],"sources":["rustsec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2019-15553","url":"https://www.cve.org/CVERecord?id=CVE-2019-15553","licence":"CVE Terms of Use","modified":"2024-08-05T00:49:13.580Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-rh89-x75f-rh3c","url":"https://github.com/advisories/GHSA-rh89-x75f-rh3c","licence":"CC-BY-4.0","modified":"2023-11-08T04:01:14.285Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2019-0011","url":"https://rustsec.org/advisories/RUSTSEC-2019-0011.html","licence":"CC0-1.0","modified":"2023-11-08T04:01:14.285Z"},{"source":"nvd","name":"NVD","id":"CVE-2019-15553","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-15553","licence":"Public domain","modified":"2026-06-17T02:20:37.317Z"}],"updatedAt":"2026-11-25T22:57:46.698Z","epss":{"score":0.01766,"percentile":0.78734,"date":"2026-12-01T12:00:22.000Z"}}