CVE-2019-16881
CRITICAL 9.8CVSS 3.1Use after free in portaudio-rs
An issue was discovered in the portaudio-rs crate through 0.3.1 for Rust. There is a use-after-free with resultant arbitrary code execution because of a lack of unwind safety in stream_callback and stream_finished_callback.
- Published
- 25 Sep 2019
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-416
- Also known as
- GHSA-qpjr-ch72-2qq4RUSTSEC-2019-0022
- Sources
- NVDJSONOSV GHSA-qpjr-ch72-2qq4JSONOSV RUSTSEC-2019-0022JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | RustSec | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | portaudio-rs_project | portaudio-rscpe:2.3:a:portaudio-rs_project:portaudio-rs:*:*:*:*:*:*:*:* |
<= 0.3.1 | |
| OSV | crates.io | portaudio-rs | < 0.3.2 | 0.3.2 |
| OSV | crates.io | portaudio-rs | >= 0.0.0-0, < 0.3.2-0 | 0.3.2-0 |
References
- https://rustsec.org/advisories/RUSTSEC-2019-0022.html · Exploit, Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2019-16881 · ADVISORY
- https://github.com/mvdnes/portaudio-rs/issues/20 · WEB, REPORT
- https://github.com/mvdnes/portaudio-rs/commit/7466df019f6739732fd91401017942c22364ef61 · WEB
- https://github.com/mvdnes/portaudio-rs · PACKAGE
- https://crates.io/crates/portaudio-rs · PACKAGE
History
- 25 Nov 2026 20:30 UTC · NVD: first stored (published 25 Sep 2019)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 Sep 2019)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)