Intel

AIKIDO-2026-33398

ox is vulnerable to Out-of-bounds Write

Out-of-bounds Write Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Aug 10, 2026

65

Medium Risk

This Affects:

RUBYox
1.0.0 - 2.14.28
Fixed in 2.14.29
Are you affected? Scan for Free

TL;DR

Ox parses and serializes XML through a C extension that mishandles many untrusted-input conditions across its SAX parser, object-mode loader, dumper, builder, base64 decoder, and name cache. Crafted XML or object-mode documents trigger stack and heap buffer overflows, out-of-bounds reads and writes, use-after-free and double-free conditions, reads of uninitialized memory, and hash-flooding, and a document can force a default load into object mode. Before the fix these conditions let untrusted input corrupt process memory, disclose adjacent memory, crash the process, or instantiate unexpected objects. The fix adds bounds and size validation, element depth and nesting limits, safe allocation and free handling, per-process name-cache seeding, and stricter object-mode selection.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application parses or serializes externally influenced or untrusted XML input with Ox.

Background info

ox is vulnerable to Out-of-bounds Write in versions 1.0.0 - 2.14.28.

How to fix this

Upgrade the ox library to the patch version.