Rust advisories / libpulse-binding
Vulnerability MediumRUSTSEC-2018-0020 · libpulse-binding
RUSTSEC-2018-0020: Possible use-after-free with `proplist::Iterator`
Short answerA security vulnerability in the libpulse-binding crate: Possible use-after-free with `proplist::Iterator`. Medium severity (CVSS 6.5). Fixed in 2.5.0: update to a fixed version.
| Crate | libpulse-binding |
|---|---|
| Type | Vulnerability (memory-corruption) |
| Affected versions | From 1.0.5 before 2.5.0. |
| Fixed in | 2.5.0 |
| Severity | Medium, CVSS 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| Published | 2018-12-22 |
| Last changed | 2026-10-12 |
| Also known as | CVE-2018-25001, GHSA-6gvc-4jvj-pwq4, GHSA-f56g-chqp-22m9 |
What to do
- See which version you have:
cargo tree -i libpulse-binding(it also shows which of your dependencies pulls it in). - Update within your version requirement:
cargo update -p libpulse-binding. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for examplelibpulse-binding = "2.5.0") or update the dependency that pulls it in. - Check again with
cargo audit, or paste your Cargo.lock into our Cargo.toml checker.
Details from the advisory
Affected versions contained a possible use-after-free issue with property list iteration due to a lack of a lifetime constraint tying the lifetime of a proplist::Iterator to the Proplist object for which it was created. This made it possible for users, without experiencing a compiler error/warning, to destroy the Proplist object before the iterator, thus destroying the underlying C object the iterator works upon, before the iterator may be finished with it.
This impacts all versions of the crate before 2.5.0 back to 1.0.5. Before version 1.0.5 the function that produces the iterator was broken to the point of being useless.
References
- Package: crates.io/crates/libpulse-binding
- Advisory: rustsec.org/advisories/RUSTSEC-2018-0020.html
- Web: github.com/jnqnfe/pulse-binding-rust/commit/9e31c82d71749619387cb9d0c9698134d05b28c9
From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.
Other advisories for libpulse-binding
Up next
Same cratelibpulse-binding: security historyEvery advisory for this crate, and whether it is safe to use today.Read it next →Did this answer your question?