Loading
mapserv in MapServer 4.x before 4.10.4 and 5.x before 5.2.2 allows remote attackers to read arbitrary invalid .map files via a full pathname in the map parameter, which triggers the display of partial file contents within an error message, as demonstrated by a /tmp/sekrut.map symlink.
Use CWE-200, Osgeo vendor hub and Mapserver product page to widen CVE-2009-0842 into its surrounding weakness, vendor, and product context.
Compare it with CVE-2010-2540, CVE-2017-5522 and CVE-2025-59431 for nearby disclosures in the same product family.