CVE-2019-16141
Improper Input Validation in once_cell
An issue was discovered in the once_cell crate before 1.0.1 for Rust. There is a panic during initialization of Lazy.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
An issue was discovered in the once_cell crate before 1.0.1 for Rust. There is a panic during initialization of Lazy.
- Record
CVE-2019-16141- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-20
- Updated
- 2026-11-02
CVE List No score
An issue was discovered in the once_cell crate before 1.0.1 for Rust. There is a panic during initialization of Lazy.
- Record
CVE-2019-16141- Updated
- 2026-11-02
EUVDEUVD-2021-1622 No score
An issue was discovered in the once_cell crate before 1.0.1 for Rust. There is a panic during initialization of Lazy.
- Record
EUVD-2021-1622- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-7j44-fv4x-79g9
7.5
Improper Input Validation in once_cell
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.
- Record
GHSA-7j44-fv4x-79g9- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-20
- Updated
- 2026-11-02
OSV
7.5
An issue was discovered in the once_cell crate before 1.0.1 for Rust. There is a panic during initialization of Lazy.
- Record
CVE-2019-16141- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVGHSA-7j44-fv4x-79g9
7.5
Improper Input Validation in once_cell
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.
- Record
GHSA-7j44-fv4x-79g9- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-20
- Updated
- 2026-11-02
OSVRUSTSEC-2019-0017
7.5
Panic during initialization of Lazy<T> might trigger undefined behavior
If during the first dereference of Lazy<T> 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.
- Record
RUSTSEC-2019-0017- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2019-16141
7.5
An issue was discovered in the once_cell crate before 1.0.1 for Rust. There is a panic during initialization of Lazy.
- Record
UBUNTU-CVE-2019-16141- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
once_cellcrates.io |
0.2.5 up to 1.0.1 | 1.0.1 |
rust-once-cellUbuntu:20.04:LTS |
All versions, plus listed versions 0.1.8-30.1.8-3build11.2.0-3 |
None known |
rust-once-cellUbuntu:22.04:LTS |
All versions, plus listed versions 1.3.1-11.5.2-11.8.0-11.9.0-2 |
None known |
rust-once-cellUbuntu:24.04:LTS |
All versions, plus listed versions 1.18.0-11.19.0-1 |
None known |
rust-once-cellUbuntu:25.10 |
All versions, plus listed versions 1.20.2-1 |
None known |
rust-once-cellUbuntu:26.10 |
All versions, plus listed versions 1.21.3-11.21.4-1 |
None known |
rust-once-cellUbuntu:26.04:LTS |
All versions, plus listed versions 1.20.2-11.21.3-1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2019-16141 is a high vulnerability (CVSS 7.5) in Once Cell Project Cell, published September 1, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.58%, the 75th percentile. Fixed in once_cell 1.0.1.