Intel

AIKIDO-2025-10551

fpdf2 is vulnerable to Regular Expression Denial of Service (ReDoS)

Regular Expression Denial of Service (ReDoS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Aug 13, 2025

12

Low Risk

This Affects:

pythonfpdf2
2.5.0 - 2.8.3
Fixed in 2.8.4
Are you affected? Scan for Free

TL;DR

Affected versions of this package contain an inefficient regular expression in the SVG parsing module, making them susceptible to Regular Expression Denial of Service (ReDoS) attacks. The patched version optimizes the expression, eliminating the risk.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

fpdf2 is vulnerable to Regular Expression Denial of Service (ReDoS) in versions 2.5.0 - 2.8.3.

How to fix this

Upgrade the fpdf2 library to the patch version.