Vulnerability · Published Dec 27, 2024 · Assigned by mitre
CVE-2024-56520
High 7.3
In plain English
A high-severity security flaw in tcpdf from tecnick. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 47% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.3High
Exploit odds (30 days)0.6%top 53.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | tcpdf | 6.6.2+dfsg1-1+deb12u1 | DSA-5933-1 |
| Debian:12 | tcpdf | 6.6.2+dfsg1-1+deb12u1 | DEBIAN-CVE-2024-56520 |
| Debian:13 | tcpdf | 6.8.0+dfsg-1 | DEBIAN-CVE-2024-56520 |
| Debian:14 | tcpdf | 6.8.0+dfsg-1 | DEBIAN-CVE-2024-56520 |
| Packagist | tecnickcom/tc-lib-pdf-font | 2.6.4 | GHSA-grhh-r4jj-8jh7 |
| Ubuntu:22.04:LTS | tcpdf | no fix listed | UBUNTU-CVE-2024-56520 |
| Ubuntu:24.04:LTS | tcpdf | no fix listed | UBUNTU-CVE-2024-56520 |
Affected products (as reported)
References
- https://tcpdf.org
- https://github.com/tecnickcom/TCPDF/compare/6.7.8...6.8.0
- https://github.com/tecnickcom/TCPDF/commit/a0a02efe487cc39bd5223359e916dbeafb5cd6fe
- https://github.com/tecnickcom/tc-lib-pdf-font/commit/30012e333ae611c514ec2dc7cb370bbf4da4e677
- https://github.com/tecnickcom/tc-lib-pdf-font/compare/2.6.2...2.6.4
- https://lists.debian.org/debian-lts-announce/2025/06/msg00004.html