{"id":"CVE-2020-4043","aliases":["CVE-2020-4043","GHSA-qr95-4mq5-r3fh"],"related":[],"kind":"vulnerability","state":"published","title":"Phar unserialization vulnerability in phpMussel","summary":"phpMussel from versions 1.0.0 and less than 1.6.0 has an unserialization vulnerability in PHP's phar wrapper. Uploading a specially crafted file to an affected version allows arbitrary code execution (discovered, tested, and confirmed by myself), so the risk factor should be regarded as very high. Newer phpMussel versions don't use PHP's phar wrapper, and are therefore unaffected. This has been fixed in version 1.6.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"phpMussel from versions 1.0.0 and less than 1.6.0 has an unserialization vulnerability in PHP's phar wrapper. Uploading a specially crafted file to an affected version allows arbitrary code execution (discovered, tested, and confirmed by myself), so the risk factor should be regarded as very high. Newer phpMussel versions don't use PHP's phar wrapper, and are therefore unaffected. This has been fixed in version 1.6.0.","source":"cvelist"},{"lang":"en","text":"### Impact\n_What kind of vulnerability is it? Who is impacted?_\n\nAnyone using >= v1.0.0 < v1.6.0.\n\n### Patches\n_Has the problem been patched? What versions should users upgrade to?_\n\nYes. Upgrading to at least >= v1.6.0 (the earliest safe version) will resolve the problem. However, as multiple new major versions have been released since that version, upgrading to the latest available version is recommended, in order to protect against any potential future vulnerabilities, unknown at the time of writing this advisory.\n\n### Workarounds\n_Is there a way for users to fix or remediate the vulnerability without upgrading?_\n\nYes. In the package's configuration, disable archive checking by setting `check_archives` to `false` (thus avoiding execution of the affected parts of the codebase entirely).\n\n### References\n_Are there any links users can visit to find out more?_\n\nYes. The vulnerability is documented at [SECURITY.md](https://github.com/phpMussel/phpMussel/security/policy) and also at [#167](https://github.com/phpMussel/phpMussel/issues/167).\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Comment at the issue linked to this advisory, or..\n* Contact [the package author](https://github.com/Maikuolan).","format":"markdown","source":"ghsa"},{"lang":"es","text":"phpMussel desde las versiones 1.0.0 y menores a 1.6.0, presenta una vulnerabilidad de deserialización en el contenedor phar de PHP. Al cargar un archivo especialmente diseñado en una versión afectada permite una ejecución de código arbitraria (descubierto, probado y confirmado por mí mismo), por lo que el factor de riesgo debe considerarse muy alto. Las versiones más recientes de phpMussel no utilizan el contenedor phar de PHP y, por lo tanto, no están afectadas. Esto se ha corregido en la versión 1.6.0","source":"nvd"}],"published":"2020-06-10T19:40:15.000Z","modified":"2026-07-08T06:00:10.257Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","score":7.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","score":7.7,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","score":7.7,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-502"],"affected":[{"ranges":[{"version":">= 1.0.0, < 1.6.0","status":"affected"}],"vendor":"phpMussel","product":"phpMussel","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"1.0.0","status":"affected","fixed":"1.6.0"}],"ecosystem":"Packagist","package":"phpmussel/phpmussel","purl":"pkg:composer/phpmussel/phpmussel","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"1.0.0","status":"affected","fixed":"1.6.0"}],"ecosystem":"Packagist","package":"maikuolan/phpmussel","purl":"pkg:composer/maikuolan/phpmussel","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"1.0.0","fixed":"1.6.0"}],"vendor":"phpmussel_project","product":"phpmussel","cpe":"cpe:2.3:a:phpmussel_project:phpmussel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/phpMussel/phpMussel/security/advisories/GHSA-qr95-4mq5-r3fh","tags":["mitigation","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/phpMussel/phpMussel/issues/167","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/phpMussel/phpMussel/pull/173","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/phpMussel/phpMussel/commit/97f25973433921c1f953430f32d3081adc4851a4","tags":["patch","release-notes","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/phpMussel/phpMussel/security/policy#currently-known-vulnerabilities","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-4043","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/phpMussel/phpMussel","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-4043","url":"https://www.cve.org/CVERecord?id=CVE-2020-4043","licence":"CVE Terms of Use","modified":"2024-08-04T07:52:20.782Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qr95-4mq5-r3fh","url":"https://github.com/advisories/GHSA-qr95-4mq5-r3fh","licence":"CC-BY-4.0","modified":"2026-07-08T06:00:10.257Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-4043","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-4043","licence":"Public domain","modified":"2026-06-17T03:19:28.470Z"}],"updatedAt":"2026-11-25T22:57:52.884Z","epss":{"score":0.02597,"percentile":0.85758,"date":"2026-12-01T12:00:22.000Z"}}