CVE-2024-56521 TCPDF missing certificate validation

Critical 9.8 Published Updated

TCPDF disables SSL certificate verification when using libcurl, allowing attackers to bypass TLS security checks and potentially intercept or modify data.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-56521?

CVE-2024-56521 is a critical vulnerability in tecnick tcpdf, published on 27 Dec 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An issue was discovered in TCPDF before 6.8.0. If libcurl is used, CURLOPT_SSL_VERIFYHOST and CURLOPT_SSL_VERIFYPEER are set unsafely.

Weakness: CWE-295

Which versions are affected by CVE-2024-56521?

2 open source packages ship an affected version, including tecnickcom/tcpdf. It affects 1 product.

PackageAffectedFixed in
tecnickcom/tcpdf PackagistAll versions6.8.0
tecnickcom/tcpdf PackagistAll versions6.8.0

Products include Tcpdf Project Tcpdf.

How do I fix CVE-2024-56521?

Upgrade tecnickcom/tcpdf to 6.8.0 or later.

Is CVE-2024-56521 being exploited?

There is no known exploitation of CVE-2024-56521 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2024-56521, GHSA-9mgx-552f-59p6, UBUNTU-CVE-2024-56521.

Is CVE-2024-56521 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free