You can actually change the limit in the Zope Management Interface. Go to http://localhost:8080/Plone/portal_modifier/manage_main
You can see several 'modifiers' there, which may influence CMFEditions.
One modifier is
AbortVersioningOfLargeFilesAndImages . Two options: either disable it or increase the maximum file size. The description of the maximum gives the advice to not make it higher than about 32 MB, but I guess this is no hard limit.
If you choose to disable this modifier, you could enable another one instead:
SkipVersioningOfLargeFilesAndImages . It also has a maximum. When the name is a correct indicator of what it actually does, this should mean that files below 26 MB are versioned just fine, and larger files simply do not get versioned. You should not get an error anymore.
There are a few other enabled modifiers which have 'Blob' in their name. It could very well be that the two modifiers above are only really useful for Archetypes content, or in general: file content which does not use blobs. It might be good to disable
AbortVersioningOfLargeFilesAndImages by default in Plone 6. But I have not tried.