Intel

AIKIDO-2026-10002

referencing is vulnerable to Use-After-Free

Use-After-Free Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Jan 6, 2026

36

Low Risk

This Affects:

RUSTreferencing
0.29.0 - 0.37.4
Fixed in 0.38.0
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to use-after-free due to incorrect lifetime handling during asynchronous $ref resolution. When multiple $ref references point to the same external schema URL but use different fragments, internal state can be freed prematurely and later accessed again. This can result in undefined behavior, including crashes or other memory safety issues, during schema validation.

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 Use-After-Free in versions 0.29.0 - 0.37.4.

How to fix this

Upgrade the referencing library to the patch version.