CVE-2026-97893: Apache Jena: SPARQL Property Path optimisation can lead to excessive memory consumption.

Published Nov 23, 2026
·
Updated

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 Software

1 affected component
Apache Jena ARQ<6.3.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Apache Jena ARQ to a version that resolves this vulnerability.

    Fixed in 6.3.0
  2. Configuration

    Configure arq:optPathFlatten=false in the SPARQL execution context to disable the problematic optimization.

    Apache Jena ARQ arq:optPathFlatten = false

Event History

Nov 24, 2026
CVE Published
via MITRE·11:04 AM
Data Sourced
via MITRE·11:04 AM
DescriptionWeakness

Frequently Asked Questions

1

Which deployments are most exposed to exploitation?

Public-facing SPARQL services or applications backed by Apache Jena ARQ are specifically highlighted as needing mitigation if they cannot upgrade immediately, because an attacker can submit a crafted SPARQL query.

2

What does an attacker need to trigger the denial of service?

The attacker needs the ability to execute or submit a SPARQL query to an affected Apache Jena ARQ instance. The vulnerable query can cause excessive memory consumption through the ARQ SPARQL Query Optimiser.

3

What can be done when an immediate upgrade is not possible?

Configure the ARQ symbol arq:optPathFlatten=false in the SPARQL execution context. This disables the problematic property-path optimisation.

4

What version resolves the issue?

Upgrade Apache Jena ARQ to version 6.3.0. Versions prior to 6.3.0 are affected.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203