CVE-2023-34620 json
hjson stack exhaustion vulnerability
published 2023-06-14 3 y ago modified 2026-09-10 1 mo ago also GHSA-5wfc-hjrc-gq87 , GO-2026-5157 , EUVD-2023-1706
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 56%
- public exploits
- 0
- none known
Summary
An issue was discovered hjson thru 3.0.0 allows attackers to cause a denial of service or other unspecified impacts via crafted object that uses cyclic dependencies.
Patch / fix
- maven org.hjson:hjson 3.0.1
- packagist laktak/hjson 2.3.0
- go github.com/hjson/hjson-go/v4 4.5.0
- govulncheck-vulndb openSUSE Leap 16.0 0.0.20260723T184607-160000.1.1
opensuse advisories openSUSE-SU-2026:21483-1
- github.com/hjson/hjson-go@326599c commit
- github.com/hjson/hjson-php@2d1b8b4 commit
- github.com/hjson/hjson-cpp#54 pull request
- github.com/hjson/hjson-go#67 pull request
- github.com/hjson/hjson-php#45 pull request
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 22 mo ago
Exploit prediction
0.78% chance of exploitation in the next 30 days, higher than 56% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/hjson/hjson-java/issues/24 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.hjson:hjson | <3.0.1 |
3.0.1 |
| packagist | laktak/hjson | <2.3.0 |
2.3.0 |
| go | github.com/hjson/hjson-go/v4 | <4.5.0 |
4.5.0 |
| go | github.com/hjson/hjson-go | all versions |
no fix listed |
Classification
References
-
github.com
/hjson/hjson-cpp/pull/54
web
-
github.com
/hjson/hjson-go/pull/67
web, patch
-
github.com
/hjson/hjson-php/pull/45
web
-
github.com
/hjson/hjson-go/commit/326599cebc6ef759892f473bf1439b98466a99fa
web, patch
-
github.com
/hjson/hjson-php/commit/2d1b8b4b158a8d841f3a228f267c7cd84fe5a4fa
web
-
github.com
/hjson/hjson-java/issues/24
web, exploit, issue-tracking, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2023-34620
advisory
-
github.com
/advisories/GHSA-5wfc-hjrc-gq87
advisory
Sources
- CVE List CVE-2023-34620
- GitHub Advisory GHSA-5wfc-hjrc-gq87
- NVD CVE-2023-34620
- OSV GO-2026-5157
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.