Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. tecnickcom/tc-lib-pdf-font
  4. ›
  5. CVE-2024-56520

CVE-2024-56520: tecnickcom/tc-lib-pdf-font mishandles fonts

December 27, 2024

An issue was discovered in tc-lib-pdf-font before 2.6.4, as used in TCPDF before 6.8.0 and other products. Fonts are mishandled, e.g., FontBBox for Type 1 and TrueType fonts is misparsed.

References

  • github.com/advisories/GHSA-grhh-r4jj-8jh7
  • github.com/tecnickcom/TCPDF/commit/a0a02efe487cc39bd5223359e916dbeafb5cd6fe
  • github.com/tecnickcom/TCPDF/compare/6.7.8...6.8.0
  • github.com/tecnickcom/tc-lib-pdf-font
  • github.com/tecnickcom/tc-lib-pdf-font/commit/30012e333ae611c514ec2dc7cb370bbf4da4e677
  • github.com/tecnickcom/tc-lib-pdf-font/compare/2.6.2...2.6.4
  • nvd.nist.gov/vuln/detail/CVE-2024-56520
  • tcpdf.org/

Code Behaviors & Features

Detect and mitigate CVE-2024-56520 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 before 2.6.4

Fixed versions

  • 2.6.4

Solution

Upgrade to version 2.6.4 or above.

Source file

packagist/tecnickcom/tc-lib-pdf-font/CVE-2024-56520.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:28 +0000.