Intel

AIKIDO-2026-670539

jsonschema is vulnerable to Improper Input Validation

Improper Input Validation Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Jul 22, 2026

59

Medium Risk

This Affects:

RUSTjsonschema
0.35.0 - 0.47.0
Fixed in 0.48.0
Are you affected? Scan for Free

TL;DR

The jsonschema crate validates numeric instances against minimum, maximum, and their exclusive variants. When the arbitrary-precision feature is enabled, integer instances just outside the i64/u64 range are compared against these bounds after a lossy conversion to f64, so a value one step beyond the limit rounds onto the boundary and is treated as satisfying it. An instance that actually violates a numeric bound can therefore be accepted as valid, bypassing the schema constraint on untrusted input. The fix compares such out-of-range integers exactly using big-integer arithmetic instead of f64 rounding.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and the arbitrary-precision feature is enabled.

Background info

jsonschema is vulnerable to Improper Input Validation in versions 0.35.0 - 0.47.0.

How to fix this

Upgrade the jsonschema 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