CVE-2023-34616: pbjson vulnerable to stack exhaustion
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.19971%
CWE
Published
6/14/2023
Updated
1/3/2025
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| com.progsbase.libraries:JSON | maven | <= 0.4.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The stack trace shows repeated calls to GetJSONValueRecursive and GetJSONArray when processing nested structures. The vulnerability manifests in recursive parsing functions that lack depth tracking or cycle detection. These functions create new stack frames for each nested element without limit, making them directly responsible for stack exhaustion. The PoC demonstrates this by generating a deeply nested JSON array that triggers a StackOverflowError through recursive parsing.