PCRE2 flags high-severity out-of-bounds write in JIT matching, patched in 10.49

jedisct1 · x · 2026-10-14

PCRE2 maintainers disclosed GHSA-r9hj-j2rw-4q3m, a high-severity out-of-bounds write in JIT-compiled matching with growable JIT stacks. A sufficiently large single stack allocation can exceed the fixed stack growth increment, letting subsequent writes land below the allocated region.

The author also recommends his alternative regex library ReVera.

Original post →

More from Safety

Safety channel →