Ubuntu Fixes HyperSQL Flaw Enabling SQL Calls to Arbitrary Java Static Methods
Ubuntu has published security notice USN-9298-1 for a HyperSQL vulnerability that lets SQL statements invoke static methods of arbitrary Java classes on the classpath. The fix is in libhsqldb-java and is delivered through a standard system update.
JavaVulnerabilitiesKey points
- Ubuntu notice USN-9298-1 covers a HyperSQL flaw that exposes static methods of classpath Java classes to SQL statements, enabled by default.
- Risk is highest where an application passes untrusted input into HyperSQL statements, according to the notice.
- After the update, only java.lang.Math methods are callable by default; other classes need explicit whitelisting.
- The fix is in libhsqldb-java 2.3.3+dfsg2-1ubuntu0.1~esm1; no CVE identifier is named in the notice.
According to the Ubuntu USN notice, USN-9298-1 covers a HyperSQL vulnerability that allows SQL statements to call static methods of Java classes available on the classpath. This behavior is enabled by default. The notice says that if an application forwards untrusted input into HyperSQL statements, an attacker could potentially exploit the flaw to run arbitrary code. After the update, only methods from java.lang.Math are callable by default. Other classes must be explicitly whitelisted through the hsqldb.method_class_names system property. The fixed package is libhsqldb-java version 2.3.3+dfsg2-1ubuntu0.1~esm1, and the notice states that a standard system update applies the necessary changes. The notice does not name a CVE identifier, and it presents the issue as one reported to Ubuntu. Administrators should consult the original Ubuntu notice for full details.
What to do
- Install the libhsqldb-java update version 2.3.3+dfsg2-1ubuntu0.1~esm1 or later through a standard Ubuntu system update.
- Review which Java classes are whitelisted via the hsqldb.method_class_names system property and allow only those that are required.
- Check whether any application forwards untrusted input into HyperSQL statements, since the notice identifies that as the risky case.
Original report
“USN-9298-1: HyperSQL vulnerability”
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.method_cla…
- Ubuntu Ships Log4j 2 Fixes for Three CVEs, Including a TLS Hostname Check Flaw in the Socket Appender
- http4s Ember Server Accepts Duplicate Content-Length Headers, Enabling Request Smuggling (CVE-2026-69217)
- http4s-core WebSocket decoder accepts negative frame length, enabling infinite-loop denial of service
- Google Conscrypt Improper Certificate Validation and Authentication Vulnerability
- Google Cloud Application Integration eventbus deserialization flaw allows RCE (CVE-2026-106169)