Please update mapserver to the newest version (MapServer 8.6.1) In epel there is version 8.6.0 Please update for epel 9 and 10