CVE-2026-103333: Apache Jena: Improper input validation in SPARQL expressions can lead to excessive CPU/memory usage
Improper input validation in some SPARQL functions available in Apache Jena ARQ allows users to submit SPARQL queries that cause excessive CPU and/or memory usage. This may be the result of intentionally malicious inputs in the query itself, or an expression applied over data that has been insufficiently validated/sanitised
Users are recommended to upgrade to version 6.3.0, which fixes this issue.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Apache Jenato a version that resolves this vulnerability.Fixed in 6.3.0
Event History
Frequently Asked Questions
Who is exposed to this issue?
Deployments of Apache Jena ARQ that allow users to submit SPARQL queries are exposed. Risk also exists where SPARQL expressions operate on data that has not been sufficiently validated or sanitised.
What must an attacker do to trigger the issue?
An attacker needs to submit a SPARQL query containing malicious input, or cause an expression to be applied to insufficiently validated or sanitised data. Successful exploitation can cause excessive CPU and/or memory consumption.
What should be done if patching cannot happen immediately?
Restrict untrusted users' ability to submit SPARQL queries, and validate or sanitise data before it is used in SPARQL expressions. Upgrade to Apache Jena ARQ version 6.3.0 when possible.