Stack-based buffer overflow in mapserv.c in mapserv in MapServer 4.x before
4.10.4 and 5.x before 5.2.2, when the server has a map with a long
IMAGEPATH or NAME attribute, allows remote attackers to execute arbitrary
code via a crafted id parameter in a query action.