---
title: "CVE-2009-0840\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2009-0840?format=md
keywords: index, follow
---

# CVE-2009-0840

Publication date 31 March 2009

Last updated 24 July 2024

---

Ubuntu priority

**Low**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

## Description

Heap-based buffer underflow in the readPostBody function in cgiutil.c in
mapserv in MapServer 4.x before 4.10.4 and 5.x before 5.2.2 allows remote
attackers to have an unknown impact via a negative value in the
Content-Length HTTP header.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| mapserver | 9.10 karmic | Not affected |
| 9.04 jaunty | Fixed 5.0.3-3ubuntu0.1 |
| 8.10 intrepid | Fixed 5.0.3-2ubuntu0.1 |
| 8.04 LTS hardy | Fixed 5.0.0-3ubuntu0.1 |
| 7.10 gutsy | Ignored end of life, was needed |
| 6.06 LTS dapper | Ignored end of life |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-0840)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2009-0840)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2009-0840)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2009-0840)

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2009-0840>
