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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| tecnick | tcpdf | < 6.8.0 | 6.8.0 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | tcpdf | 6.8.0+dfsg-1 | — |
| Debian 13 | tcpdf | 6.8.0+dfsg-1 | — |
| Debian 12 | tcpdf | 6.6.2+dfsg1-1+deb12u1 | DSA-5933-1 |
| Debian 11 | tcpdf | 6.3.5+dfsg1-1+deb11u1 | DLA-4199-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | tcpdf | No fix yet | — |
| Ubuntu 22.04 LTS | tcpdf | No fix yet | — |
| Ubuntu 20.04 LTS | tcpdf | No fix yet | — |
| Ubuntu 18.04 LTS | tcpdf | No fix yet | — |
| Ubuntu 16.04 LTS | tcpdf | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | tcpdf | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | tecnickcom/tc-lib-pdf-font | < 2.6.4 | 2.6.4 | GHSA-grhh-r4jj-8jh7 |
Advisories 2
- DSA-5933-1 tcpdf - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-4199-1 tcpdf - security update Debian Security (DSA / DLA) · Mar 9, 2026
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