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

Published Dec 27, 2024
·
Updated

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.

Other sources

tecnickcom/tc-lib-pdf-font mishandles fonts

— Packagist

Affected Software

12 affected componentsFixes available
composer/tecnickcom/tc-lib-pdf-font<2.6.4
2.6.4
composer/tecnickcom/tc-lib-pdf-font<2.6.4
2.6.4
debian/tcpdf<6.6.2+dfsg1-1+deb12u1
6.6.2+dfsg1-1+deb12u1
debian/tcpdf<6.8.0+dfsg-1
6.8.0+dfsg-1
debian/tcpdf<6.8.0+dfsg-1
6.8.0+dfsg-1
debian/tcpdf
6.3.5+dfsg1-1+deb11u16.6.2+dfsg1-1+deb12u16.8.0+dfsg-1
ubuntu/tcpdf*
ubuntu/tcpdf*
ubuntu/tcpdf*
ubuntu/tcpdf*
ubuntu/tcpdf*
ubuntu/tcpdf*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/tecnickcom/tc-lib-pdf-font to a version that resolves this vulnerability.

    Fixed in 2.6.4
  2. Upgrade

    Upgrade debian/tcpdf to a version that resolves this vulnerability.

    Fixed in 6.6.2+dfsg1-1+deb12u1
  3. Upgrade

    Upgrade debian/tcpdf to a version that resolves this vulnerability.

    Fixed in 6.8.0+dfsg-1
  4. Upgrade

    Upgrade debian/tcpdf to a version that resolves this vulnerability.

    Fixed in 6.3.5+dfsg1-1+deb11u1Fixed in 6.6.2+dfsg1-1+deb12u1Fixed in 6.8.0+dfsg-1

Event History

Dec 27, 2024
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via OSV·05:15 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·05:15 AM
Description
Advisory Published
via GitHub·06:30 AM
Data Sourced
via GitHub·06:30 AM
DescriptionAffected Software
Data Sourced
via Packagist·06:30 AM
DescriptionSeverityAffected Software
Advisory Published
via GitHub·07:53 PM
Jan 2, 2025
Data Sourced
via NVD·08:16 PM
Severity

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2024-56520?

The severity of CVE-2024-56520 is classified as important due to potential impact on font handling in applications.

2

How do I fix CVE-2024-56520?

To fix CVE-2024-56520, upgrade the tc-lib-pdf-font package to version 2.6.4 or later.

3

Which software is affected by CVE-2024-56520?

CVE-2024-56520 affects tc-lib-pdf-font versions before 2.6.4 and TCPDF versions prior to 6.8.0.

4

What types of fonts are affected by CVE-2024-56520?

CVE-2024-56520 specifically affects the handling of Type 1 and TrueType fonts.

5

What are the potential consequences of CVE-2024-56520?

The potential consequences of CVE-2024-56520 include mishandled fonts leading to incorrect rendering in PDF documents.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203