A vulnerability classified as problematic has been found in psf black up to 24.2.x. Affected is the function lines_with_leading_tabs_expanded of the file strings.py. The manipulation leads to inefficient regular expression complexity.

This vulnerability is traded as CVE-2024-21503. It is possible to launch the attack remotely. There is no exploit available.

It is recommended to upgrade the affected component.