Re: Hibernate upgrade with Struts 6.8.0

Lukasz Lenart <[email protected]> Thu, 2 Apr 2026 16:26:27 +0200
Newsgroups gmane.comp.jakarta.struts.user
Message-ID <CAMopvkNh8FArnSWZ43v176nNSHi7HMrvsybYGvKMoaPCzrwUnQ@mail.gmail.com>
wt., 31 mar 2026 o 15:09 Angel <[email protected]> napisa=C5=82(a):
> Regarding the CVE-2026-0603 vulnerability affecting hibernate-core 5.x
> versions. We are running Apache struts 6.8.0 with hibernate-core 5.6.15.
>
> We know its an optional dependency for struts-core, but without it during
> the app execution in
> com.opensymphony.xwork2.util.ProxyUtil#isHibernateProxy are thrown and
> internally handled a lot of NoClassDefFoundError-s (hundreds of thousands=
).
> This decrease the performance of our app.

This looks like a bug, if Hibernate isn't present, this function
should be ignored. Feel free to report a but in JIRA

> Is it safe to upgrade hibernate-core to a non-vulnerable version while
> staying on Struts 6.8.0?

If this is Hibernate 5.x it shouldn't be an issue.


Cheers
=C5=81ukasz