Could you please provide reproducer or steps to reproduce (or something where is possible to hit this issue)?
PR: https://github.com/jboss-remoting/jboss-marshalling/pull/67
According to code revision the fix is included. Verified with EAP 6.4.17.CP.CR3
Released on 2017-09-05 as part of the EAP 6.4.17 release.