{"id":"CVE-2009-2281","aliases":["DEBIAN-CVE-2009-2281","DSA-1914-1","EUVD-2009-2277","GHSA-6726-5cj2-9h6f"],"status":"published","title":"Multiple heap-based buffer underflows in the readPostBody function in cgiutil.c in mapserv in...","description":"Multiple heap-based buffer underflows in the readPostBody function in cgiutil.c in mapserv in MapServer 4.x through 4.10.4 and 5.x before 5.4.2 allow remote attackers to execute arbitrary code via (1) a crafted Content-Length HTTP header or (2) a large HTTP request, related to an integer overflow that triggers a heap-based buffer overflow.  NOTE: this issue reportedly exists because of an incomplete fix for CVE-2009-0840.","severity":{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.05949,"percentile":0.93322,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-119"],"published":"2009-10-22T00:00:00Z","modified":"2026-10-23T17:47:26Z","fixes":[{"ecosystem":"Debian:12","package":"mapserver","fixed_in":["5.4.2-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"mapserver","fixed_in":["5.4.2-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"mapserver","fixed_in":["5.4.2-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"mapserver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.2-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"mapserver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.2-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"mapserver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.2-1"}]}]},{"source":"osv","ecosystem":"Debian:4.0","package":"mapserver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.10.0-5.1+etch4"}]}],"versions":["4.10.0-5+etch1","4.10.0-5.1+etch2"],"bundled":7},{"source":"osv","ecosystem":"Debian:5.0","package":"mapserver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.0.3-3+lenny4"}]}],"versions":["5.0.3-3"],"bundled":7}],"products":[{"vendor":"osgeo","product":"mapserver"},{"vendor":"umn","product":"mapserver"}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2009/07/01/6","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://security.debian.org/pool/updates/main/m/mapserver/mapserver_4.10.0-5.1+etch4.diff.gz","tags":["x_refsource_CONFIRM","x_transferred","Patch","fix"]},{"url":"http://trac.osgeo.org/mapserver/browser/tags/rel-5-4-2/mapserver/HISTORY.TXT","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://www.openwall.com/lists/oss-security/2009/07/01/1","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://www.debian.org/security/2009/dsa-1914","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory"]},{"url":"http://trac.osgeo.org/mapserver/ticket/2943","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://security.debian.org/pool/updates/main/m/mapserver/mapserver_5.0.3-3+lenny4.diff.gz","tags":["x_refsource_CONFIRM","x_transferred","Patch","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2009-2281"},{"url":"https://github.com/advisories/GHSA-6726-5cj2-9h6f"},{"url":"https://security-tracker.debian.org/tracker/CVE-2009-2281","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2009-2281","description":"Multiple heap-based buffer underflows in the readPostBody function in cgiutil.c in mapserv in MapServer 4.x through 4.10.4 and 5.x before 5.4.2 allow remote attackers to execute arbitrary code via (1) a crafted Content-Length HTTP header or (2) a large HTTP request, related to an integer overflow that triggers a heap-based buffer overflow.  NOTE: this issue reportedly exists because of an incomplete fix for CVE-2009-0840.","status":"published","published":"2009-10-23T18:00:00Z","modified":"2024-09-16T16:23:42.293Z","updated_at":"2026-11-02T14:33:23.395558Z"}],"euvd":[{"id":"EUVD-2009-2277","description":"Multiple heap-based buffer underflows in the readPostBody function in cgiutil.c in mapserv in MapServer 4.x through 4.10.4 and 5.x before 5.4.2 allow remote attackers to execute arbitrary code via (1) a crafted Content-Length HTTP header or (2) a large HTTP request, related to an integer overflow that triggers a heap-based buffer overflow.  NOTE: this issue reportedly exists because of an incomplete fix for CVE-2009-0840.","status":"published","published":"2009-10-23T18:00:00Z","modified":"2024-09-16T16:23:42Z","updated_at":"2026-11-03T00:55:52.084115Z"}],"ghsa":[{"id":"GHSA-6726-5cj2-9h6f","title":"Multiple heap-based buffer underflows in the readPostBody function in cgiutil.c in mapserv in...","description":"Multiple heap-based buffer underflows in the readPostBody function in cgiutil.c in mapserv in MapServer 4.x through 4.10.4 and 5.x before 5.4.2 allow remote attackers to execute arbitrary code via (1) a crafted Content-Length HTTP header or (2) a large HTTP request, related to an integer overflow that triggers a heap-based buffer overflow.  NOTE: this issue reportedly exists because of an incomplete fix for CVE-2009-0840.","status":"published","published":"2022-05-02T03:33:34Z","modified":"2023-01-31T05:08:13Z","cwes":["CWE-119"],"updated_at":"2026-11-02T14:49:21.399059Z"}],"nvd":[{"id":"CVE-2009-2281","description":"Multiple heap-based buffer underflows in the readPostBody function in cgiutil.c in mapserv in MapServer 4.x through 4.10.4 and 5.x before 5.4.2 allow remote attackers to execute arbitrary code via (1) a crafted Content-Length HTTP header or (2) a large HTTP request, related to an integer overflow that triggers a heap-based buffer overflow.  NOTE: this issue reportedly exists because of an incomplete fix for CVE-2009-0840.","status":"published","published":"2009-10-23T18:30:00.297Z","modified":"2026-06-16T23:09:07.54Z","cvss":[{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:01:37.004244Z"}],"osv":[{"id":"CVE-2009-2281","description":"Multiple heap-based buffer underflows in the readPostBody function in cgiutil.c in mapserv in MapServer 4.x through 4.10.4 and 5.x before 5.4.2 allow remote attackers to execute arbitrary code via (1) a crafted Content-Length HTTP header or (2) a large HTTP request, related to an integer overflow that triggers a heap-based buffer overflow.  NOTE: this issue reportedly exists because of an incomplete fix for CVE-2009-0840.","status":"published","published":"2009-10-23T18:30:00Z","modified":"2026-04-10T03:40:47.800589Z","updated_at":"2026-11-02T15:43:57.714116Z"},{"id":"DEBIAN-CVE-2009-2281","description":"Multiple heap-based buffer underflows in the readPostBody function in cgiutil.c in mapserv in MapServer 4.x through 4.10.4 and 5.x before 5.4.2 allow remote attackers to execute arbitrary code via (1) a crafted Content-Length HTTP header or (2) a large HTTP request, related to an integer overflow that triggers a heap-based buffer overflow.  NOTE: this issue reportedly exists because of an incomplete fix for CVE-2009-0840.","status":"published","published":"2009-10-23T18:30:00.297Z","modified":"2026-10-23T17:47:26.021941195Z","updated_at":"2026-11-02T15:45:24.013654Z"},{"id":"DSA-1914-1","title":"mapserver - serveral vulnerabilities","status":"published","published":"2009-10-22T00:00:00Z","modified":"2026-03-09T01:19:54.16964Z","updated_at":"2026-11-02T15:46:14.734124Z"}]}}
