🛡️ CVE-2024-56520 — tc-lib-pdf-font

🟠 CVSS 7.3 — High ✅ No Known Exploit NVD
7.3
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

tecnickcom/tc-lib-pdf-font mishandles fonts

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.

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality low, integrity low, availability low.

Affected software

CVE-2024-56520 is recorded against 2 packages.

  • tecnickcom/tc-lib-pdf-font (fixed in 2.6.4)
  • unknown

Timeline and source

Published on 27 December 2024 and last revised on 4 November 2025. No public exploit is currently recorded for this entry. Record sourced from NVD.

References

nvd.nist.gov (Advisory)
github.com (Web)
github.com (Web)
github.com (Web)
github.com (Package)
github.com (Web)
lists.debian.org (Web)
tcpdf.org (Web)

CVE-2024-56520 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity High
CVSS Score 7.3
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
CWE N/A
Public Exploit ✅ No
Source NVD
Published 2024-12-27
Updated 2026-08-12
Modified 2025-11-04
Fix URL N/A

Affected Packages

Software From version Fixed in
tecnickcom/tc-lib-pdf-font 2.6.4
unknown

Site Security Check

Is tc-lib-pdf-font part of your stack?

CVE-2024-56520 is rated CVSS 7.3 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.