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.
https://www.redhat.com/archives/fedora-package-announce/2009-April/msg00170.html
https://www.redhat.com/archives/fedora-package-announce/2009-April/msg00147.html
http://www.securitytracker.com/id?1021952
http://www.securityfocus.com/bid/34306
http://www.securityfocus.com/archive/1/502271/100/0/threaded
http://www.debian.org/security/2009/dsa-1914
http://trac.osgeo.org/mapserver/ticket/2944
http://secunia.com/advisories/34603
http://secunia.com/advisories/34520
http://lists.osgeo.org/pipermail/mapserver-users/2009-March/060600.html