Please backport my patch https://github.com/php/php-src/pull/7478 to our custom PHP 7.2 buster packages and deploy it.
The patch was recently accepted into the PHP 8.1.x branch but the issue it fixes is constantly generating Parsoid timeouts in production, so it would be good if it could be deployed now.