MODERATE 6.6

CVE-2026-97893

Apache Jena: SPARQL Property Path optimisation can lead to excessive memory consumption.

Preliminary: affected artifacts were declared by the CNA in the CVE record and have not been reviewed yet. They will be replaced by the reviewed advisory when it is published.

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.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.jena » jena-arqpreliminary
<= 6.2.0
-

Blast radius

1affected artifacts
61affected versions
2,732dependent artifacts (est.)
37,044dependent versions

87% of the dependent artifacts (2,384) still pull an affected version in their latest release.

DepthDependent versions
Direct
7,001
2 hops
10,685
3 hops
7,808
4 hops
7,364
5 hops
3,244
6 hops
942

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.