Intel

AIKIDO-2025-10832

referencing is vulnerable to Stack-based Buffer Overflow

Stack-based Buffer Overflow Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Nov 21, 2025

75

High Risk

This Affects:

RUSTreferencing
0.34.0 - 0.37.0
Fixed in 0.37.1
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to a Denial of Service (DoS) via Stack Overflow. An empty $ref value triggers infinite recursion during JSON Schema validation, eventually crashing the process. An attacker can exploit this by submitting a maliciously crafted schema containing {'$ref': ''}, consuming all available stack memory.

Who does this affect?

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

Background info

referencing is vulnerable to Stack-based Buffer Overflow in versions 0.34.0 - 0.37.0.

How to fix this

Upgrade the referencing library to the patch version.