Every CVE Search/ Get API key

CVE-2018-18854

Uncontrolled Resource Consumption in spray-json

7.5 HighFix available

Lightbend Spray spray-json through 1.3.4 allows remote attackers to cause a denial of service (resource consumption) because of Algorithmic Complexity during the parsing of many JSON object fields (with keys that have the same hash code).

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

1.90%Up 1.2 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 7.5

Lightbend Spray spray-json through 1.3.4 allows remote attackers to cause a denial of service (resource consumption) because of Algorithmic Complexity during the parsing of many JSON object fields (with keys that have the same hash code).

Record
CVE-2018-18854
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P
Weakness
CWE-400
Updated
2026-11-02
CVE List No score

Lightbend Spray spray-json through 1.3.4 allows remote attackers to cause a denial of service (resource consumption) because of Algorithmic Complexity during the parsing of many JSON object fields (with keys that have the same hash code).

Record
CVE-2018-18854
Updated
2026-11-02
EUVDEUVD-2018-0769 No score

Lightbend Spray spray-json through 1.3.4 allows remote attackers to cause a denial of service (resource consumption) because of Algorithmic Complexity during the parsing of many JSON object fields (with keys that have the same hash code).

Record
EUVD-2018-0769
Updated
2026-11-03
GitHub AdvisoriesGHSA-q8xj-8xg3-w432 7.5

Uncontrolled Resource Consumption in spray-json

Lightbend Spray spray-json through 1.3.4 allows remote attackers to cause a denial of service (resource consumption) because of Algorithmic Complexity during the parsing of many JSON object fields (with keys that have the same hash code).

Record
GHSA-q8xj-8xg3-w432
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-400
Updated
2026-11-02
OSV 7.5

Lightbend Spray spray-json through 1.3.4 allows remote attackers to cause a denial of service (resource consumption) because of Algorithmic Complexity during the parsing of many JSON object fields (with keys that have the same hash code).

Record
CVE-2018-18854
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVGHSA-q8xj-8xg3-w432 7.5

Uncontrolled Resource Consumption in spray-json

Lightbend Spray spray-json through 1.3.4 allows remote attackers to cause a denial of service (resource consumption) because of Algorithmic Complexity during the parsing of many JSON object fields (with keys that have the same hash code).

Record
GHSA-q8xj-8xg3-w432
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-400
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
io.spray:spray-json_2.12
Maven
before 1.3.5
1.3.5
io.spray:spray-json_2.11
Maven
before 1.3.5
1.3.5
io.spray:spray-json_2.10
Maven
before 1.3.5
1.3.5
io.spray:spray-json_2.12
Maven
before 1.3.5, plus listed versions
1.3.21.3.31.3.4
1.3.5
io.spray:spray-json_2.11
Maven
before 1.3.5, plus listed versions
1.2.61.3.01.3.11.3.21.3.31.3.4
1.3.5
io.spray:spray-json_2.10
Maven
before 1.3.5, plus listed versions
1.2.51.2.61.3.01.3.11.3.21.3.31.3.4
1.3.5

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2018-18854 is a high vulnerability (CVSS 7.5) in Lightbend Spray-json, published October 31, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.90%, the 79th percentile. Fixed in io.spray:spray-json_2.12 1.3.5.

References

MoveEnter Open