CVE-2024-56527: TCPDF missing character escape on error messages

Published Dec 27, 2024
·
Updated

An issue was discovered in TCPDF before 6.8.0. The Error function lacks an htmlspecialchars call for the error message.

Other sources

TCPDF missing character escape on error messages

— Packagist

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<6.6.2+dfsg1-1+deb12u1
6.6.2+dfsg1-1+deb12u1
debian/tcpdf<6.8.0+dfsg-1
6.8.0+dfsg-1
debian/tcpdf<6.8.0+dfsg-1
6.8.0+dfsg-1
debian/tcpdf
6.3.5+dfsg1-1+deb11u16.6.2+dfsg1-1+deb12u16.8.0+dfsg-1
ubuntu/tcpdf*
ubuntu/tcpdf*
ubuntu/tcpdf*
ubuntu/tcpdf*
ubuntu/tcpdf*
ubuntu/tcpdf*

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.6.2+dfsg1-1+deb12u1
  3. Upgrade

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

    Fixed in 6.8.0+dfsg-1
  4. Upgrade

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

    Fixed in 6.3.5+dfsg1-1+deb11u1Fixed in 6.6.2+dfsg1-1+deb12u1Fixed 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
Description
Data Sourced
via OSV·06:15 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·06:15 AM
Description
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
Data Sourced
via NVD·03:15 PM
Weakness
Advisory Published
via GitHub·09:07 PM
Dec 28, 2024
Data Sourced
via MITRE·06:34 PM
Weakness
Data Sourced
via NVD·07:15 PM
Severity
Apr 17, 2025
Data Sourced
via NVD·02:17 AM
RemedyAffected Software
Updated
via NVD·02:17 AM
Weakness
Nov 3, 2025
Updated
via NVD·08:16 PM
Affected Software
Jun 17, 2026
Updated
via NVD·08:12 AM
SeverityWeakness
Dec 4, 2026
Updated
via OSV·04:45 AM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2024-56527?

CVE-2024-56527 has not been assigned a specific severity rating, but it is important to address as it pertains to error message handling.

2

How do I fix CVE-2024-56527?

To fix CVE-2024-56527, upgrade your TCPDF library to version 6.8.0 or later.

3

What error handling issue is associated with CVE-2024-56527?

CVE-2024-56527 is linked to a lack of htmlspecialchars call for error messages in TCPDF.

4

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

CVE-2024-56527 affects TCPDF versions prior to 6.8.0.

5

Is it necessary to update TCPDF for CVE-2024-56527?

Yes, it is recommended to update to TCPDF version 6.8.0 or later to mitigate CVE-2024-56527.

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