Intel

AIKIDO-2025-10291

redox_uefi_std is vulnerable to Heap-based Buffer Overflow

Heap-based Buffer OverflowGHSA-58xc-hpvq-8473

45

Medium Risk

This Affects:

Rustredox_uefi_std
0.1.8 - 0.1.13
Fixed in 0.1.14

TL;DR

Affected versions of this package contain a vulnerability in the ffi::nstr() function, which fails to validate whether the input buffer is properly null-terminated. Since this function is not marked as unsafe, it may be used incorrectly, leading to undefined behavior when processing unterminated buffers.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

redox_uefi_std is vulnerable to Heap-based Buffer Overflow in versions 0.1.8 - 0.1.13.

How to fix this

Upgrade the redox_uefi_std library to the patch version.