---
id: CVE-2025-2251
title: >-
  A security flaw exists in WildFly and JBoss Enterprise Application Platform
  (EAP) within the Enterprise JavaBeans (EJB) remote invocation mechanism
summary: >-
  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
  Marshallin…
severity: medium
cvss: 6.2
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:H/A:H'
cwe:
  - CWE-502
published: '2025-04-07'
updated: '2026-06-26'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-2251'
references:
  - url: 'https://access.redhat.com/errata/RHSA-2025:10452'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2025:10453'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2025:10459'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2025:10924'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2025:10925'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2025:10926'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2025:10931'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/security/cve/CVE-2025-2251'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2351678'
    label: secalert@redhat.com
  - url: 'https://github.com/wildfly/wildfly/pull/18872'
    label: secalert@redhat.com
  - url: 'https://github.com/wildfly/wildfly/releases/tag/36.0.0.Final'
    label: secalert@redhat.com
  - url: 'https://issues.redhat.com/browse/WFLY-20550'
    label: secalert@redhat.com
tags:
  - nvd
epss: 0.01046
epssPercentile: 0.62639
ingestedAt: '2026-06-26T16:43:13.587Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
