
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-24802 is an infinite loop (CWE-835) vulnerability in the jsonrpc4j library by briandilley, specifically within the NoCloseOutputStream.java file in the RPC stream writer component. It affects all versions of com.github.briandilley.jsonrpc4j:jsonrpc4j through 1.6.0, with version 1.7.0 containing the fix. The vulnerability was published on January 27, 2026, and carries a CVSS v4.0 base score of 5.3 (Medium) (Github Advisory, Red Hat CVE).
The root cause is a Loop with Unreachable Exit Condition (CWE-835) in the write method of NoCloseOutputStream.java, which lacks proper input validation before delegating to the underlying output stream. When a malformed or crafted JSON-RPC request is processed, the stream writer can enter an infinite loop, consuming CPU resources indefinitely. The fix, merged via pull request #333, adds input validation to prevent null inputs and out-of-bounds array access, and ensures operations only proceed with valid inputs (Github PR #333, Github Advisory). The vulnerability requires passive user interaction (e.g., a request being processed) but no privileges or authentication, making it exploitable by any network-accessible attacker.
Successful exploitation causes the affected application to hang indefinitely due to the infinite loop, resulting in a denial-of-service (DoS) condition and service unavailability. The CVSS v4.0 scoring also indicates low confidentiality and integrity impacts on the vulnerable system, suggesting some potential for limited data exposure or modification as a side effect. Downstream systems depending on the jsonrpc4j service may also experience availability degradation (Github Advisory, Red Hat CVE).
jsonrpc4j version ≤ 1.6.0, using network scanning or application fingerprinting tools.write method in NoCloseOutputStream.write method in NoCloseOutputStream.java enters an infinite loop while attempting to process the invalid input, consuming CPU resources and causing the application thread to hang.NoCloseOutputStream.write() with no exit.The fix is available in jsonrpc4j version 1.7.0, which includes proper input validation in the write method of NoCloseOutputStream.java (Github Advisory, Github PR #333). Users should upgrade the Maven dependency com.github.briandilley.jsonrpc4j:jsonrpc4j to version 1.7.0 or later. As of the time of reporting, a formal release of 1.7.0 to Maven Central had not yet been confirmed; users should monitor the project repository and issue #361 for release updates (Github PR #333). As a temporary workaround, restrict network access to JSON-RPC endpoints and implement request rate limiting or input validation at the API gateway layer.
A contributor on the GitHub pull request noted that CVE-2026-24802 was assigned after the fix was merged, and requested a new patch release (e.g., 1.7.1) to make the fix available on Maven Central, particularly one that retains Java 8 compatibility (Github PR #333). The vulnerability received standard automated tracking coverage from vulnerability aggregators (Vulners, VulDB, Bluesky CVE feeds) but no notable independent security researcher commentary or media coverage has been identified.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."