{"id":"CVE-2020-7061","aliases":["CVE-2020-7061","BIT-LIBPHP-2020-7061","BIT-PHP-2020-7061","BIT-PHP-MIN-2020-7061"],"related":[],"kind":"vulnerability","state":"published","title":"heap-buffer-overflow in phar_extract_file","summary":"In PHP versions 7.3.x below 7.3.15 and 7.4.x below 7.4.3, while extracting PHAR files on Windows using phar extension, certain content inside PHAR file could lead to one-byte read past the allocated buffer. This could potentially lead to information disclosure or crash.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In PHP versions 7.3.x below 7.3.15 and 7.4.x below 7.4.3, while extracting PHAR files on Windows using phar extension, certain content inside PHAR file could lead to one-byte read past the allocated buffer. This could potentially lead to information disclosure or crash.","source":"cvelist"},{"lang":"es","text":"En PHP versiones 7.3.x por debajo de 7.3.15 y versiones 7.4.x por debajo de 7.4.3, mientras son extraídos los archivos PHAR en Windows usando la extensión phar, determinado contenido dentro del archivo PHAR podría conllevar a una lectura de un byte más allá del búfer asignado. Esto potencialmente podría conllevar a una divulgación de información o bloqueo de aplicación.","source":"nvd"}],"published":"2020-02-27T20:25:14.751Z","modified":"2026-09-08T08:48:24.700Z","severity":{"scorer":"php","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"php","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:P","score":6.4,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"CRITICAL"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"custom","introduced":"7.3.x","fixed":"7.3.15","status":"affected"},{"type":"custom","introduced":"7.4.x","fixed":"7.4.3","status":"affected"}],"vendor":"PHP Group","product":"PHP","platforms":["Windows"],"source":"cvelist"},{"ranges":[{"status":"affected","introduced":"7.2.0","lastAffected":"7.2.27"},{"status":"affected","introduced":"7.3.0","lastAffected":"7.3.14"},{"status":"affected","introduced":"7.4.0","lastAffected":"7.4.2"}],"vendor":"php","product":"php","cpe":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"5.19.0"}],"vendor":"tenable","product":"tenable.sc","cpe":"cpe:2.3:a:tenable:tenable.sc:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"7.2.0","status":"affected","fixed":"7.2.28"},{"type":"semver","introduced":"7.3.0","status":"affected","fixed":"7.3.15"},{"type":"semver","introduced":"7.4.0","status":"affected","fixed":"7.4.3"}],"ecosystem":"Bitnami","package":"libphp","purl":"pkg:bitnami/libphp","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"7.2.0","status":"affected","fixed":"7.2.28"},{"type":"semver","introduced":"7.3.0","status":"affected","fixed":"7.3.15"},{"type":"semver","introduced":"7.4.0","status":"affected","fixed":"7.4.3"}],"ecosystem":"Bitnami","package":"php","purl":"pkg:bitnami/php","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"7.2.0","status":"affected","fixed":"7.2.28"},{"type":"semver","introduced":"7.3.0","status":"affected","fixed":"7.3.15"},{"type":"semver","introduced":"7.4.0","status":"affected","fixed":"7.4.3"}],"ecosystem":"Bitnami","package":"php-min","purl":"pkg:bitnami/php-min","source":"bitnami"}],"references":[{"url":"https://bugs.php.net/bug.php?id=79171","tags":["advisory","exploit","vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://security.gentoo.org/glsa/202003-57","tags":["advisory","third-party-advisory","vendor-advisory","x-refsource-gentoo","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://www.tenable.com/security/tns-2021-14","tags":["advisory","patch","third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7061","tags":["web"],"sources":["bitnami"]}],"credits":["Reported by cmb@php.net"],"assigner":"php","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-7061","url":"https://www.cve.org/CVERecord?id=CVE-2020-7061","licence":"CVE Terms of Use","modified":"2024-09-17T01:21:01.352Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-7061","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7061","licence":"Public domain","modified":"2026-06-17T03:24:17.220Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-LIBPHP-2020-7061","url":"https://osv.dev/vulnerability/BIT-LIBPHP-2020-7061","licence":"Apache-2.0","modified":"2026-09-08T08:48:08.024Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PHP-2020-7061","url":"https://osv.dev/vulnerability/BIT-PHP-2020-7061","licence":"Apache-2.0","modified":"2026-09-08T08:48:18.116Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PHP-MIN-2020-7061","url":"https://osv.dev/vulnerability/BIT-PHP-MIN-2020-7061","licence":"Apache-2.0","modified":"2026-09-08T08:48:24.700Z"}],"updatedAt":"2026-11-25T22:57:50.999Z","epss":{"score":0.04075,"percentile":0.90939,"date":"2026-12-01T12:00:22.000Z"}}