{"schemaVersion":3,"id":"CVE-2026-41570","aliases":["UBUNTU-CVE-2026-41570","DEBIAN-CVE-2026-41570"],"status":"published","duplicateOf":null,"title":null,"description":"PHPUnit is a testing framework for PHP. In versions 12.5.21 and 13.1.5, PHPUnit forwards PHP INI settings to child processes (used for isolated/PHPT test execution) as -d name=value command-line arguments without neutralizing INI metacharacters. Because PHP's INI parser interprets \" as a string delimiter, ; as the start of a comment, and most importantly a newline as a directive separator, a value containing a newline is parsed by the child process as multiple INI directives. An attacker able to influence a single INI value can therefore inject arbitrary additional directives into the child's configuration, including auto_prepend_file, extension, disable_functions, open_basedir, and others. Setting auto_prepend_file to an attacker-controlled path yields remote code execution in the child process. This issue has been patched in versions 12.5.22 and 13.1.6.","dates":{"published":"2026-05-08T14:33:51.630Z","modified":"2026-05-08T16:01:51.929Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00284,"percentile":0.1967,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.093,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00191},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00191,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00191,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00191,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00191,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00191,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00191,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00191,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00191,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00191,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00191,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00284,"percentile":0.1967}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00191,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00191,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00191,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00191,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00284,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00284,"percentile":0.1967}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-88","name":"Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')","description":"The product constructs a string for a command to be executed by a separate component\nin another control sphere, but it does not properly delimit the\nintended arguments, options, or switches within that command string.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/88.html"},{"id":"CWE-93","name":"Improper Neutralization of CRLF Sequences ('CRLF Injection')","description":"The product uses CRLF (carriage return line feeds) as a special element, e.g. to separate lines or records, but it does not neutralize or incorrectly neutralizes CRLF sequences from inputs.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/93.html"}],"affected":[{"vendor":"debian","product":"phpunit","name":"phpunit","label":"phpunit","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/phpunit","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"phpunit","name":"phpunit","label":"phpunit","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/phpunit","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"phpunit_project","product":"phpunit","name":"phpunit","label":"phpunit","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"12.5.21","noFixRecorded":false,"fixedIn":null},{"text":"13.1.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"12.5.21 | 13.1.5","eol":null,"hubHref":"/vendor/phpunit_project/phpunit"},{"vendor":"sebastianbergmann","product":"phpunit","name":"phpunit","label":"phpunit","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"= 12.5.21","noFixRecorded":false,"fixedIn":null},{"text":"= 13.1.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"= 12.5.21 | = 13.1.5","eol":null,"hubHref":"/vendor/sebastianbergmann/phpunit"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/sebastianbergmann/phpunit/security/advisories/GHSA-qrr6-mg7r-m243","label":"github.com/sebastianbergmann/phpunit/security/advisories/GHSA-qrr6-mg7r-m243","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","Mitigation","Patch","Vendor Advisory"]},{"url":"https://github.com/sebastianbergmann/phpunit/pull/6592","label":"github.com/sebastianbergmann/phpunit/pull/6592","hostname":"github.com","tags":["X Refsource MISC","REPORT","Issue Tracking","Patch"]},{"url":"https://ubuntu.com/security/CVE-2026-41570","label":"ubuntu.com/security/CVE-2026-41570","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-41570","label":"www.cve.org/CVERecord?id=CVE-2026-41570","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-41570","label":"security-tracker.debian.org/tracker/CVE-2026-41570","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-05-08T14:33:51.630Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-05-08T16:01:51.929Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T10:34:21.204Z","stale":false,"partial":false}}