Ubuntu 14.04 LTS / 16.04 LTS / 18.04 LTS / 20.04 LTS / 22.04 LTS / 24.04 LTS : tcpdf vulnerabilities (USN-9522-1)

medium Nessus Plugin ID 394240

Synopsis

The remote Ubuntu host is missing one or more security updates.

Description

The remote Ubuntu 14.04 LTS / 16.04 LTS / 18.04 LTS / 20.04 LTS / 22.04 LTS / 24.04 LTS host has a package installed that is affected by multiple vulnerabilities as referenced in the USN-9522-1 advisory.

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)

Tenable has extracted the preceding description block directly from the Ubuntu security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the affected php-tcpdf package.

See Also

https://ubuntu.com/security/CVE-2024-22640

https://ubuntu.com/security/CVE-2024-22641

https://ubuntu.com/security/CVE-2024-32489

https://ubuntu.com/security/CVE-2024-51058

https://ubuntu.com/security/CVE-2024-56519

https://ubuntu.com/security/CVE-2024-56520

https://ubuntu.com/security/CVE-2024-56522

https://ubuntu.com/security/CVE-2024-56527

https://ubuntu.com/security/notices/USN-9522-1

Plugin Details

Severity: Medium

ID: 394240

File Name: ubuntu_USN-9522-1.nasl

Version: 1.1

Type: Local

Agent: unix

Published: 12/5/2026

Updated: 12/5/2026

Supported Sensors: Nessus Agent, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.94

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.1

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:N/A:N

CVSS Score Source: CVE-2024-56522

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

CVSS v4

Risk Factor: Medium

Base Score: 6.9

Threat Score: 5.5

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

CVSS Score Source: CVE-2024-51058

Vulnerability Information

CPE: cpe:/o:canonical:ubuntu_linux:14.04:-:lts, cpe:/o:canonical:ubuntu_linux:16.04:-:lts, cpe:/o:canonical:ubuntu_linux:18.04:-:lts, cpe:/o:canonical:ubuntu_linux:20.04:-:lts, cpe:/o:canonical:ubuntu_linux:22.04:-:lts, cpe:/o:canonical:ubuntu_linux:24.04:-:lts, cpe:/o:canonical:ubuntu_linux:pro:-:lts, p-cpe:/a:canonical:ubuntu_linux:php-tcpdf

Required KB Items: Host/cpu, Host/Debian/dpkg-l, Host/Ubuntu, Host/Ubuntu/release

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 12/3/2026

Vulnerability Publication Date: 4/15/2024

Reference Information

CVE: CVE-2024-22640, CVE-2024-22641, CVE-2024-32489, CVE-2024-51058, CVE-2024-56519, CVE-2024-56520, CVE-2024-56522, CVE-2024-56527

USN: 9522-1