Security Release for issue #5160 and #14869

FTR, some reports on Tryton use those build-ins so they are already failing.