# GHSA-58xc-hpvq-8473: Redox UEFI Safe API can cause heap-buffer-overflow

- Severity: Low (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2025-03-27T12:00:00.000Z
- Modified: 2025-10-28T06:29:23.114Z
- Also known as: RUSTSEC-2025-0032
- Weaknesses: CWE-122

## Description

ffi::nstr() should be marked unsafe, since a pointer to a buffer without a trailing 0 value will cause a heap buffer overflow.

(As written by GitHub Advisory Database.)

## Affected

- redox_uefi_std (crates.io): from 0.1.8 before 0.1.14

## References

- <https://gitlab.redox-os.org/redox-os/uefi> (package)
- <https://gitlab.redox-os.org/redox-os/uefi/-/commit/b711d47e815665b0ec8949e39292ad8e3fdd0756> (web)
- <https://rustsec.org/advisories/RUSTSEC-2025-0032.html> (advisory, web)
- <https://crates.io/crates/redox_uefi_std> (package)

## Sources

- GitHub Advisory Database: [GHSA-58xc-hpvq-8473](https://github.com/advisories/GHSA-58xc-hpvq-8473), CC-BY-4.0, modified 2025-10-28
- RustSec Advisory Database: [RUSTSEC-2025-0032](https://rustsec.org/advisories/RUSTSEC-2025-0032.html), CC0-1.0, modified 2025-10-28

---

Page: https://cve.day/GHSA-58xc-hpvq-8473 · Whole record: https://cve.day/GHSA-58xc-hpvq-8473.json · Rebuilt by cve.day 2026-11-25T22:56:43.255Z
