NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
☕ Maven
Not in CISA KEV

CVE-2018-18855 — spray-json_2.10

Fix: spray/spray-json#284

CVE-2018-18855 is a remote code execution vulnerability in io.spray:spray-json_2.10. A fix is available for io.spray:spray-json_2.10 — see the affected versions and patch details below.

Uncontrolled Resource Consumption in Spray JSON

Published
Updated
Affected
12 pkgs
Patched
4 / 12
Exploits
None indexed
Exploitation data as of Sep 30, 2025 · OSV.dev, FIRST.org (EPSS)

Real-World Exposure

12 pkgs affected
☕io.spray:spray-json_2.10☕io.spray:spray-json_2.11☕io.spray:spray-json_2.11.0-RC4☕io.spray:spray-json_2.12☕io.spray:spray-json_2.12.0-M3☕io.spray:spray-json_2.12.0-M5☕io.spray:spray-json_2.12.0-RC1☕io.spray:spray-json_2.12.0-RC2+4 more

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

Description

Recursive decent parsers are susceptible too StackOverflowExceptions on too deeply nested structures as currently "open" parsing state is kept on the stack.

Affected Packages

12 total 4 fixed
EcosystemPackageVulnerable rangeFix
☕Mavenio.spray:spray-json_2.10all versions1.3.5io.spray:spray-json_2.10:1.3.5
☕Mavenio.spray:spray-json_2.11all versions1.3.5io.spray:spray-json_2.11:1.3.5
☕Mavenio.spray:spray-json_2.11.0-RC4all versionsNo fix
☕Mavenio.spray:spray-json_2.12all versions1.3.5io.spray:spray-json_2.12:1.3.5
☕Mavenio.spray:spray-json_2.12.0-M3all versionsNo fix
☕Mavenio.spray:spray-json_2.12.0-M5all versionsNo fix

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for io.spray:spray-json_2.10, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update io.spray:spray-json_2.10 to 1.3.5 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2018-18855 is resolved across your whole dependency graph.

  3. Workarounds

    Stop feeding it untrusted input: reject or quarantine files and payloads from unverified sources until you can upgrade, restrict accepted formats to the ones you actually need, and run the parsing or decoding step in a least-privileged sandbox or short-lived worker so a crash or corrupted read cannot reach the rest of the process.

Frequently Asked Questions

Recursive decent parsers are susceptible too StackOverflowExceptions on too deeply nested structures as currently "open" parsing state is kept on the stack.
O3 Security · Impact-Aware SCA

Is CVE-2018-18855 in your dependencies?

Find it across Maven, including transitive dependencies.