---
id: CVE-2026-86318
title: A flaw has been found in java-json-tools json-patch up to 1.13
summary: >-
  A flaw has been found in java-json-tools json-patch up to 1.13. Affected is
  the function JsonMergePatch.fromJson of the file
  JsonMergePatchDeserializer.java. Executing a manipulation can lead to
  stack-based buffer overflow. The attack ma…
severity: medium
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'
cwe:
  - CWE-119
  - CWE-121
  - CWE-120
vendor: java-json-tools
product: json-patch
affected:
  - json-patch 1.0
  - json-patch 1.1
  - json-patch 1.2
  - json-patch 1.3
  - json-patch 1.4
  - json-patch 1.5
  - json-patch 1.6
  - json-patch 1.7
  - json-patch 1.8
  - json-patch 1.9
  - json-patch 1.10
  - json-patch 1.11
  - json-patch 1.12
  - json-patch 1.13
published: '2026-09-07'
updated: '2026-09-08'
sourceUpdated: '2026-09-08T14:17:34.430'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-86318'
references:
  - url: 'https://github.com/java-json-tools/json-patch/'
    label: cna@vuldb.com
  - url: 'https://github.com/java-json-tools/json-patch/issues/168'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/cve/CVE-2026-86318'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/submit/908319'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/vuln/399509'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/vuln/399509/cti'
    label: cna@vuldb.com
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-86318.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-86318'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2529484'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-86318'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-86318'
tags:
  - nvd
  - cve.org
  - exploit-available
  - csaf
  - vex
  - red-hat
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-09-08T13:02:50.545829Z'
epss: 0.00758
epssPercentile: 0.53304
ingestedAt: '2026-09-08T15:33:26.978Z'
---

## Overview

A flaw has been found in java-json-tools json-patch up to 1.13. Affected is the function JsonMergePatch.fromJson of the file JsonMergePatchDeserializer.java. Executing a manipulation can lead to stack-based buffer overflow. The attack may be performed from remote. The exploit has been published and may be used. The project was informed of the problem early through an issue report but has not responded yet.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · Moderate · affected: Red Hat build of Apicurio Registry 3, Red Hat build of Debezium 3, Red Hat Build of Keycloak, Red Hat build of Quarkus, Red Hat Fuse 7 · no fix planned: Red Hat build of Apicurio Registry 3, Red Hat build of Debezium 3, Red Hat Build of Keycloak, Red Hat build of Quarkus, … · updated 2026-09-14 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-86318.json)
