The following errata for CentOS-2 have been built and uploaded to the centos mirror:
RHSA-2005:828-01 Important: libungif security update
Files available: libungif-4.1.0-9.5.i386.rpm libungif-devel-4.1.0-9.5.i386.rpm libungif-progs-4.1.0-9.5.i386.rpm
More details are available from the RedHat web site at https://rhn.redhat.com/errata/rh21as-errata.html
The easy way to make sure you are up to date with all the latest patches is to run: # yum update