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.
CVE-2020-25638
This high-severity CVE scores 7.4 under NVD CVSS v3. EPSS exploit-prediction score not yet available (the EPSS model rescores nightly; freshly-published CVEs typically appear within 48 hours). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 7.4
- EG Score
- 7.4(low)
- EPSS
- 85.3%
- KEV
- Not listed
Published
December 2, 2020
Last Modified
April 23, 2025
References (16)
- secalert@redhathttps://bugzilla.redhat.com/show_bug.cgi?id=1881353
- secalert@redhathttps://lists.apache.org/thread.html/r833c1276e41334fa675848a08daf0c61f39009f9f9a400d9f7006d44%40%3Cdev.turbine.apache.org%3E
- secalert@redhathttps://lists.apache.org/thread.html/rf2378209c676a28b71f9b604a3b3517c448540b85367160e558ef9df%40%3Ccommits.turbine.apache.org%3E
- secalert@redhathttps://lists.debian.org/debian-lts-announce/2021/01/msg00000.html
- secalert@redhathttps://www.debian.org/security/2021/dsa-4908
- secalert@redhathttps://www.oracle.com//security-alerts/cpujul2021.html
- secalert@redhathttps://www.oracle.com/security-alerts/cpuapr2022.html
- secalert@redhathttps://www.oracle.com/security-alerts/cpujul2022.html
- af854a3a-2127-422b-91ae-364da2661108https://bugzilla.redhat.com/show_bug.cgi?id=1881353
- af854a3a-2127-422b-91ae-364da2661108https://lists.apache.org/thread.html/r833c1276e41334fa675848a08daf0c61f39009f9f9a400d9f7006d44%40%3Cdev.turbine.apache.org%3E
- af854a3a-2127-422b-91ae-364da2661108https://lists.apache.org/thread.html/rf2378209c676a28b71f9b604a3b3517c448540b85367160e558ef9df%40%3Ccommits.turbine.apache.org%3E
- af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2021/01/msg00000.html
- af854a3a-2127-422b-91ae-364da2661108https://www.debian.org/security/2021/dsa-4908
- af854a3a-2127-422b-91ae-364da2661108https://www.oracle.com//security-alerts/cpujul2021.html
- af854a3a-2127-422b-91ae-364da2661108https://www.oracle.com/security-alerts/cpuapr2022.html
Vendor Advisories for CVE-2020-25638(2)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Patch Availability(10)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| redhat | eap7-wildfly-openssl-linux-0:1.0.12-6.Final_redhat_00001.1.ep7.el7 | 2025-06-25 | redhat |
| redhat | hibernate-core | 2021-08-11 | redhat |
| redhat | jws5-tomcat-vault-0:1.1.8-2.Final_redhat_00003.1.el8jws | 2021-06-29 | redhat |
| redhat | hibernate-core-kie-server-ee8 | 2021-02-17 | redhat |
| redhat | patch | 2021-01-07 | redhat |
| redhat | patch | 2020-12-16 | redhat |
| redhat | eap7-wildfly-openssl-0:1.0.12-1.Final_redhat_00001.1.el7eap | 2020-12-03 | redhat |
| redhat | eap7-wildfly-openssl-0:1.0.12-1.Final_redhat_00001.1.el6eap | 2020-12-03 | redhat |
| redhat | eap7-wildfly-openssl-0:1.0.12-1.Final_redhat_00001.1.el8eap | 2020-12-03 | redhat |
| redhat | eap7-hibernate-0:5.3.18-2.Final_redhat_00002.1.el8eap | 2020-11-23 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
Maven(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| org.hibernate:hibernate-core | 3.3.0.CR1 ... 5.3.9.Final (193 versions) | 5.3.20.Final | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(17)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
- Red HatRHSA-2020:5174IMPORTANT2020-10-01
RHSA-2020:5174 — Important
- Red HatRHSA-2020:5175IMPORTANT2020-10-01
RHSA-2020:5175 — Important
- Red HatRHSA-2020:5254IMPORTANT2020-10-01
RHSA-2020:5254 — Important
- Red HatRHSA-2020:5302IMPORTANT2020-10-01
RHSA-2020:5302 — Important
- Red HatRHSA-2020:5340IMPORTANT2020-10-01
RHSA-2020:5340 — Important
- Red HatRHSA-2020:5341IMPORTANT2020-10-01
RHSA-2020:5341 — Important
- Red HatRHSA-2020:5342IMPORTANT2020-10-01
RHSA-2020:5342 — Important
- Red HatRHSA-2020:5344IMPORTANT2020-10-01
RHSA-2020:5344 — Important
- Red HatRHSA-2020:5361IMPORTANT2020-10-01
RHSA-2020:5361 — Important
- Red HatRHSA-2020:5388IMPORTANT2020-10-01
RHSA-2020:5388 — Important
- Red HatRHSA-2020:5533IMPORTANT2020-10-01
RHSA-2020:5533 — Important
- Red HatRHSA-2021:0292IMPORTANT2020-10-01
RHSA-2021:0292 — Important
- Red HatRHSA-2021:0600IMPORTANT2020-10-01
RHSA-2021:0600 — Important
- Red HatRHSA-2021:2039IMPORTANT2020-10-01
RHSA-2021:2039 — Important
- Red HatRHSA-2021:2561IMPORTANT2020-10-01
RHSA-2021:2561 — Important
- Red HatRHSA-2021:2562IMPORTANT2020-10-01
RHSA-2021:2562 — Important
- Red HatRHSA-2021:3140IMPORTANT2020-10-01
RHSA-2021:3140 — Important
Data Freshness Timeline
(refreshed 11× in last 7d / 41× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-11 08:25 UTCEPSS rescore
- 2026-07-11 08:25 UTCEPSS rescore
- 2026-07-09 19:07 UTCEPSS rescore
- 2026-07-08 15:12 UTCEPSS rescore
- 2026-07-07 13:43 UTCEPSS rescore
- 2026-07-07 13:43 UTCEPSS rescore
- 2026-07-06 16:25 UTCEPSS rescore
- 2026-07-06 16:25 UTCEPSS rescore
- 2026-07-06 02:21 UTCEPSS rescore
- 2026-07-06 02:21 UTCEPSS rescore
- 2026-07-05 02:27 UTCEPSS rescore
- 2026-07-04 06:29 UTCEPSS rescore
- 2026-07-04 06:28 UTCEPSS rescore
- 2026-07-01 15:03 UTCEPSS rescore
- 2026-06-30 23:20 UTCEPSS rescore
- 2026-06-30 23:20 UTCEPSS rescore
- 2026-06-29 14:04 UTCEPSS rescore
- 2026-06-28 14:05 UTCEPSS rescore
- 2026-06-28 04:54 UTCEPSS rescore
- 2026-06-28 04:54 UTCEPSS rescore
- 2026-06-27 03:06 UTCEPSS rescore
- 2026-06-25 13:47 UTCEPSS rescore
- 2026-06-24 14:03 UTCEPSS rescore
- 2026-06-24 14:03 UTCEPSS rescore
- 2026-06-24 08:20 UTCOSV refresh
Show 52 moreShow fewer
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-22 14:23 UTCEPSS rescore
- 2026-06-22 14:23 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
- 2026-06-19 19:23 UTCEPSS rescore
- 2026-06-18 17:50 UTCEPSS rescore
- 2026-06-17 17:50 UTCEPSS rescore
- 2026-06-16 17:50 UTCEPSS rescore
- 2026-06-16 17:50 UTCEPSS rescore
- 2026-06-15 17:46 UTCEPSS rescore
- 2026-06-14 23:15 UTCEPSS rescore
- 2026-06-13 22:58 UTCEPSS rescore
- 2026-06-13 22:58 UTCEPSS rescore
- 2026-06-12 23:10 UTCEPSS rescore
- 2026-06-11 13:58 UTCEPSS rescore
- 2026-06-10 22:16 UTCEPSS rescore
- 2026-06-10 22:16 UTCEPSS rescore
- 2026-06-10 13:20 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-07 11:59 UTCOSV refresh
- 2026-06-06 13:45 UTCEPSS rescore
- 2026-06-06 13:45 UTCEPSS rescore
- 2026-06-05 22:45 UTCEPSS rescore
- 2026-06-05 22:45 UTCEPSS rescore
- 2026-06-05 06:08 UTCEPSS rescore
- 2026-06-05 06:08 UTCEPSS rescore
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-01 13:50 UTCEPSS rescore
- 2026-06-01 13:50 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-29 13:42 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-27 13:39 UTCEPSS rescore
- 2026-05-26 13:42 UTCEPSS rescore
- 2026-05-26 13:42 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-24 16:48 UTCEPSS rescore
- 2026-05-23 04:44 UTCEG score recompute
- 2026-05-23 04:44 UTCVendor advisory
Related CVEs(same vendor + same CWE)
Same vendor
10 shownredhat
Frequently asked(5)
What is CVE-2020-25638?
When was CVE-2020-25638 disclosed?
Is CVE-2020-25638 actively exploited?
What is the CVSS score of CVE-2020-25638?
How do I remediate CVE-2020-25638?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2020-25638
Is Your Infrastructure Affected by CVE-2020-25638?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.