What’s Vulnerable › Vulnerabilities
CVE-2025-2251: Org.jboss.eap:wildfly-ejb3: improper deserialization in jboss marshalling allows remote code execution
- Severity: medium (CVSS 6.2 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-04-07 · updated 2026-08-19
- Weakness: CWE-502
Description
A security flaw exists in WildFly and JBoss Enterprise Application Platform (EAP) within the Enterprise JavaBeans (EJB) remote invocation mechanism. This vulnerability stems from untrusted data deserialization handled by JBoss Marshalling. This flaw allows an attacker to send a specially crafted serialized object, leading to remote code execution without requiring authentication.
Affected products
- Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8: all versions — fixed in 0:1.10.0-42.Final_redhat_00042.1.el8eap, 0:1.15.26-1.Final_redhat_00001.1.el8eap, 0:1.5.21-1.Final_redhat_00001.1.el8eap, 0:1.9.6-1.Final_redhat_00001.1.el8eap, 0:2.16.0-21.redhat_00055.1.el8eap, 0:2.3.14-9.SP10_redhat_00001.1.el8eap
- Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9: all versions — fixed in 0:1.10.0-42.Final_redhat_00042.1.el9eap, 0:1.15.26-1.Final_redhat_00001.1.el9eap, 0:1.5.21-1.Final_redhat_00001.1.el9eap, 0:1.9.6-1.Final_redhat_00001.1.el9eap, 0:2.16.0-21.redhat_00055.1.el9eap, 0:2.3.14-9.SP10_redhat_00001.1.el9eap
- Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7: all versions — fixed in 0:1.10.0-42.Final_redhat_00042.1.el7eap, 0:1.15.26-1.Final_redhat_00001.1.el7eap, 0:1.5.21-1.Final_redhat_00001.1.el7eap, 0:1.9.6-1.Final_redhat_00001.1.el7eap, 0:2.16.0-21.redhat_00055.1.el7eap, 0:2.3.14-9.SP10_redhat_00001.1.el7eap
- Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8: all versions — fixed in 0:0.8.12-1.redhat_00001.1.el8eap, 0:1.11.0-1.redhat_00001.1.el8eap, 0:2.0.17-1.redhat_00001.1.el8eap, 0:2.1.1-1.redhat_00001.1.el8eap, 0:2.2.11-1.Final_redhat_00001.1.el8eap, 0:2.2.21-3.redhat_00002.1.el8eap
- Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9: all versions — fixed in 0:0.8.12-1.redhat_00001.1.el9eap, 0:1.11.0-1.redhat_00001.1.el9eap, 0:2.0.17-1.redhat_00001.1.el9eap, 0:2.1.1-1.redhat_00001.1.el9eap, 0:2.2.11-1.Final_redhat_00001.1.el9eap, 0:2.2.21-3.redhat_00002.1.el9eap
How to fix
Upgrade to a fixed version: Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8 0:1.10.0-42.Final_redhat_00042.1.el8eap, 0:1.15.26-1.Final_redhat_00001.1.el8eap, 0:1.5.21-1.Final_redhat_00001.1.el8eap, 0:1.9.6-1.Final_redhat_00001.1.el8eap; Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9 0:1.10.0-42.Final_redhat_00042.1.el9eap, 0:1.15.26-1.Final_redhat_00001.1.el9eap, 0:1.5.21-1.Final_redhat_00001.1.el9eap, 0:1.9.6-1.Final_redhat_00001.1.el9eap; Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7 0:1.10.0-42.Final_redhat_00042.1.el7eap, 0:1.15.26-1.Final_redhat_00001.1.el7eap, 0:1.5.21-1.Final_redhat_00001.1.el7eap, 0:1.9.6-1.Final_redhat_00001.1.el7eap; Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 0:0.8.12-1.redhat_00001.1.el8eap, 0:1.11.0-1.redhat_00001.1.el8eap, 0:2.0.17-1.redhat_00001.1.el8eap, 0:2.1.1-1.redhat_00001.1.el8eap; Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 0:0.8.12-1.redhat_00001.1.el9eap, 0:1.11.0-1.redhat_00001.1.el9eap, 0:2.0.17-1.redhat_00001.1.el9eap, 0:2.1.1-1.redhat_00001.1.el9eap. Check the vendor advisory for mitigations.
References
- https://access.redhat.com/errata/RHSA-2025:10452
- https://access.redhat.com/errata/RHSA-2025:10453
- https://access.redhat.com/errata/RHSA-2025:10459
- https://access.redhat.com/errata/RHSA-2025:10924
- https://access.redhat.com/errata/RHSA-2025:10925
- https://access.redhat.com/errata/RHSA-2025:10926
- https://access.redhat.com/errata/RHSA-2025:10931
- https://access.redhat.com/security/cve/CVE-2025-2251
- https://bugzilla.redhat.com/show_bug.cgi?id=2351678
- https://github.com/wildfly/wildfly/pull/18872
- https://github.com/wildfly/wildfly/releases/tag/36.0.0.Final
- https://issues.redhat.com/browse/WFLY-20550
Get alerted when CVE-2025-2251 or the next vulnerability affects your stack