CVE-2026-24802
Infinite Loop Vulnerability in jsonrpc4j NoCloseOutputStream Component
Publication date: 2026-01-27
Last updated on: 2026-01-27
Assigner: Government Technology Agency of Singapore Cyber Security Group (GovTech CSG)
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| briandilley | jsonrpc4j | to 1.6.0 (inc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-835 | The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
The vulnerability is an Infinite Loop issue in the jsonrpc4j library, specifically in the NoCloseOutputStream.Java file. It occurs due to a loop with an unreachable exit condition, which can cause the program to hang indefinitely.
How can this vulnerability impact me? :
This vulnerability can cause the affected application to enter an infinite loop, potentially leading to denial of service by making the application unresponsive or consuming excessive resources.
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, update the jsonrpc4j library to a version later than 1.6.0 where the issue has been fixed. The fix involves applying the patch from pull request #333, which adds robust input validation in the RPC Stream Writer's write method to prevent buffer overflow and related crashes. Ensuring that your application uses this patched version will protect against the vulnerability. [1]