Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ GHSA-gw5w-5j7f-jmjj — pprof

🟢 CVSS 2.0 — Low ✅ No Known Exploit OSV
2.0
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Unsound usages of std::slice::from_raw_parts

The library breaks the safety assumptions when using unsafe API std::slice::from_raw_parts. First, when using the API in iterator implementation (TempFdArrayIterator.next), generic type could be any type, which would create and pass a misaligned pointer to the unsafe API. Second, when validating the address, the code passed the type c_void, which could also be any type, leading to potential uninitialized memory exposure.

Two unsound usages here highlight the necessity for developers to perform type checks before doing type conversion with unsafe API.

The panic caused by the misalignment causes several downstream applications (e.g., greptimedb) to crash when using pprof::report::ReportBuilder::build.

This was patched in 0.14.0.

The developer also suggested moving to [pprof2](https://crates.io/crates/pprof2).

Affected software

GHSA-gw5w-5j7f-jmjj is recorded against 1 package.

  • pprof

Timeline and source

Published on 5 December 2024 and last revised on 4 February 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

github.com (Web)
github.com (Package)
rustsec.org (Web)

Details

Severity LOW
CVSS Score 2.0
CVSS Vector N/A
CWE N/A
Public Exploit ✅ No
Source OSV
Published 2024-12-05
Updated 2026-08-20
Modified 2026-02-04
Fix URL N/A

Affected Packages

Software From version Fixed in
pprof

Similar Threats

Free Vulnerability Check

Is your site affected by GHSA-gw5w-5j7f-jmjj?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against GHSA-gw5w-5j7f-jmjj and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.