CVE-2026-24802 Buffer Overflow Vulnerability in briandilley/jsonrpc4j
An infinite loop in the NoCloseOutputStream class allows attackers to cause a denial of service in applications using the jsonrpc4j library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2026-24802?
CVE-2026-24802 is a medium-severity denial of service vulnerability in briandilley jsonrpc4j, published on 27 Jan 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Loop with Unreachable Exit Condition ('Infinite Loop') vulnerability in briandilley jsonrpc4j (src/main/java/com/googlecode/jsonrpc4j modules). This vulnerability is associated with program files NoCloseOutputStream.Java.
This issue affects jsonrpc4j: through 1.6.0.
Weakness: CWE-835
Which versions are affected by CVE-2026-24802?
2 open source packages ship an affected version, including com.github.briandilley.jsonrpc4j:jsonrpc4j.
| Package | Affected | Fixed in |
|---|---|---|
com.github.briandilley.jsonrpc4j:jsonrpc4j Maven | All versions | 1.7.0 |
com.github.briandilley.jsonrpc4j:jsonrpc4j Maven | All versions | 1.7.0 |
How do I fix CVE-2026-24802?
Upgrade com.github.briandilley.jsonrpc4j:jsonrpc4j to 1.7.0 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2026-24802 being exploited?
There is no known exploitation of CVE-2026-24802 in the wild and no public exploit code.
Sources
Also known as GHSA-hcx3-3q5c-r5v6.