Home / Apache / Mod Python / CVE-2004-2680
CVE-2004-2680: is it exploited, and which versions of Apache Mod Python are affected and fixed?
CVE-2004-2680 is a vulnerability in Apache Mod Python. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:08 UTC). Affected: mod python through 3.1.4 (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (5.0, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:08 UTC, CVE record November 19, 2026, 07:21 UTC and NVD November 19, 2026, 08:54 UTC.
What is CVE-2004-2680?
mod_python (libapache2-mod-python) 3.1.4 and earlier does not properly handle when output filters process more than 16384 bytes, which can cause filter.read to return portions of previously freed memory.
From the CVE record by canonical, last updated August 8, 2024, 01:36 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | mod python | through 3.1.4 | application |
NVD analysis (status Modified), last modified June 16, 2026, 22:10 UTC.
How severe is CVE-2004-2680?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2004-2680 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 4.52% probability of exploitation activity in the next 30 days, percentile 91.7 (FIRST EPSS, scores of December 2, 2026)
Where are the vendor advisories and references?
- 24424 third-party-advisory, x_refsource_SECUNIA
- USN-430-1 vendor-advisory, x_refsource_UBUNTU
- [httpd-python-dev] 20040416 patch for filterobject.c mailing-list, x_refsource_MLIST
- 20070307 rPSA-2007-0051-1 mod_python mailing-list, x_refsource_BUGTRAQ
- [httpd-python-dev] 20040416 Re: possible bug in filter.write() mailing-list, x_refsource_MLIST
- ADV-2007-0846 vdb-entry, x_refsource_VUPEN
- [httpd-python-dev] 20040416 possible bug in filter.write() mailing-list, x_refsource_MLIST
- https://launchpad.net/bugs/89308 x_refsource_CONFIRM
- http://svn.apache.org/viewvc/httpd/mod_python/trunk/src/filterobject.c?r1=102649&r2=103561&pathrev=103561 x_refsource_CONFIRM
- https://issues.rpath.com/browse/RPL-1105 x_refsource_CONFIRM
- 24418 third-party-advisory, x_refsource_SECUNIA
- 22849 vdb-entry, x_refsource_BID
- modpython-outputfilter-info-disclosure(14751) vdb-entry, x_refsource_XF
When was it published, and where is the official record?
- Reserved
- March 4, 2007
- Published
- March 4, 2007, 23:00 UTC
- CVE record updated
- August 8, 2024, 01:36 UTC by canonical
- NVD
- Modified, last modified June 16, 2026, 22:10 UTC
- Last checked
- CVE list November 19, 2026, 07:21 UTC; NVD November 19, 2026, 08:54 UTC; KEV December 3, 2026, 07:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Mod Python?
- Mar 9, 2006CVE-2006-1095 Apache Mod Python: path traversal (reading or writing files outside the intended folder)
- Feb 10, 2005CVE-2005-0088 Apache Mod Python: n/a
- Sep 1, 2004CVE-2004-0096 Apache Mod Python: n/a
- Dec 2, 2003CVE-2003-0973 Apache Mod Python: n/a
- Apr 2, 2003CVE-2002-0185 Apache Mod Python: n/a
Questions about CVE-2004-2680
Is CVE-2004-2680 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:08 UTC. FIRST's EPSS gives it a 4.52% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Apache Mod Python are affected by CVE-2004-2680?
mod python through 3.1.4, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2004-2680?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2004-2680?
Medium (5.0, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2004-2680?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.