cve.bz

CVE-2026-86319 java-json-tools json-patch: Uncontrolled Resource Consumption

5.5 mediumEPSS 0.7%

Medium (5.5) in java-json-tools json-patch. EPSS 0.7% estimated probability of exploitation activity in the next 30 days.

On this page
A vulnerability has been found in java-json-tools json-patch up to 1.13. Affected by this vulnerability is the function JsonPatch.apply of the file src/main/java/com/github/fge/jsonpatch/JsonPatch.java of the component Patch Operation Handler. The manipulation leads to resource consumption. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used. The project was informed of the problem early through an issue report but has not responded yet.

Severity

CVSS 4.0

5.5 medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 54th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-09-09. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-400 Uncontrolled Resource Consumption
CWE-404 Improper Resource Shutdown or Release
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-86319 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-86319?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-86319?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-86319 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
java-json-tools json-patch1.0
java-json-tools json-patch1.1
java-json-tools json-patch1.2
java-json-tools json-patch1.3
java-json-tools json-patch1.4
java-json-tools json-patch1.5
java-json-tools json-patch1.6
java-json-tools json-patch1.7
java-json-tools json-patch1.8
java-json-tools json-patch1.9
java-json-tools json-patch1.10
java-json-tools json-patch1.11
java-json-tools json-patch1.12
java-json-tools json-patch1.13

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

A denial of service vulnerability was found in java-json-tools json-patch, a Java library for applying JSON Patch (RFC 6902) documents. In versions up to and including 1.13, the JsonPatch.apply function in the Patch Operation Handler can be exploited through resource consumption. An attacker can craft a malicious JSON Patch document containing deeply nested structures, excessively large arrays, or recursive references that cause the parser to enter an infinite loop or allocate memory exponentially, leading to CPU or memory exhaustion and denial of service. This vulnerability can be exploited remotely and does not require authentication. As of September 2026, the project maintainers have not responded to vulnerability reports and no patch is currently available. This issue affects Red Hat products that bundle vulnerable versions of json-patch.

Red Hat's mitigation

There is no official patch available for this vulnerability. Until a fix is released, administrators can implement the following mitigations to reduce the risk of resource exhaustion attacks:

1. Implement strict input validation on JSON Patch documents before passing them to JsonPatch.apply(), including maximum depth limits for nested objects (e.g., depth <= 10), maximum array size limits (e.g., array length <= 1000), and maximum total document size (e.g., <= 100KB).

2. Set timeouts on JSON Patch parsing and application operations to prevent indefinite execution. Implement circuit breakers that abort processing if execution time exceeds reasonable thresholds (e.g., 5 seconds).

3. Apply rate limiting on API endpoints or services that accept JSON Patch documents to prevent rapid repeated attacks from a single source.

4. Configure resource limits (memory, CPU) for Java processes that use json-patch to prevent a single request from consuming all system resources.

5. Where possible, restrict JSON Patch processing to authenticated and trusted sources only. Avoid exposing json-patch functionality directly to unauthenticated external users.

6. Monitor application logs and metrics for unusual resource consumption patterns that may indicate exploitation attempts.

Continue to monitor for updates from the json-patch project maintainers and apply patches when they become available.

ProductPackageStateAdvisory
Red Hat build of Apicurio Registry 3json-patchFix deferred
Red Hat build of Debezium 3json-patchFix deferred
Red Hat Build of Keycloakjson-patchFix deferred
Red Hat Build of Keycloakkeycloak/rhbk-rhel9-operatorFix deferred
Red Hat Build of Keycloakrhbk/keycloak-rhel9-operatorFix deferred
Red Hat build of Quarkusjson-patchFix deferred
Red Hat Fuse 7json-patchOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-86319.

Attack patterns (CAPEC)

  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup
  • CAPEC-125 Flooding Likelihood: High · Severity: Medium
  • CAPEC-130 Excessive Allocation Likelihood: Medium · Severity: Medium
  • CAPEC-131 Resource Leak Exposure Likelihood: Medium · Severity: Medium
  • CAPEC-494 TCP Fragmentation
  • CAPEC-495 UDP Fragmentation
  • CAPEC-496 ICMP Fragmentation
  • CAPEC-666 BlueSmacking Likelihood: Medium · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON