Home / mailings [USN-9522-1] TCPDF vulnerabilities
Posted on 04 December 2026
Ubuntu Security==========================================================================Ubuntu Security Notice USN-9522-1
December 03, 2026
tcpdf vulnerabilities
==========================================================================
A security issue affects these releases of Ubuntu and its derivatives:
- Ubuntu 24.04 LTS
- Ubuntu 22.04 LTS
- Ubuntu 20.04 LTS
- Ubuntu 18.04 LTS
- Ubuntu 16.04 LTS
- Ubuntu 14.04 LTS
Summary:
Several security issues were fixed in TCPDF.
Software Description:
- tcpdf: PHP class for generating PDF files on-the-fly
Details:
It was discovered that TCPDF incorrectly handled parsing certain HTML
colors. An attacker could possibly use this issue to cause TCPDF to
consume resources, resulting in a regular expression denial of service.
This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS,
Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS. (CVE-2024-22640)
It was discovered that TCPDF incorrectly handled parsing certain SVG
files. An attacker could possibly use this issue to cause TCPDF to
consume resources, resulting in a regular expression denial of service.
(CVE-2024-22641)
It was discovered that TCPDF incorrectly handled certain HTML syntax. An
attacker could possibly use this issue to cause TCPDF to behave
unexpectedly. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS,
Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS. (CVE-2024-32489)
It was discovered that TCPDF incorrectly handled the src attribute of
image tags. An attacker could possibly use this issue to read arbitrary
files from the system. (CVE-2024-51058)
It was discovered that TCPDF did not properly sanitize the SVG font-family
attribute. An attacker could possibly use this issue to perform
cross-site scripting attacks. (CVE-2024-56519)
It was discovered that TCPDF incorrectly parsed certain fonts. An
attacker could possibly use this issue to cause TCPDF to crash or behave
unexpectedly. (CVE-2024-56520)
It was discovered that TCPDF did not use a constant-time comparison when
verifying TCPDF tag hashes. An attacker could possibly use this issue to
obtain sensitive information through timing attacks. (CVE-2024-56522)
It was discovered that TCPDF did not properly escape error messages. An
attacker could possibly use this issue to perform cross-site scripting
attacks. (CVE-2024-56527)
Update instructions:
The problem can be corrected by updating your system to the following
package versions:
Ubuntu 24.04 LTS
php-tcpdf 6.7.5+dfsg-1ubuntu0.1~esm1
Available with Ubuntu Pro
Ubuntu 22.04 LTS
php-tcpdf 6.4.4+dfsg1-1ubuntu0.1~esm1
Available with Ubuntu Pro
Ubuntu 20.04 LTS
php-tcpdf 6.3.5+dfsg1-1ubuntu0.1~esm1
Available with Ubuntu Pro
Ubuntu 18.04 LTS
php-tcpdf 6.2.13+dfsg-1ubuntu1+esm1
Available with Ubuntu Pro
Ubuntu 16.04 LTS
php-tcpdf 6.0.093+dfsg-1ubuntu1+esm1
Available with Ubuntu Pro
Ubuntu 14.04 LTS
php-tcpdf 6.0.048+dfsg-2ubuntu0.1~esm1
Available with Ubuntu Pro
In general, a standard system update will make all the necessary changes.
References:
https://ubuntu.com/security/notices/USN-9522-1
CVE-2024-22640, CVE-2024-22641, CVE-2024-32489, CVE-2024-51058,
CVE-2024-56519, CVE-2024-56520, CVE-2024-56522, CVE-2024-56527
--===============8094010451984093494==Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
