Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. libpulse-binding
  4. ›
  5. CVE-2018-25027

CVE-2018-25027: Use After Free in libpulse-binding

January 6, 2022 (updated June 13, 2023)

Affected versions contained a pair of use-after-free issues with the objects returned by the get_format_info and get_context methods of Stream objects. These objects were mistakenly being constructed without setting an important flag to prevent destruction of the underlying C objects they reference upon their own destruction.

References

  • github.com/advisories/GHSA-hxjf-h2mh-r6hj
  • github.com/jnqnfe/pulse-binding-rust
  • github.com/jnqnfe/pulse-binding-rust/security/advisories/GHSA-ghpq-vjxw-ch5w
  • nvd.nist.gov/vuln/detail/CVE-2018-25027
  • raw.githubusercontent.com/rustsec/advisory-db/main/crates/libpulse-binding/RUSTSEC-2018-0021.md
  • rustsec.org/advisories/RUSTSEC-2018-0021.html

Code Behaviors & Features

Detect and mitigate CVE-2018-25027 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.2.1

Fixed versions

  • 1.2.1

Solution

Upgrade to version 1.2.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-416: Use After Free

Source file

cargo/libpulse-binding/CVE-2018-25027.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:34 +0000.