USN-9298-1: HyperSQL vulnerability

Published Dec 1, 2026
·
Updated

It was discovered that HyperSQL allowed SQL statements to call any static method of any Java class in the classpath by default. If an application passed untrusted input to HyperSQL statements, an attacker could possibly use this issue to execute arbitrary code. After this update, only the methods of java.lang.Math can be called by default, and other classes must be listed in the hsqldb.methodclassnames system property.

Affected Software

8 affected componentsFixes available
All of the following
ubuntu/libhsqldb-java<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=22.04
All of the following
ubuntu/libhsqldb-java<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=20.04
All of the following
ubuntu/libhsqldb-java<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=18.04
All of the following
ubuntu/libhsqldb-java<2.3.3+dfsg2-1ubuntu0.1~esm1
2.3.3+dfsg2-1ubuntu0.1~esm1
Ubuntu Ubuntu=16.04

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/libhsqldb-java to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  2. Upgrade

    Upgrade ubuntu/libhsqldb-java to a version that resolves this vulnerability.

    Fixed in 2.3.3+dfsg2-1ubuntu0.1~esm1

Event History

Dec 1, 2026
Advisory Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Which deployments are realistically exposed to arbitrary code execution?

Deployments are exposed when an application passes untrusted input into HyperSQL statements and HyperSQL can invoke static methods from Java classes available on its classpath. The issue can allow that input to be used to execute arbitrary code.

2

Is the default method-call configuration affected?

Yes. Before the update, HyperSQL allowed SQL statements to call static methods from any Java class on the classpath by default. After the update, only methods in java.lang.Math are callable by default.

3

What configuration is needed if an application requires static methods from classes other than java.lang.Math?

Other permitted classes must be explicitly listed in the hsqldb.method_class_names system property.

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