{"id":"CVE-2019-25054","aliases":["EUVD-2022-0419","GHSA-24g6-5rx7-58wj","GHSA-r6ff-2q3c-v3pv","RUSTSEC-2019-0037"],"status":"published","title":"Missing Initialization of Resource in pnet","description":"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.","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-09","score":0.0099,"percentile":0.62763,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-908","CWE-909"],"published":"2019-06-11T12:00:00Z","modified":"2026-06-17T02:31:33Z","fixes":[{"ecosystem":"crates.io","package":"pnet","fixed_in":["0.27.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"pnet","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.27.2"}]}]},{"source":"ghsa","ecosystem":"crates.io","package":"pnet","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.27.2"}]}]},{"source":"osv","ecosystem":"crates.io","package":"pnet","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.27.2"}]}]},{"source":"osv","ecosystem":"crates.io","package":"pnet","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.27.2"}]}]},{"source":"osv","ecosystem":"crates.io","package":"pnet","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.27.2"}]}]}],"products":[{"vendor":"pnet_project","product":"pnet"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2019-0037.html","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","web","advisory"]},{"url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/pnet/RUSTSEC-2019-0037.md","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-25054","tags":["advisory"]},{"url":"https://github.com/libpnet/libpnet/issues/449","tags":["web","report"]},{"url":"https://github.com/advisories/GHSA-24g6-5rx7-58wj"},{"url":"https://github.com/libpnet/libpnet/pull/455","tags":["web"]},{"url":"https://github.com/advisories/GHSA-r6ff-2q3c-v3pv"},{"url":"https://github.com/libpnet/libpnet","tags":["web","package"]},{"url":"https://crates.io/crates/pnet","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2019-25054","description":"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.","status":"published","published":"2021-12-26T21:54:36Z","modified":"2024-08-05T03:00:19.044Z","updated_at":"2026-11-02T14:20:19.737165Z"}],"euvd":[{"id":"EUVD-2022-0419","description":"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.","status":"published","published":"2021-12-26T21:54:36Z","modified":"2024-08-05T03:00:19Z","updated_at":"2026-11-03T02:40:19.824838Z"}],"ghsa":[{"id":"GHSA-24g6-5rx7-58wj","title":"Missing Initialization of Resource in pnet","description":"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.","status":"published","published":"2022-01-06T22:18:07Z","modified":"2023-06-13T20:25:31Z","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-909"],"updated_at":"2026-11-02T14:36:54.225318Z"},{"id":"GHSA-r6ff-2q3c-v3pv","title":"Compiler optimisation leads to SEGFAULT","description":"Affected versions of the `pnet` crate were optimized out by compiler, which caused dereference of uninitialized file descriptor which caused segfault.","status":"published","published":"2021-08-25T21:00:01Z","modified":"2023-01-11T05:05:38Z","cvss":[{"version":"3.0","score":6,"vector":"CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H","level":"medium"}],"cwes":["CWE-908"],"updated_at":"2026-11-02T14:36:12.361159Z"}],"nvd":[{"id":"CVE-2019-25054","description":"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.","status":"published","published":"2021-12-27T00:15:08.2Z","modified":"2026-06-17T02:31:33.923Z","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-909"],"updated_at":"2026-11-02T14:05:49.099942Z"}],"osv":[{"id":"GHSA-24g6-5rx7-58wj","title":"Missing Initialization of Resource in pnet","description":"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.","status":"published","published":"2022-01-06T22:18:07Z","modified":"2023-11-08T04:01:32.674538Z","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-909"],"updated_at":"2026-11-02T15:46:33.956911Z"},{"id":"GHSA-r6ff-2q3c-v3pv","title":"Compiler optimisation leads to SEGFAULT","description":"Affected versions of the `pnet` crate were optimized out by compiler, which caused dereference of uninitialized file descriptor which caused segfault.","status":"published","published":"2021-08-25T21:00:01Z","modified":"2023-11-08T04:01:32.674538Z","cvss":[{"version":"3.0","score":6,"vector":"CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H","level":"medium"}],"cwes":["CWE-908"],"updated_at":"2026-11-02T15:46:55.480549Z"},{"id":"RUSTSEC-2019-0037","title":"Compiler optimisation for next_with_timeout in pnet::transport::IcmpTransportChannelIterator flaws to SEGFAULT","description":"Affected versions of this crate were optimized out by compiler,\nwhich caused dereference of uninitialized file descriptor which caused segfault.","status":"published","published":"2019-06-11T12:00:00Z","modified":"2023-11-08T04:01:32.674538Z","cvss":[{"version":"3.0","score":6,"vector":"CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H","level":"medium"}],"updated_at":"2026-11-02T15:53:39.492624Z"}]}}
