CVE-2024-56520 json
tecnickcom/tc-lib-pdf-font mishandles fonts
published 2024-12-27 22 mo ago modified 2026-06-17 4 mo ago also GHSA-grhh-r4jj-8jh7 , EUVD-2024-3587
- cvss
- 7.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 46%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist tecnickcom/tc-lib-pdf-font 2.6.4
- tecnick tcpdf 6.8.0
- tcpdf Debian 12 6.6.2+dfsg1-1+deb12u1
- tcpdf Debian 14, Debian 13 6.8.0+dfsg-1
debian advisories DEBIAN-CVE-2024-56520
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 22 mo ago
Exploit prediction
0.56% chance of exploitation in the next 30 days, higher than 46% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| CNA | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | tecnickcom/tc-lib-pdf-font | <2.6.4 |
2.6.4 |
Affected products
- tecnick tcpdf
References
-
github.com
/tecnickcom/TCPDF/commit/a0a02efe487cc39bd5223359e916dbeafb5cd6fe
web
-
github.com
/tecnickcom/tc-lib-pdf-font/commit/30012e333ae611c514ec2dc7cb370bbf4da4e677
web
-
tcpdf.org
web
-
github.com
/tecnickcom/TCPDF/compare/6.7.8...6.8.0
web
-
github.com
/tecnickcom/tc-lib-pdf-font/compare/2.6.2...2.6.4
web
-
lists.debian.org
/debian-lts-announce/2025/06/msg00004.html
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-56520
advisory
-
github.com
/tecnickcom/tc-lib-pdf-font
package
Sources
- CVE List CVE-2024-56520
- GitHub Advisory GHSA-grhh-r4jj-8jh7
- NVD CVE-2024-56520
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.