Intel

AIKIDO-2026-237202

simd-json is vulnerable to Undefined Behavior

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Jul 9, 2026
July 9, 2026

20

CVE Score

Low

Undefined Behavior

Are you affected? Scan for Free

TL;DR

simd-json parses JSON structure with unsafe native and NEON SIMD stage-1 code. The NEON stage-1 path stores structural indexes with an alignment-assuming write into an under-aligned buffer, causing undefined behavior that can corrupt memory, and on runtime-detection builds without the portable feature the native fallback skips UTF-8 validation and treats invalid UTF-8 as a valid string. A zero-length buffer allocation also invokes undefined behavior. The fix switches to unaligned writes, adds a native UTF-8 pre-validation step before structural-bit detection, and avoids the zero-size allocation.

How do I fix this?

Upgrade the simd-json library to the patch version.

Who does this affect?

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

Package

Versions

0.3.21 - 0.17.1

Fixed in 0.17.2

Background info

simd-json is vulnerable to Undefined Behavior in versions 0.3.21 - 0.17.1.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea