{"id":"CVE-2019-16141","aliases":["EUVD-2021-1622","GHSA-7j44-fv4x-79g9","RUSTSEC-2019-0017","UBUNTU-CVE-2019-16141"],"status":"published","title":"Improper Input Validation in once_cell","description":"An issue was discovered in the once_cell crate before 1.0.1 for Rust. There is a panic during initialization of Lazy.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.01583,"percentile":0.75765,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20"],"published":"2019-09-01T12:00:00Z","modified":"2026-10-20T10:50:46Z","fixes":[{"ecosystem":"crates.io","package":"once_cell","fixed_in":["1.0.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"once_cell","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.2.5"},{"fixed":"1.0.1"}]}]},{"source":"osv","ecosystem":"crates.io","package":"once_cell","ranges":[{"type":"SEMVER","events":[{"introduced":"0.2.5"},{"fixed":"1.0.1"}]}]},{"source":"osv","ecosystem":"crates.io","package":"once_cell","ranges":[{"type":"SEMVER","events":[{"introduced":"0.2.5"},{"fixed":"1.0.1"}]}]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"rust-once-cell","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.1.8-3","0.1.8-3build1","1.2.0-3"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"rust-once-cell","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.1-1","1.5.2-1","1.8.0-1","1.9.0-2"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"rust-once-cell","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.18.0-1","1.19.0-1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"rust-once-cell","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.20.2-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"rust-once-cell","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.21.3-1","1.21.4-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"rust-once-cell","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.20.2-1","1.21.3-1"]}],"products":[{"vendor":"once_cell_project","product":"once_cell"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2019-0017.html","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web","report"]},{"url":"https://github.com/matklad/once_cell/issues/46","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-16141","tags":["advisory"]},{"url":"https://github.com/matklad/once_cell/pull/47","tags":["web"]},{"url":"https://github.com/matklad/once_cell/commit/afcca95a05240ebd931ab20998c946f77ef1e284","tags":["web"]},{"url":"https://github.com/advisories/GHSA-7j44-fv4x-79g9"},{"url":"https://github.com/matklad/once_cell","tags":["package"]},{"url":"https://crates.io/crates/once_cell","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2019-16141","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-16141","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2019-16141","description":"An issue was discovered in the once_cell crate before 1.0.1 for Rust. There is a panic during initialization of Lazy.","status":"published","published":"2019-09-09T11:55:10Z","modified":"2024-08-05T01:10:40.974Z","updated_at":"2026-11-02T14:32:23.189113Z"}],"euvd":[{"id":"EUVD-2021-1622","description":"An issue was discovered in the once_cell crate before 1.0.1 for Rust. There is a panic during initialization of Lazy.","status":"published","published":"2019-09-09T11:55:10Z","modified":"2024-08-05T01:10:40Z","updated_at":"2026-11-03T02:40:33.71788Z"}],"ghsa":[{"id":"GHSA-7j44-fv4x-79g9","title":"Improper Input Validation in once_cell","description":"If during the first dereference of Lazy the initialization function panics, subsequent dereferences will execute std::hints::unreachable_unchecked. Applications with panic = \"abort\" are not affected, as there will be no subsequent dereferences.","status":"published","published":"2021-08-25T20:44:18Z","modified":"2023-06-13T19:58:13Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:36:53.654352Z"}],"nvd":[{"id":"CVE-2019-16141","description":"An issue was discovered in the once_cell crate before 1.0.1 for Rust. There is a panic during initialization of Lazy.","status":"published","published":"2019-09-09T12:15:10.897Z","modified":"2026-06-17T02:21:45.037Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:05:25.691233Z"}],"osv":[{"id":"CVE-2019-16141","description":"An issue was discovered in the once_cell crate before 1.0.1 for Rust. There is a panic during initialization of Lazy.","status":"published","published":"2019-09-09T12:15:10.897Z","modified":"2026-10-20T10:50:46.781119769Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:11.361782Z"},{"id":"GHSA-7j44-fv4x-79g9","title":"Improper Input Validation in once_cell","description":"If during the first dereference of Lazy the initialization function panics, subsequent dereferences will execute std::hints::unreachable_unchecked. Applications with panic = \"abort\" are not affected, as there will be no subsequent dereferences.","status":"published","published":"2021-08-25T20:44:18Z","modified":"2023-11-08T04:01:16.28422Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T15:46:41.002603Z"},{"id":"RUSTSEC-2019-0017","title":"Panic during initialization of Lazy\u003cT\u003e might trigger undefined behavior","description":"If during the first dereference of Lazy\u003cT\u003e the initialization function panics,\nsubsequent dereferences will execute `std::hints::unreachable_unchecked`.\n\nApplications with `panic = \"abort\"` are not affected, as there will be no\nsubsequent dereferences.","status":"published","published":"2019-09-01T12:00:00Z","modified":"2023-11-08T04:01:16.28422Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:53:39.492624Z"},{"id":"UBUNTU-CVE-2019-16141","description":"An issue was discovered in the once_cell crate before 1.0.1 for Rust. There is a panic during initialization of Lazy.","status":"published","published":"2019-09-09T12:15:00Z","modified":"2026-10-17T12:55:40.501444694Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:20.325378Z"}]}}
