{"cve":"CVE-2022-41853","nvd":{"published":"2022-10-06T18:17:07.190","modified":"2026-06-17T05:03:56.057","status":"Modified","description":"Those using java.sql.Statement or java.sql.PreparedStatement in hsqldb (HyperSQL DataBase) to process untrusted input may be vulnerable to a remote code execution attack. By default it is allowed to call any static method of any Java class in the classpath resulting in code execution. The issue can be prevented by updating to 2.7.1 or by setting the system property \"hsqldb.method_class_names\" to classes which are allowed to be called. For example, System.setProperty(\"hsqldb.method_class_names\", \"abc\") or Java argument -Dhsqldb.method_class_names=\"abc\" can be used. From version 2.7.1 all classes by default are not accessible except those in java.lang.Math and need to be manually enabled.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-470"],"references":["http://hsqldb.org/doc/2.0/guide/sqlroutines-chapt.html#src_jrt_access_control","https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=50212#c7","https://lists.debian.org/debian-lts-announce/2022/12/msg00020.html","https://www.debian.org/security/2023/dsa-5313","http://hsqldb.org/doc/2.0/guide/sqlroutines-chapt.html#src_jrt_access_control"],"products":["debian:debian_linux","hsqldb:hypersql_database"],"source":"nvd","synced_at":"2026-10-19T21:36:05.460296998+00:00"},"epss":{"cve":"CVE-2022-41853","score":0.05145,"percentile":0.92417,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-77xx-rxvh-q682","url":"https://osv.dev/vulnerability/GHSA-77xx-rxvh-q682","summary":"HyperSQL DataBase vulnerable to remote code execution when processing untrusted input","modified":"2023-11-08T04:10:33.219963Z","packages":[{"ecosystem":"Maven","name":"org.hsqldb:hsqldb","purl":"pkg:maven/org.hsqldb/hsqldb","ranges":["<2.7.1"],"fixed":["2.7.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}