Skip to main content
Menu
CVEs

Apache Jena ARQ memory exhaustion via SPARQL property path optimisation

CVE-2026-97893EUVD-2026-133805GHSA-CFP8-GM59-83CVPublished November 24, 2026, updated

6.6MediumCNA
Exploited
No known exploitation
Fix
Fixed in 6.3.0
Who is exposed
Not reported

Summary

Apache Jena's ARQ SPARQL query optimiser can be made to use excessive memory by a crafted SPARQL query, causing a denial of service. An attacker can trigger this remotely, without logging in, by sending such a query.

Written by a model

Original description

A Denial of Service (DoS) vulnerability exists in the ARQ SPARQL Query Optimiser in Apache Jena ARQ prior to version 6.3.0 that allows a SPARQL query to use that cause excessive memory usage. Users are recommended to upgrade to version 6.3.0, which fixes this issue.

Users who are unable to upgrade immediately, especially those who operate a public facing SPARQL service/application backed by Apache Jena are recommended to configure the ARQ symbol arq:optPathFlatten=false in their SPARQL execution context which disables the problematic optimisation.

Who should check

Teams running Apache Jena (Maven) through 6.2.0, including public-facing SPARQL services and applications built on Jena.

“Apache Jena through 6.2.0”

openwall.com

What to do

  1. Upgrade to a fixed version: 6.3.0.

  2. Workaround: Set the ARQ symbol arq:optPathFlatten=false in the SPARQL execution context, which disables the problematic optimisation.

Check your systems with an agent

Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.

Check whether my systems are affected by CVE-2026-97893 (Apache Jena: SPARQL Property Path optimisation can lead to excessive memory consumption.), using the cve.now data below.

Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.

What cve.now has for CVE-2026-97893 (entry last updated 2026-11-24):
Affected:
- Maven package org.apache.jena:jena-arq: through 6.2.0
Fixed versions: 6.3.0.
Conditions (all must be true for the bug to be hit):
- Apache Jena ARQ versions prior to 6.3.0 (Apache Jena through 6.2.0). (source: https://www.openwall.com/lists/oss-security/2026/11/23/34)
- A SPARQL query must exercise the property path optimisation. (source: https://www.openwall.com/lists/oss-security/2026/11/23/34)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: network access, no login, no user action.
Workaround: Set the ARQ symbol arq:optPathFlatten=false in the SPARQL execution context, which disables the problematic optimisation. (source: https://www.openwall.com/lists/oss-security/2026/11/23/34)
CISA KEV: CVE-2026-97893 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-97893 only. If you also check another CVE, look up its own KEV status; never assume it from this one.

How to check:
- Packages (Maven): find every lockfile in each project and run the stack.check operation of the cve.now MCP server (execute) on each one. Compare the resolved versions, not the ranges a manifest declares, with the affected versions above. Include transitive dependencies.

Verify against the linked advisories before concluding, and cite the date you read each one:
- https://lists.apache.org/thread.html/5274tjc3dmntrcw88997lknlklmqopw8
- http://www.openwall.com/lists/oss-security/2026/11/23/34
- https://www.openwall.com/lists/oss-security/2026/11/23/34
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.

Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.

Entry: https://cve.now/CVE-2026-97893
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-97893"}.

Affected versions

cve.now Index

34Pof 100 · provisional · methodology v3
  • Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
  • Exposure17/25No login or user action needed, reachable over the network without a login · Unknown: Advisories don't say whether default setups are affected
  • Reach10/20Affects Maven packages
  • Severity6.6/10CVSS 6.6
  • No patch0/5No signal

What would change the score

  • Would score about 79 if added to CISA KEV
  • Would score about 74 if CISA's SSVC rates exploitation active
  • Would score about 39 if advisories confirm default setups are exposed

Timeline

  1. CVE published
  2. Record last updated
  3. First seen by cve.now

Evidence 4

KindSource
Vendor advisory 1Establishes: Affected and fixed versions.
Advisorylists.apache.org · thread.html/5274tjc3dmntrcw88997lknlklmqopw8
CVE record 2Establishes: The identifier and description.
RecordCVE List · CVE-2026-97893
RecordNVD · CVE-2026-97893
Write-ups 1Establishes: Technical detail and context.
Linkopenwall.com · lists/oss-security/2026/11/23/34

Questions about CVE-2026-97893

Is CVE-2026-97893 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: cve.now feed data

What does this mean?

A crafted SPARQL query that exercises Apache Jena's property path optimisation can cause excessive memory consumption, leading to a denial of service.

Source: openwall.com

Which versions are affected by CVE-2026-97893?

org.apache.jena:jena-arq (Maven): through 6.2.0.

Source: cve.now feed data

Am I affected, and how do I check?

Apache Jena ARQ versions prior to 6.3.0 (Apache Jena through 6.2.0) are in scope, and the query must exercise the property path optimisation. Check the Jena version in use and whether SPARQL queries with property paths run through ARQ.

Source: openwall.com

How do I fix CVE-2026-97893?

Upgrade Apache Jena ARQ to version 6.3.0, which fixes this issue. Until then, set the ARQ symbol arq:optPathFlatten=false in the SPARQL execution context to disable the problematic optimisation.

Source: openwall.com

No corrections so far. Something wrong on this page? Report an error.