Home / Matomo / Matomo / CVE-2009-4137
CVE-2009-4137: is it exploited, and which versions of Matomo are affected and fixed?
CVE-2009-4137 is an improper input validation vulnerability in Matomo. 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, 09:08 UTC). Affected: matomo 0.2.25, matomo 0.2.26, matomo 0.2.27 and 5 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (7.5, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:08 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:50 UTC.
What is CVE-2009-4137?
The loadContentFromCookie function in core/Cookie.php in Piwik before 0.5 does not validate strings obtained from cookies before calling the unserialize function, which allows remote attackers to execute arbitrary code or upload arbitrary files via vectors related to the __destruct function in the Piwik_Config class; php://filter URIs; the __destruct functions in Zend Framework, as demonstrated by the Zend_Log destructor; the shutdown functions in Zend Framework, as demonstrated by the Zend_Log_Writer_Mail class; the render function in the Piwik_View class; Smarty templates; and the _eval function in Smarty.
From the CVE record by redhat, last updated September 16, 2024, 20:27 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| matomo | matomo | 0.2.25 | application |
| matomo | matomo | 0.2.26 | application |
| matomo | matomo | 0.2.27 | application |
| matomo | matomo | 0.2.28 | application |
| matomo | matomo | 0.2.29 | application |
| matomo | matomo | 0.2.30 | application |
| matomo | matomo | 0.2.31 | application |
| matomo | matomo | 0.2.32 | application |
NVD analysis (status Modified), last modified June 16, 2026, 23:13 UTC.
How severe is CVE-2009-4137?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P | 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-2009-4137 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 16.9% probability of exploitation activity in the next 30 days, percentile 97.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-20 Improper Input Validation
Where are the vendor advisories and references?
- [oss-security] 20091214 Re: Piwik <= 0.4.5 Cookie Unserialize() Vulnerability mailing-list, x_refsource_MLIST
- http://piwik.org/blog/2009/12/piwik-response-to-shocking-news-in-php-exploitation/ x_refsource_CONFIRM
- http://www.suspekt.org/downloads/POC2009-ShockingNewsInPHPExploitation.pdf x_refsource_MISC
- [oss-security] 20091210 Re: Piwik <= 0.4.5 Cookie Unserialize() Vulnerability mailing-list, x_refsource_MLIST
- [oss-security] 20091209 Piwik <= 0.4.5 Cookie Unserialize() Vulnerability mailing-list, x_refsource_MLIST
- http://dev.piwik.org/trac/changeset/1637 x_refsource_CONFIRM
- http://www.suspekt.org/2009/12/09/advisory-032009-piwik-cookie-unserialize-vulnerability/ x_refsource_MISC
- http://www.sektioneins.de/en/advisories/advisory-032009-piwik-cookie-unserialize-vulnerability/ x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- December 1, 2009
- Published
- December 24, 2009, 16:00 UTC
- CVE record updated
- September 16, 2024, 20:27 UTC by redhat
- NVD
- Modified, last modified June 16, 2026, 23:13 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:50 UTC; KEV December 3, 2026, 09:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Matomo?
- May 20, 2019CVE-2019-12215 Matomo: information disclosure in error messages disputed
- Nov 16, 2015CVE-2015-7816 Matomo: n/a
- Nov 16, 2015CVE-2015-7815 Matomo: path traversal (reading or writing files outside the intended folder)
- Mar 21, 2013CVE-2013-2633 Matomo: improper input validation
- Mar 21, 2013CVE-2013-1844 Matomo: cross-site scripting (XSS)
- Nov 19, 2012CVE-2012-4541 Matomo: cross-site scripting (XSS)
- Sep 18, 2012CVE-2011-4941 Matomo: privilege escalation (improper privilege management)
- Sep 24, 2011CVE-2011-3791 Matomo: information disclosure
Questions about CVE-2009-4137
Is CVE-2009-4137 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:08 UTC. FIRST's EPSS gives it a 16.9% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Matomo are affected by CVE-2009-4137?
matomo 0.2.25, matomo 0.2.26, matomo 0.2.27, matomo 0.2.28, matomo 0.2.29, matomo 0.2.30 and 2 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2009-4137?
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-2009-4137?
High (7.5, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2009-4137?
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.