Intel

AIKIDO-2026-560967

numo-narray-alt is vulnerable to Stack-based Buffer Overflow

Stack-based Buffer Overflow Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Aug 27, 2026

65

Medium Risk

This Affects:

RUBYnumo-narray-alt
0.9.3 - 0.10.6
Fixed in 0.10.7
0.11.0 - 0.11.1
Fixed in 0.11.2
Are you affected? Scan for Free

TL;DR

The formatting path for Numo::RObject arrays writes each element's to_s output into a fixed 48-byte stack buffer using sprintf. When an element's string representation exceeds 47 bytes, the write runs past the end of the buffer and corrupts the stack. Formatting or inspecting an RObject array whose elements have long or externally influenced string representations therefore triggers a stack-based buffer overflow. The fix builds the element string without a fixed-size stack buffer.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you format or inspect Numo::RObject arrays whose elements can produce long string representations.

Background info

numo-narray-alt is vulnerable to Stack-based Buffer Overflow in versions 0.9.3 - 0.10.6 and 0.11.0 - 0.11.1.

How to fix this

Upgrade the numo-narray-alt library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform