Skip to content

Backport PCRE2 security fixes to bundled 10.40 - #24011

Open
alexandre-daubois wants to merge 1 commit into
php:PHP-8.2from
alexandre-daubois:pcre2-jit-stack-fix-8.2
Open

alexandre-daubois wants to merge 1 commit into
php:PHP-8.2from
alexandre-daubois:pcre2-jit-stack-fix-8.2

Conversation

@alexandre-daubois

@alexandre-daubois alexandre-daubois commented Sep 30, 2026 •

Copy link
Copy Markdown
Member

Cherry-pick of PCRE2 security fixes, adapted to the bundled 10.40 which has no SSIZE_OF macro.

@alexandre-daubois alexandre-daubois changed the title Backport PCRE2 fix for GHSA-r9hj-j2rw-4q3m Backport PCRE2 security fixes to bundled 10.40 Oct 6, 2026
Apply the upstream backports listed for PCRE2 10.40 in SUPPORT-LIFECYCLE.md through 10.49 (GHSA-2p8c-ff85-vh9x, GHSA-q8g2-wprr-34m9, GHSA-9qww-pwc4-77qq, GHSA-fmgr-6ggq-9859, GHSA-3r4p-g7gg-ppmf, GHSA-r9hj-j2rw-4q3m), adapted to 10.40 where the patched code differs. Disable the legacy ARM64 NEON SIMD scanning for GHSA-43gg-c3xx-7w7g, as the upstream fix is a rewrite with no small backport.

@iliaal iliaal left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good now, thanks!

@ndossche
ndossche removed their request for review October 6, 2026 20:18
@ndossche

ndossche commented Oct 6, 2026

Copy link
Copy Markdown
Member

not gonna review this, sorry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants