p PatchFirst

CVE-2026-41570

CVE-2026-41570 · PHPUnit: Argument injection via newline in PHP INI values forwarded to child processes

Diese Seite enthält Fakten aus öffentlichen Sicherheitsquellen. Lesen Sie vor dem Aktualisieren die Originalmeldung.

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.

CVSS 7.8 · Hoch · EPSS 0,2% · Korrektur verfügbar

Veröffentlicht
Aktualisiert

Technologie-Stack: system · php

Betroffene Produkte und Versionen

  • phpunit

    Softwareversionen
    • = 12.5.21: Betroffen
    • = 13.1.5: Betroffen

    Keine Korrektur veröffentlicht

  • phpunit/phpunit Packagist

    Softwareversionen
    • 12.5.21
    Betroffene Versionsbereiche
    • ECOSYSTEM: ≥ 12.5.21, < 12.5.22

    Auf 12.5.22 aktualisieren

  • phpunit/phpunit Packagist

    Softwareversionen
    • 13.1.5
    Betroffene Versionsbereiche
    • ECOSYSTEM: ≥ 13.1.5, < 13.1.6

    Auf 13.1.6 aktualisieren

  • phpunit Ubuntu:Pro:16.04:LTS

    Softwareversionen
    • 4.7.6-1
    • 4.8.16-1
    • 5.1.3-1ubuntu1
    • 5.1.3-1+build1
    • 5.1.3-1+ubuntu1
    • 5.1.3-1+ubuntu3
    • 5.1.3-1+ubuntu3+esm1
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • phpunit Ubuntu:18.04:LTS

    Softwareversionen
    • 5.4.6-2
    • 5.4.6-3
    • 6.5.5-1ubuntu2
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • phpunit Ubuntu:20.04:LTS

    Softwareversionen
    • 7.5.6-1
    • 8.5.2-1ubuntu1
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • phpunit Ubuntu:22.04:LTS

    Softwareversionen
    • 9.5.4-1
    • 9.5.10-1ubuntu2
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • phpunit Ubuntu:24.04:LTS

    Softwareversionen
    • 9.6.10-1
    • 9.6.13-1
    • 9.6.15-1
    • 9.6.16-1
    • 9.6.17-1
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • phpunit Ubuntu:25.10

    Softwareversionen
    • 11.5.3-1ubuntu4
    • 11.5.19-1build4
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • phpunit Ubuntu:26.10

    Softwareversionen
    • 13.0.0-2ubuntu6
    • 13.2.6+ds-1
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • phpunit Ubuntu:26.04:LTS

    Softwareversionen
    • 11.5.19-1build4
    • 13.0.0-2ubuntu6
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

Originalquellen

Prüfen Sie Ihren Server →