CVE-2025-2251

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

6.2 medium EPSS 1.05%

Published 7 Apr 2025 Updated 26 Nov 2026 CNA: redhat

Check your servers for CVE-2025-2251

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-2251 affects eap7-activemq-artemis, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

6.2 medium CVSS 3.1 from redhat (CNA)
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:H/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
high: an attack depends on conditions outside the control of the attacker, such as a race
Privileges required
high: the attacker needs an administrative account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality low, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 1.05%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 65.3% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 7 Apr 2025):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
yes: an attacker can automate the attack across many targets
Technical impact
total: full control of the component or of its data

Weakness

  • CWE-502 Deserialization of Untrusted Data

Affected products

As the CNA lists them.

ProductVersions
wildfly
package wildfly
affected before 36.0.0
Other versions: unaffected
Red Hat JBoss Enterprise Application Platform
package org.jboss.eap/wildfly-ejb3
unaffected 7.4.23.GA-redhat-00002 and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8
package eap7-activemq-artemis
unaffected 0:2.16.0-21.redhat_00055.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8
package eap7-apache-cxf
unaffected 0:3.5.10-1.redhat_00001.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8
package eap7-artemis-native
unaffected 1:1.0.2-5.redhat_00004.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8
package eap7-elytron-web
unaffected 0:1.9.6-1.Final_redhat_00001.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8
package eap7-glassfish-jsf
unaffected 0:2.3.14-9.SP10_redhat_00001.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8
package eap7-hal-console
unaffected 0:3.3.27-1.Final_redhat_00001.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8
package eap7-hibernate-validator
unaffected 0:6.0.23-3.SP2_redhat_00001.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8
package eap7-ironjacamar
unaffected 0:1.5.21-1.Final_redhat_00001.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8
package eap7-jboss-server-migration
unaffected 0:1.10.0-42.Final_redhat_00042.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8
package eap7-jbossws-cxf
unaffected 0:5.4.15-1.Final_redhat_00001.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8
package eap7-wildfly
unaffected 0:7.4.23-3.GA_redhat_00002.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8
package eap7-wildfly-elytron
unaffected 0:1.15.26-1.Final_redhat_00001.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9
package eap7-activemq-artemis
unaffected 0:2.16.0-21.redhat_00055.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9
package eap7-apache-cxf
unaffected 0:3.5.10-1.redhat_00001.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9
package eap7-artemis-native
unaffected 1:1.0.2-5.redhat_00004.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9
package eap7-elytron-web
unaffected 0:1.9.6-1.Final_redhat_00001.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9
package eap7-glassfish-jsf
unaffected 0:2.3.14-9.SP10_redhat_00001.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9
package eap7-hal-console
unaffected 0:3.3.27-1.Final_redhat_00001.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9
package eap7-hibernate-validator
unaffected 0:6.0.23-3.SP2_redhat_00001.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9
package eap7-ironjacamar
unaffected 0:1.5.21-1.Final_redhat_00001.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9
package eap7-jboss-server-migration
unaffected 0:1.10.0-42.Final_redhat_00042.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9
package eap7-jbossws-cxf
unaffected 0:5.4.15-1.Final_redhat_00001.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9
package eap7-wildfly
unaffected 0:7.4.23-3.GA_redhat_00002.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9
package eap7-wildfly-elytron
unaffected 0:1.15.26-1.Final_redhat_00001.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7
package eap7-activemq-artemis
unaffected 0:2.16.0-21.redhat_00055.1.el7eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7
package eap7-apache-cxf
unaffected 0:3.5.10-1.redhat_00001.1.el7eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7
package eap7-artemis-native
unaffected 1:1.0.2-5.redhat_00004.1.el7eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7
package eap7-elytron-web
unaffected 0:1.9.6-1.Final_redhat_00001.1.el7eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7
package eap7-glassfish-jsf
unaffected 0:2.3.14-9.SP10_redhat_00001.1.el7eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7
package eap7-hal-console
unaffected 0:3.3.27-1.Final_redhat_00001.1.el7eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7
package eap7-hibernate-validator
unaffected 0:6.0.23-3.SP2_redhat_00001.1.el7eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7
package eap7-ironjacamar
unaffected 0:1.5.21-1.Final_redhat_00001.1.el7eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7
package eap7-jboss-server-migration
unaffected 0:1.10.0-42.Final_redhat_00042.1.el7eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7
package eap7-jbossws-cxf
unaffected 0:5.4.15-1.Final_redhat_00001.1.el7eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7
package eap7-wildfly
unaffected 0:7.4.23-3.GA_redhat_00002.1.el7eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7
package eap7-wildfly-elytron
unaffected 0:1.15.26-1.Final_redhat_00001.1.el7eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0.8
package wildfly-ejb3
unaffected the record does not list versions
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-activemq-artemis
unaffected 0:2.33.0-3.redhat_00017.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-apache-commons-beanutils
unaffected 0:1.11.0-1.redhat_00001.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-apache-cxf
unaffected 0:4.0.6-2.redhat_00001.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-apache-mime4j
unaffected 0:0.8.12-1.redhat_00001.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-eap-product-conf-parent
unaffected 0:800.8.0-1.GA_redhat_00001.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-elytron-web
unaffected 0:4.0.3-1.Final_redhat_00001.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-fastinfoset
unaffected 0:2.1.1-1.redhat_00001.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-hal-console
unaffected 0:3.6.24-1.Final_redhat_00001.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-hibernate
unaffected 0:6.2.36-1.Final_redhat_00001.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-httpcomponents-asyncclient
unaffected 0:4.1.5-4.redhat_00006.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-jboss-remoting
unaffected 0:5.0.31-1.Final_redhat_00001.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-jbossws-cxf
unaffected 0:7.3.3-1.Final_redhat_00001.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-narayana
unaffected 0:6.0.6-1.Final_redhat_00001.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-neethi
unaffected 0:3.2.1-1.redhat_00002.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-reactivex-rxjava2
unaffected 0:2.2.21-3.redhat_00002.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-slf4j
unaffected 0:2.0.17-1.redhat_00001.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-velocity
unaffected 0:2.3.0-4.redhat_00010.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-wildfly
unaffected 0:8.0.8-4.GA_redhat_00006.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-wildfly-elytron
unaffected 0:2.2.11-1.Final_redhat_00001.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-activemq-artemis
unaffected 0:2.33.0-3.redhat_00017.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-apache-commons-beanutils
unaffected 0:1.11.0-1.redhat_00001.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-apache-cxf
unaffected 0:4.0.6-2.redhat_00001.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-apache-mime4j
unaffected 0:0.8.12-1.redhat_00001.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-eap-product-conf-parent
unaffected 0:800.8.0-1.GA_redhat_00001.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-elytron-web
unaffected 0:4.0.3-1.Final_redhat_00001.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-fastinfoset
unaffected 0:2.1.1-1.redhat_00001.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-hal-console
unaffected 0:3.6.24-1.Final_redhat_00001.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-hibernate
unaffected 0:6.2.36-1.Final_redhat_00001.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-httpcomponents-asyncclient
unaffected 0:4.1.5-4.redhat_00006.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-jboss-remoting
unaffected 0:5.0.31-1.Final_redhat_00001.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-jbossws-cxf
unaffected 0:7.3.3-1.Final_redhat_00001.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-narayana
unaffected 0:6.0.6-1.Final_redhat_00001.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-neethi
unaffected 0:3.2.1-1.redhat_00002.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-reactivex-rxjava2
unaffected 0:2.2.21-3.redhat_00002.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-slf4j
unaffected 0:2.0.17-1.redhat_00001.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-velocity
unaffected 0:2.3.0-4.redhat_00010.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-wildfly
unaffected 0:8.0.8-4.GA_redhat_00006.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-wildfly-elytron
unaffected 0:2.2.11-1.Final_redhat_00001.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform Expansion Pack
package wildfly-ejb3
unaffected the record does not list versions

Is my server affected?

Find the installed version of eap7-activemq-artemis and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i eap7-activemq-artemis
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2025-2251 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2025-2251

RHEL, Rocky, Alma, Fedora

rpm -q eap7-activemq-artemis
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2025-2251

Alpine

apk list --installed | grep -i eap7-activemq-artemis

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-2251
trivy image --scanners vuln IMAGE | grep CVE-2025-2251

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Advisories

Other references

Source: the record CVE-2025-2251 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.