Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2020-25638

published high CVSS 3.1 · 7.4

hibernate-core: SQL injection vulnerability when both hibernate.use_sql_comments and JPQL String literals are used

Title from Red Hat VEX

Published
02 Dec 2020, 14:36:24 UTC
Updated
23 Apr 2025, 19:47:38 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — hibernate-coreHibernate ORM versions before 5.4.24.Final Affected Not stated redhat
Debian buster libhibernate3-java Advisory build 3.6.10.Final-9+deb10u1 DSA-4908-1
Ubuntu bionic libhibernate3-java Advisory build 3.6.10.Final-9ubuntu0.18.04.1~esm1 USN-6845-1
Debian stretch libhibernate3-java Advisory build 3.6.10.Final-6+deb9u1 DLA-2512-1
Ubuntu focal libhibernate3-java Advisory build 3.6.10.Final-9+deb10u1build0.20.04.1 USN-6845-1
Ubuntu xenial libhibernate3-java Advisory build 3.6.10.Final-4ubuntu0.1~esm1 USN-6845-1

Description

A flaw was found in hibernate-core in versions prior to and including 5.4.23.Final. A SQL injection in the implementation of the JPA Criteria API can permit unsanitized literals when a literal is used in the SQL comments of the query. This flaw could allow an attacker to access unauthorized information or possibly conduct further attacks. The highest threat from this vulnerability is to data confidentiality and integrity.

en · redhat · cna

Vendor advisories explicitly linked to this CVE.

5

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.4 / 10
Severity
high
Provider
CISA-ADP · adp
Vector string
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a hibernate-core Hibernate ORM versions before 5.4.24.Final (affected) redhat · cna

Weaknesses

1
  • CWE-89 (redhat · cna)

References

8

Provider assertions

3

redhat · cna

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
217b3aaff86110d252ed4c97703be6efc264c8ea705d92722cc5af66f3371bc8
Ingested
23 Sep 2026, 07:49:45 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected