CVE-2024-56520
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
7.3
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.
- Record
CVE-2024-56520- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
EUVDEUVD-2024-3587
7.3
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.
- Record
EUVD-2024-3587- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-grhh-r4jj-8jh7 No score
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.
- Record
GHSA-grhh-r4jj-8jh7- Updated
- 2026-11-02
NVD
7.3
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.
- Record
CVE-2024-56520- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSV
7.3
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.
- Record
CVE-2024-56520- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVDEBIAN-CVE-2024-56520
7.3
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.
- Record
DEBIAN-CVE-2024-56520- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVUBUNTU-CVE-2024-56520
7.3
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.
- Record
UBUNTU-CVE-2024-56520- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVGHSA-grhh-r4jj-8jh7 No score
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.
- Record
GHSA-grhh-r4jj-8jh7- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
tecnickcom/tc-lib-pdf-fontPackagist |
before 2.6.4 | 2.6.4 |
tcpdfDebian:12 |
before 6.6.2+dfsg1-1+deb12u1, plus listed versions 6.6.2+dfsg1-1 |
6.6.2+dfsg1-1+deb12u1 |
tcpdfDebian:13 |
before 6.8.0+dfsg-1 | 6.8.0+dfsg-1 |
tcpdfDebian:14 |
before 6.8.0+dfsg-1 | 6.8.0+dfsg-1 |
tcpdfDebian:11 From an advisory covering 8 CVEs |
before 6.3.5+dfsg1-1+deb11u1, plus listed versions 6.3.5+dfsg1-1 |
6.3.5+dfsg1-1+deb11u1 |
tcpdfDebian:12 From an advisory covering 8 CVEs |
before 6.6.2+dfsg1-1+deb12u1, plus listed versions 6.6.2+dfsg1-1 |
6.6.2+dfsg1-1+deb12u1 |
tecnickcom/tc-lib-pdf-fontPackagist |
before 2.6.4, plus listed versions 1.0.11.0.31.10.01.10.31.10.5 Show 45 moreShow less1.10.61.11.01.11.11.11.101.11.21.11.31.11.41.11.51.11.61.11.71.11.81.11.91.12.01.13.01.14.01.15.01.15.11.15.101.15.31.15.41.15.51.15.61.15.71.15.91.16.11.2.01.2.11.3.01.3.11.3.21.4.01.4.11.4.21.4.31.5.01.6.01.7.01.7.21.7.31.7.41.7.51.7.61.8.01.8.21.8.3 |
2.6.4 |
tcpdfUbuntu:14.04:LTS |
All versions, plus listed versions 6.0.010+dfsg-16.0.021+dfsg-16.0.048+dfsg-16.0.048+dfsg-2 |
None known |
tcpdfUbuntu:16.04:LTS |
All versions, plus listed versions 6.0.093+dfsg-16.0.093+dfsg-1ubuntu1 |
None known |
tcpdfUbuntu:18.04:LTS |
All versions, plus listed versions 6.2.12+dfsg2-1ubuntu16.2.13+dfsg-16.2.13+dfsg-1ubuntu1 |
None known |
tcpdfUbuntu:20.04:LTS |
All versions, plus listed versions 6.2.13+dfsg-1ubuntu16.3.2+dfsg1-16.3.4+dfsg1-16.3.5+dfsg1-1 |
None known |
tcpdfUbuntu:22.04:LTS |
All versions, plus listed versions 6.3.5+dfsg1-16.4.2+dfsg1-16.4.4+dfsg1-1 |
None known |
tcpdfUbuntu:24.04:LTS |
All versions, plus listed versions 6.6.2+dfsg1-16.6.5+dfsg-16.7.4+dfsg-16.7.5+dfsg-1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-56520 is a high vulnerability (CVSS 7.3) in Tecnick Tcpdf, published December 27, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.56%, the 46th percentile. Fixed in tecnickcom/tc-lib-pdf-font 2.6.4.
References
tcpdf.org
github.com/tecnickcom/TCPDF/compare/6.7.8...6.8.0
github.com/tecnickcom/TCPDF/commit/a0a02efe487cc39bd5223359e916dbeafb5cd6fe
github.com/tecnickcom/tc-lib-pdf-font/commit/30012e333ae611c514ec2dc7cb370bbf4da4e677
github.com/tecnickcom/tc-lib-pdf-font/compare/2.6.2...2.6.4
lists.debian.org/debian-lts-announce/2025/06/msg00004.html
Show 7 moreShow less
nvd.nist.gov/vuln/detail/CVE-2024-56520
github.com/advisories/GHSA-grhh-r4jj-8jh7
github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56520.json
security-tracker.debian.org/tracker/CVE-2024-56520
github.com/tecnickcom/tc-lib-pdf-font
ubuntu.com/security/CVE-2024-56520
cve.org/CVERecord?id=CVE-2024-56520
Left out here: 27 versions. The JSON record has them.