Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. tecnickcom/tcpdf
  4. ›
  5. CVE-2024-22640

CVE-2024-22640: TCPDF vulnerable to Regular Expression Denial of Service

April 19, 2024

TCPDF version <=6.7.4 is vulnerable to ReDoS (Regular Expression Denial of Service) if parsing an untrusted HTML page with a crafted color.

References

  • github.com/advisories/GHSA-mx3p-fhpw-x6rv
  • github.com/tecnickcom/TCPDF
  • github.com/zunak/CVE-2024-22640
  • nvd.nist.gov/vuln/detail/CVE-2024-22640

Code Behaviors & Features

Detect and mitigate CVE-2024-22640 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 6.7.4

Solution

Unfortunately, there is no solution available yet.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-1333: Inefficient Regular Expression Complexity

Source file

packagist/tecnickcom/tcpdf/CVE-2024-22640.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:46 +0000.