Skip to content
Heist/ feed
Back to feed
Medium

java-json-tools json-patch JsonMergePatchDeserializer.java JsonMergePatch.fromJson stack-based overflow

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-86318
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 08:02 UTC · Revision 1

Source evidence

java-json-tools json-patch JsonMergePatchDeserializer.java JsonMergePatch.fromJson stack-based overflow

core-osv · Original source

Published 7 Sept 2026, 14:30 UTC

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.

osv:CVE-2026-86318
Complete source record
{
  "id": "4c2096cdfe5bae083f23a5479d5794b1a2d5fab482a0a11ef5b04000aeb07864",
  "url": "https://osv.dev/vulnerability/CVE-2026-86318",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "java-json-tools json-patch JsonMergePatchDeserializer.java JsonMergePatch.fromJson stack-based overflow",
    "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 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.",
    "evidence": "osv:CVE-2026-86318",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-86318",
      "aliases": [
        "CVE-2026-86318"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/java-json-tools/json-patch",
              "type": "GIT",
              "events": [
                {
                  "introduced": "5922bdcee44d9e58335cdbdbcc35b3bcfe43d38a"
                },
                {
                  "last_affected": "7c391b5d3c6b1649178c7278c1096b65e974e4ae"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "1.2"
                      },
                      {
                        "last_affected": "1.2"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "1.3"
                      },
                      {
                        "last_affected": "1.3"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "1.4"
                      },
                      {
                        "last_affected": "1.4"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "1.5"
                      },
                      {
                        "last_affected": "1.5"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "1.6"
                      },
                      {
                        "last_affected": "1.6"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "1.7"
                      },
                      {
                        "last_affected": "1.7"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "1.8"
                      },
                      {
                        "last_affected": "1.8"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "1.9"
                      },
                      {
                        "last_affected": "1.9"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "1.11"
                      },
                      {
                        "last_affected": "1.11"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "1.12"
                      },
                      {
                        "last_affected": "1.12"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "1.13"
                      },
                      {
                        "last_affected": "1.13"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "1.13"
                      }
                    ],
                    "source": "DESCRIPTION"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.11",
            "1.12",
            "1.13",
            "1.2",
            "1.3",
            "1.4",
            "1.5",
            "1.6",
            "1.7",
            "1.8",
            "1.9",
            "v1.13",
            "v1.11"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-86318.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:33.597283993Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/86xxx/CVE-2026-86318.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-86318",
        "https://vuldb.com/cve/CVE-2026-86318",
        "https://vuldb.com/submit/908319",
        "https://vuldb.com/vuln/399509",
        "https://vuldb.com/vuln/399509/cti",
        "https://github.com/java-json-tools/json-patch/",
        "https://github.com/java-json-tools/json-patch/issues/168"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-119",
          "CWE-121"
        ],
        "cna_assigner": "VulDB",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.0"
                  },
                  {
                    "last_affected": "1.0"
                  },
                  {
                    "introduced": "1.1"
                  },
                  {
                    "last_affected": "1.1"
                  },
                  {
                    "introduced": "1.10"
                  },
                  {
                    "last_affected": "1.10"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/86xxx/CVE-2026-86318.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-86318",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 501024,
  "published_at": "2026-09-07T14:30:14.737+00:00"
}