DHI-3gb6-lsxh-qdui-rlyf
The non-blocking (asynchronous) JSON parser in jackson-core does not enforce the maxNumberLength constraint defined in…
- CVSS
- —
- EPSS
- —
- Published
- 2026-11-20
- Age
- 14d old
- Modified
- 2026-12-01
- Product
- janusgraph-1.0
Description
The non-blocking (asynchronous) JSON parser in jackson-core does not enforce the maxNumberLength constraint defined in StreamReadConstraints (default: 1000 characters). An attacker able to submit JSON to an application that uses the async parser API can supply a number token of arbitrary length, leading to excessive memory allocation and potential CPU exhaustion, resulting in a denial of service. The synchronous parser enforces this limit correctly, so the constraint is applied inconsistently depending on which parsing API the application uses. Root cause: the async parsing path in NonBlockingUtf8JsonParserBase and related classes never invokes the number length validation methods. Number parsing methods such as _finishNumberIntegralPart() accumulate digits into the TextBuffer without any length check, then call _valueComplete() to finalize the token. _valueComplete() does not call resetInt() or resetFloat(), which are the methods in ParserBase where validateIntegerLength() and validateFPLength() are performed. Because that validation step is skipped, maxNumberLength is never enforced on the async code path. Impact: an attacker sending a JSON document containing an arbitrarily long
Sources
- OSV · first seen 11d ago · CC-BY 4.0
References
- https://scout.docker.com/v/DHI-3gb6-lsxh-qdui-rlyf advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-18401 advisory
- https://alas.aws.amazon.com/AL2023/ALAS-2026-2067.html advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-68494 advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-18401 advisory
- https://security-tracker.debian.org/tracker/CVE-2026-18401 advisory
- https://github.com/advisories/GHSA-72hv-8253-57qq advisory
- https://github.com/FasterXML/jackson-core/security/advisories/GHSA-72hv-8253-57qq advisory
- https://github.com/FasterXML/jackson-core/pull/1555 fix
- https://github.com/FasterXML/jackson-core/commit/b0c428e6f993e1b5ece5c1c3cb2523e887cd52cf fix
- https://ubuntu.com/security/CVE-2026-18401 advisory
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-18401 advisory