Welcome to Centmin Mod Community
Become a Member

Stable Branch fix menu 5 same-version PHP rebuild skipping security patches in 132.…

Discussion in 'Centmin Mod Github Commits' started by eva2000, Nov 20, 2026 at 3:44 PM.

  1. eva2000

    eva2000 Administrator Staff Member

    60,551
    12,627
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,292
    Local Time:
    12:44 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    fix menu 5 same-version PHP rebuild skipping security patches in 132.00stable

    Menu 5 extracted the PHP tarball over an existing /svr-setup/php-<version>
    tree without removing it first. php_patches treats a patch copy left in that
    tree by the previous build as already applied, while tar overwrites the
    patched sources with pristine ones, so rebuilding the same PHP version
    compiled unpatched sources and printed "patch file already applied" for every
    EOL backport. A rebuild of PHP 7.4.33 could therefore lose the CVE-2026-126714,
    CVE-2026-109618/109619 and all earlier backports. 140.00beta01 and
    141.00beta01 already remove the tree before extraction.

    Changes:
    - inc/php_upgrade.inc: remove ${DIR_TMP}/php-${phpver} before extracting the
    PHP source tarball in the menu 5 upgrade path

    Continue reading...

    132.00stable branch