Write-up
One lazy quantifier, seven seconds of blocked CPU: PEM ReDoS in @peculiar/utils
A lazy quantifier hunting for a PEM END marker turns many unmatched BEGIN headers into quadratic work: about seven seconds of blocked CPU from a 560 KB input.
GHSA-r5p3-rj5x-c7cc · CWE-1333