CVE-2026-97893
Apache Jena: SPARQL Property Path optimisation can lead to excessive memory consumption.
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)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.jena » jena-arqpreliminary | <= 6.2.0 | - |
Blast radius
87% of the dependent artifacts (2,384) still pull an affected version in their latest release.
| Depth | Dependent 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
- org.cyclonedx » cyclonedx-maven-plugin686 usages
- org.apache.jena » apache-jena-libs232 usages
- ca.uhn.hapi.fhir » hapi-fhir-structures-r4164 usages
- org.apache.jena » jena-tdb99 usages
- org.intermine » bio-core96 usages
- org.cyclonedx » cyclonedx-core-java59 usages
- org.aksw.jena-sparql-api » jena-sparql-api-core53 usages
- org.apache.jena » jena-fuseki-main45 usages
- org.aksw.jenax » jenax-arq-utils45 usages
- org.dspace » dspace-api43 usages
- org.spdx » spdx-maven-plugin43 usages
- org.apache.jena » jena-rdfconnection41 usages
- org.n52.sensorweb-server.sos » sos-api40 usages
- org.apache.jena » jena-shacl39 usages
- org.appdapter » org.appdapter.bundle.core38 usages
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.
