CVE-2024-56521: TCPDF missing certificate validation

Published Dec 27, 2024
·
Updated

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

Affected Software

13 affected componentsFixes available
composer/tecnickcom/tcpdf<6.8.0
6.8.0
Tcpdf Project Tcpdf<6.8.0
composer/tecnickcom/tcpdf<6.8.0
6.8.0
debian/tcpdf*
debian/tcpdf<6.8.0+dfsg-1
6.8.0+dfsg-1
debian/tcpdf<6.8.0+dfsg-1
6.8.0+dfsg-1
ubuntu/tcpdf*
ubuntu/tcpdf*
ubuntu/tcpdf*
ubuntu/tcpdf*
ubuntu/tcpdf*
ubuntu/tcpdf*
debian/tcpdf<=6.6.2+dfsg1-1+deb12u1
6.8.0+dfsg-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/tecnickcom/tcpdf to a version that resolves this vulnerability.

    Fixed in 6.8.0
  2. Upgrade

    Upgrade debian/tcpdf to a version that resolves this vulnerability.

    Fixed in 6.8.0+dfsg-1

Event History

Dec 27, 2024
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Data Sourced
via OSV·05:15 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·05:15 AM
DescriptionWeakness
Advisory Published
via GitHub·06:30 AM
Data Sourced
via GitHub·06:30 AM
DescriptionWeaknessAffected Software
Data Sourced
via Packagist·06:30 AM
DescriptionSeverityAffected Software
Advisory Published
via GitHub·07:54 PM
Dec 31, 2024
Data Sourced
via NVD·07:15 PM
Severity
Apr 21, 2025
Data Sourced
via NVD·03:25 PM
RemedyAffected Software
Updated
via NVD·03:25 PM
Weakness
Jun 17, 2026
Updated
via NVD·08:12 AM
Weakness
Dec 4, 2026
Updated
via OSV·04:45 AM
Affected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-56521?

CVE-2024-56521 does not have a publicly assigned CVSS score but is considered a serious security vulnerability in TCPDF.

2

How do I fix CVE-2024-56521?

To fix CVE-2024-56521, you should upgrade TCPDF to version 6.8.0 or later.

3

What are the potential risks of CVE-2024-56521?

The risks of CVE-2024-56521 include insecure SSL verification, which may expose applications to man-in-the-middle attacks.

4

Which versions of TCPDF are affected by CVE-2024-56521?

CVE-2024-56521 affects all versions of TCPDF prior to 6.8.0.

5

Is libcurl needed to be affected by CVE-2024-56521?

Yes, the use of libcurl with TCPDF and improper configuration of SSL verification is necessary for CVE-2024-56521 to be exploitable.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203