CVE-2019-25054
Missing Initialization of Resource in pnet
An issue was discovered in the pnet crate before 0.27.2 for Rust. There is a segmentation fault (upon attempted dereference of an uninitialized descriptor) because of an erroneous IcmpTransportChannelIterator compiler optimization.
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 pnet crate before 0.27.2 for Rust. There is a segmentation fault (upon attempted dereference of an uninitialized descriptor) because of an erroneous IcmpTransportChannelIterator compiler optimization.
- Record
CVE-2019-25054- 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-909
- Updated
- 2026-11-02
CVE List No score
An issue was discovered in the pnet crate before 0.27.2 for Rust. There is a segmentation fault (upon attempted dereference of an uninitialized descriptor) because of an erroneous IcmpTransportChannelIterator compiler optimization.
- Record
CVE-2019-25054- Updated
- 2026-11-02
EUVDEUVD-2022-0419 No score
An issue was discovered in the pnet crate before 0.27.2 for Rust. There is a segmentation fault (upon attempted dereference of an uninitialized descriptor) because of an erroneous IcmpTransportChannelIterator compiler optimization.
- Record
EUVD-2022-0419- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-24g6-5rx7-58wj
7.5
Missing Initialization of Resource in pnet
An issue was discovered in the pnet crate before 0.27.2 for Rust. There is a segmentation fault (upon attempted dereference of an uninitialized descriptor) because of an erroneous IcmpTransportChannelIterator compiler optimization.
- Record
GHSA-24g6-5rx7-58wj- 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-909
- Updated
- 2026-11-02
GitHub AdvisoriesGHSA-r6ff-2q3c-v3pv
6.0
Compiler optimisation leads to SEGFAULT
Affected versions of the pnet crate were optimized out by compiler, which caused dereference of uninitialized file descriptor which caused segfault.
- Record
GHSA-r6ff-2q3c-v3pv- CVSS 3.0
- 6.0 Medium
CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H - Weakness
- CWE-908
- Updated
- 2026-11-02
OSVGHSA-24g6-5rx7-58wj
7.5
Missing Initialization of Resource in pnet
An issue was discovered in the pnet crate before 0.27.2 for Rust. There is a segmentation fault (upon attempted dereference of an uninitialized descriptor) because of an erroneous IcmpTransportChannelIterator compiler optimization.
- Record
GHSA-24g6-5rx7-58wj- 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-909
- Updated
- 2026-11-02
OSVGHSA-r6ff-2q3c-v3pv
6.0
Compiler optimisation leads to SEGFAULT
Affected versions of the pnet crate were optimized out by compiler, which caused dereference of uninitialized file descriptor which caused segfault.
- Record
GHSA-r6ff-2q3c-v3pv- CVSS 3.0
- 6.0 Medium
CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H - Weakness
- CWE-908
- Updated
- 2026-11-02
OSVRUSTSEC-2019-0037
6.0
Compiler optimisation for next_with_timeout in pnet::transport::IcmpTransportChannelIterator flaws to SEGFAULT
Affected versions of this crate were optimized out by compiler, which caused dereference of uninitialized file descriptor which caused segfault.
- Record
RUSTSEC-2019-0037- CVSS 3.0
- 6.0 Medium
CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H - Updated
- 2026-11-02
Affected products
Affected packages
History
| Recorded | Changed | Sources |
|---|---|---|
| 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-25054 is a high vulnerability (CVSS 7.5) in Pnet Project Pnet, published June 11, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.99%, the 62nd percentile. Fixed in pnet 0.27.2.
References
rustsec.org/advisories/RUSTSEC-2019-0037.html
raw.githubusercontent.com/rustsec/advisory-db/main/crates/pnet/RUSTSEC-2019-0037.md
nvd.nist.gov/vuln/detail/CVE-2019-25054
github.com/libpnet/libpnet/issues/449
github.com/advisories/GHSA-24g6-5rx7-58wj
github.com/libpnet/libpnet/pull/455
github.com/advisories/GHSA-r6ff-2q3c-v3pv
github.com/libpnet/libpnet
crates.io/crates/pnet