CVE-2025-35036
CVE-2025-35036 is a high-severity vulnerability in Redhat Hibernate Validator with a CVSS 3.x base score of 7.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-94.
Key facts
- Severity: High (CVSS 3.x base score 7.3)
- CVSS v4: 6.9
- EPSS exploit prediction: 1% (48th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-16774
- Weakness: CWE-94
- Affected product: Redhat Hibernate Validator
- Published:
- Last modified:
Description
Hibernate Validator before 6.2.0 and 7.0.0, by default and depending how it is used, may interpolate user-supplied input in a constraint violation message with Expression Language. This could allow an attacker to access sensitive information or execute arbitrary Java code. Hibernate Validator as of 6.2.0 and 7.0.0 no longer interpolates custom constraint violation messages with Expression Language and strongly recommends not allowing user-supplied input in constraint violation messages. CVE-2020-5245 and CVE-2025-4428 are examples of related, downstream vulnerabilities involving Expression Language intepolation of user-supplied data.
Frequently asked questions
- What is CVE-2025-35036?
- Hibernate Validator before 6.2.0 and 7.0.0, by default and depending how it is used, may interpolate user-supplied input in a constraint violation message with Expression Language. This could allow an attacker to access sensitive information or execute arbitrary Java code. Hibernate Validator as of 6.2.0 and 7.0.0 no longer interpolates custom constraint violation messages with Expression Language and strongly recommends not allowing user-supplied input in constraint violation messages. CVE-2020-5245 and CVE-2025-4428 are examples of related, downstream vulnerabilities involving Expression Language intepolation of user-supplied data.
- How severe is CVE-2025-35036?
- CVE-2025-35036 has a CVSS 3.x base score of 7.3, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is low, integrity low, and availability low.
- Is CVE-2025-35036 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (48th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-35036?
- CVE-2025-35036 affects Redhat Hibernate Validator. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2025-35036?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2025-35036 have an EU (EUVD) identifier?
- Yes. CVE-2025-35036 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-16774.
- When was CVE-2025-35036 published?
- CVE-2025-35036 was published on 2025-06-03 and last updated on 2026-06-17.
References
- https://docs.jboss.org/hibernate/stable/validator/reference/en-US/html_single/#section-hibernateconstraintvalidatorcontext
- https://github.com/hibernate/hibernate-validator/commit/05f795bb7cf18856004f40e5042709e550ed0d6e
- https://github.com/hibernate/hibernate-validator/commit/254858d9dcc4e7cd775d1b0f47f482218077c5e1
- https://github.com/hibernate/hibernate-validator/commit/d2db40b9e7d22c7a0b44d7665242dfc7b4d14d78
- https://github.com/hibernate/hibernate-validator/commit/e076293b0ee1bfa97b6e67d05ad9eee1ad77e893
- https://github.com/hibernate/hibernate-validator/compare/6.1.7.Final...6.2.0.Final
- https://github.com/hibernate/hibernate-validator/pull/1138
- https://hibernate.atlassian.net/browse/HV-1816
- https://hibernate.org/validator/documentation/migration-guide/#6-2-0-cr1
- https://in.relation.to/2021/01/06/hibernate-validator-700-62-final-released/#expression-language
- https://labs.watchtowr.com/expression-payloads-meet-mayhem-cve-2025-4427-and-cve-2025-4428/
- https://www.cve.org/CVERecord?id=CVE-2020-5245
- https://www.cve.org/CVERecord?id=CVE-2025-4428
Affected products (1)
- cpe:2.3:a:redhat:hibernate_validator:*:-:*:*:*:*:*:*
More vulnerabilities in Redhat Hibernate Validator
- CVE-2017-7536 — High (CVSS 7.0): In Hibernate Validator 5.2.x before 5.2.5 final, 5.3.x, and 5.4.x, it was found that when the security manager's…
- CVE-2019-10219 — Medium (CVSS 6.1): A vulnerability was found in Hibernate-Validator. The SafeHtml validator annotation fails to properly sanitize payloads…
- CVE-2020-10693 — Medium (CVSS 5.3): A flaw was found in Hibernate Validator version 6.1.2.Final. A bug in the message interpolation processor enables…
- CVE-2014-3558 — Medium (CVSS 5.0): ReflectionHelper (org.hibernate.validator.util.ReflectionHelper) in Hibernate Validator 4.1.0 before 4.2.1, 4.3.x…
All CVEs affecting Redhat Hibernate Validator →
Other CWE-94 (Code Injection) vulnerabilities
- CVE-2026-76605 — Critical (CVSS 10.0): Joomla Extension - fabrikar.com - Remote code execution via image element in Fabrik < 4.7.3 - ???.
- CVE-2026-76604 — Critical (CVSS 10.0): Joomla Extension - fabrikar.com - Unauthenticated remote code execution via PHP form element in Fabrik < 4.7.3 - The…
- CVE-2026-67364 — Critical (CVSS 10.0): Joomla Extension - balbooa.com - Pre-auth PHP Code Injection in Balbooa Forms < 2.4.3.2 - CWE-94 / CWE-95 | CVSS 3.1:…
- CVE-2026-73343 — Critical (CVSS 10.0): Unauthenticated Remote Code Execution (RCE) in WP Compress < 7.20.01 versions.
- CVE-2026-74253 — Critical (CVSS 10.0): Joomla Extension - regularlabs.com - Unauthenticated RCE through unverified reflected user input in Sourcerer < 14.0.0…
- CVE-2026-73678 — Critical (CVSS 10.0): MindsDB Minds Platform version 26.1.0 and earlier contains an unauthenticated remote code execution vulnerability that…