Vulnerability DatabaseGHSA-ghpq-vjxw-ch5w

GHSA-ghpq-vjxw-ch5w
Rust vulnerability analysis and mitigation

Overview

A use-after-free vulnerability was discovered in the libpulse-binding Rust crate affecting versions prior to 1.2.1. The vulnerability was identified in the objects returned by the get_format_info and get_context methods of Stream objects. The issue was fixed in version 1.2.1, released on June 15, 2018. The vulnerability was assigned multiple identifiers including GHSA-ghpq-vjxw-ch5w, CVE-2018-25027, and CVE-2018-25028 (RustSec).

Technical details

The vulnerability stems from a programming error where objects were constructed without setting a crucial flag that would prevent the destruction of underlying C objects upon their own destruction. This oversight specifically affected the get_format_info and get_context methods of Stream objects, leading to potential use-after-free scenarios. The issue was classified with CWE-416 (Use After Free) and received a High severity rating (GitHub Advisory).

Impact

The vulnerability could lead to memory corruption issues due to the use-after-free condition in the affected methods. This could potentially result in program crashes or undefined behavior when using the affected functions in the libpulse-binding crate (RustSec).

Mitigation and workarounds

Users are required to update to version 1.2.1 or newer of the libpulse-binding crate. All versions older than 1.2.1 have been yanked from crates.io as of October 22, 2020, to prevent new projects from using vulnerable versions (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Rust vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-62518HIGH8.1
  • RustRust
  • rust-astral-tokio-tar
NoYesOct 21, 2025
GHSA-fp5x-7m4q-449fLOW2
  • RustRust
  • direct_ring_buffer
NoYesOct 21, 2025
GHSA-h5j3-crg5-8jqmLOW2
  • RustRust
  • orx-pinned-vec
NoYesOct 21, 2025
RUSTSEC-2025-0107N/AN/A
  • RustRust
  • borrowck_sacrifices
NoYesOct 21, 2025
RUSTSEC-2025-0106N/AN/A
  • RustRust
  • orx-pinned-vec
NoYesOct 21, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management