Live threats

All CVEs / Portaudio-rs Project

CVE-2019-16881Portaudio-rs Project Portaudio-rs

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
2.5%
probability of exploitation in 30 days · percentile 85
Auth required
No
Published
Sep 25, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-416
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Portaudio-rs.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
crates.io portaudio-rs < 0.3.2 0.3.2 cargo update -p portaudio-rs --precise 0.3.2
crates.io portaudio-rs ≥ 0.0.0-0 < 0.3.2-0 0.3.2-0 cargo update -p portaudio-rs --precise 0.3.2-0

Per OSV / GitHub Advisories (GHSA-qpjr-ch72-2qq4, RUSTSEC-2019-0022). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
portaudio-rs_projectportaudio-rs≤ 0.3.1

Official sources

References

Links published by the sources. Open them with care.