CVE-2026-24802

Buffer Overflow Vulnerability in briandilley/jsonrpc4j

Published Jan 27, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability originates from a loop with an unreachable exit condition in the jsonrpc4j library, classified as CWE-835. When triggered, the loop runs indefinitely, consuming CPU resources and preventing the application from processing further requests, effectively causing a denial of service. The publisher labels it as a buffer overflow, but the underlying flaw is an infinite loop rather than a memory corruption issue.

Affected Systems

The affected product is jsonrpc4j from briandilley, version 1.6.0 and earlier. Projects that embed this version and expose the JSON‑RPC endpoint may be vulnerable if proper access controls are not in place.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate severity, and the EPSS score is below 1 %, suggesting a low likelihood of exploitation in the wild. The vulnerability is not listed in CISA’s KEV catalog. The likely attack vector would be remote, via crafted inbound requests to the JSON‑RPC service, though this is inferred from the nature of the library and not explicitly stated in the advisory. Exploitation would require an attacker to send data that triggers the loop, resulting in the service becoming unresponsive until it is restarted or a watchdog recovers it.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade jsonrpc4j to a version newer than 1.6.0, such as 1.6.1 if available, to remove the flawed loop.
  • Limit external access to the JSON‑RPC service so only trusted clients can invoke it, thereby reducing the attack surface for the infinite loop.
  • Implement application‑level watchdogs or process resource limits to detect when the service stalls and restart it automatically.

Generated by OpenCVE AI on April 18, 2026 at 02:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-hcx3-3q5c-r5v6 jsonrpc4j has Infinite Loop in RPC Stream Writer
History
Type Values Removed Values Added
First Time appeared Briandilley
Briandilley jsonrpc4j
Vendors & Products Briandilley
Briandilley jsonrpc4j
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Buffer Overflow Vulnerability in briandilley/jsonrpc4j
Weaknesses CWE-835
References
Metrics cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:L/AU:Y/R:A/V:D/RE:M/U:Amber'}

Weaknesses
  • CWE-835

    Loop with Unreachable Exit Condition ('Infinite Loop')

Sources

Status
PUBLISHED
Assigner
GovTech CSG
Published
Updated
Jan 27, 2026, 5:03 PM
Reserved
Jan 27, 2026, 8:18 AM
Status
Deferred
Published
Jan 27, 2026, 9:15 AM
Modified
Jun 17, 2026, 10:23 AM