Apache CXF: Unsafe deserialization of inbound JMS ObjectMessage
At a glance
Severity
CRITICAL 9.8
EPSS
EPSS 1.15 % · percentile 67 (2026-10-28)
State
PUBLISHED
Published
Updated
Assigner
apache
NVD status
Modified
Description
Apache CXF's JMS transport deserializes the body of any inbound JMS ObjectMessage using native Java deserialization, with no type restrictions in place. Any attacker able to place a message on the service's JMS destination can submit a malicious serialized object, leading to denial of service or, if a suitable gadget class is on the classpath, remote code execution. The fix disables ObjectMessage deserialization by default, with a configuration switch to re-enable it if needed. Users are recommended to upgrade to versions 4.2.3 or 4.1.8 or 3.6.12, which fix this issue.