H2Database H2 vulnerabilities
8 known vulnerabilities affecting h2database/h2.
Total CVEs
8
CISA KEV
0
Public exploits
2
Exploited in wild
0
Severity breakdown
CRITICAL3HIGH2MEDIUM3
Vulnerabilities
Page 1 of 1
CVE-2025-57804MEDIUM≥ 0, < 4.3.02025-08-25
CVE-2025-57804 [MEDIUM] CWE-93 h2 allows HTTP Request Smuggling due to illegal characters in headers
h2 allows HTTP Request Smuggling due to illegal characters in headers
### Summary
HTTP/2 request splitting vulnerability allows attackers to perform request smuggling attacks by injecting CRLF characters into headers. This occurs when servers downgrade HTTP/2 requests to HTTP/1.1 without properly validating header names/values, enabling attackers to manipulate request boundaries and bypass secu
ghsaosv
CVE-2023-26964MEDIUM≥ 0, < 0.3.172023-04-11
CVE-2023-26964 [MEDIUM] CWE-770 h2 vulnerable to denial of service
h2 vulnerable to denial of service
Hyper is an HTTP library for Rust and h2 is an HTTP 2.0 client & server implementation for Rust. An issue was discovered in h2 v0.2.4 when processing header frames. It incorrectly processes the HTTP2 `RST_STREAM` frames by not always releasing the memory immediately upon receiving the reset frame, leading to stream stacking. As a result, the memory and CPU usage are high which can lead to a Den
ghsaosv
CVE-2022-45868HIGHCVSS 7.8≤ 2.1.2142022-11-23
CVE-2022-45868 [HIGH] CWE-312 CVE-2022-45868: The web-based admin console in H2 Database Engine before 2.2.220 can be started via the CLI with the
The web-based admin console in H2 Database Engine before 2.2.220 can be started via the CLI with the argument -webAdminPassword, which allows the user to specify the password in cleartext for the web admin console. Consequently, a local user (or an attacker that has obtained local access through some means) would be able to discover the password by li
nvd
CVE-2022-23221CRITICALCVSS 9.8≥ 1.1.100, < 2.0.2062022-01-19
CVE-2022-23221 [CRITICAL] CVE-2022-23221: H2 Console before 2.1.210 allows remote attackers to execute arbitrary code via a jdbc:h2:mem JDBC U
H2 Console before 2.1.210 allows remote attackers to execute arbitrary code via a jdbc:h2:mem JDBC URL containing the IGNORE_UNKNOWN_SETTINGS=TRUE;FORBID_CREATION=FALSE;INIT=RUNSCRIPT substring, a different vulnerability than CVE-2021-42392.
nvd
CVE-2021-42392CRITICALCVSS 9.8≥ 1.1.000, ≤ 2.0.2042022-01-10
CVE-2021-42392 [CRITICAL] CWE-502 CVE-2021-42392: The org.h2.util.JdbcUtils.getConnection method of the H2 database takes as parameters the class name
The org.h2.util.JdbcUtils.getConnection method of the H2 database takes as parameters the class name of the driver and URL of the database. An attacker may pass a JNDI driver name and a URL leading to a LDAP or RMI servers, causing remote code execution. This can be exploited through various attack vectors, most notably through the H2 Console whic
nvd
CVE-2021-23463CRITICALCVSS 9.1≥ 1.4.198, < 2.0.2022021-12-10
CVE-2021-23463 [CRITICAL] CWE-611 CVE-2021-23463: The package com.h2database:h2 from 1.4.198 and before 2.0.202 are vulnerable to XML External Entity
The package com.h2database:h2 from 1.4.198 and before 2.0.202 are vulnerable to XML External Entity (XXE) Injection via the org.h2.jdbc.JdbcSQLXML class object, when it receives parsed string data from org.h2.jdbc.JdbcResultSet.getSQLXML() method. If it executes the getSource() method when the parameter is DOMSource.class it will trigger the vulner
nvd
CVE-2018-14335MEDIUMCVSS 6.5PoCv1.4.1972018-07-24
CVE-2018-14335 [MEDIUM] CWE-59 CVE-2018-14335: An issue was discovered in H2 1.4.197. Insecure handling of permissions in the backup function allow
An issue was discovered in H2 1.4.197. Insecure handling of permissions in the backup function allows attackers to read sensitive files (outside of their permissions) via a symlink to a fake database file.
nvd
CVE-2018-10054HIGHCVSS 8.8PoCv1.4.1972018-04-11
CVE-2018-10054 [HIGH] CWE-20 CVE-2018-10054: H2 1.4.197, as used in Datomic before 0.9.5697 and other products, allows remote code execution beca
H2 1.4.197, as used in Datomic before 0.9.5697 and other products, allows remote code execution because CREATE ALIAS can execute arbitrary Java code. NOTE: the vendor's position is "h2 is not designed to be run outside of a secure environment."
nvd