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

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.76%, higher than 56% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-12-27T00:00:00.000Z
- Modified: 2026-06-17T08:12:18.587Z
- Also known as: GHSA-qx95-cwh6-9mvq
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: mitre

## Description

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

(As written by CVE List.)

## Affected

- tecnick tcpdf: before 6.8.0
- tecnickcom/tcpdf (Packagist): before 6.8.0
- tcpdf_project tcpdf: before 6.8.0

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`

## References

- <https://andrea0.medium.com/analysis-of-cve-2024-56527-dbdab6962add> (exploit, third-party-advisory, web)
- <https://tcpdf.org> (product, web)
- <https://github.com/tecnickcom/TCPDF/compare/6.7.8...6.8.0> (issue-tracking, web)
- <https://github.com/tecnickcom/TCPDF/commit/11778aaa2d9e30a9ae1c1ee97ff349344f0ad6e1> (patch, web)
- <https://lists.debian.org/debian-lts-announce/2025/06/msg00004.html> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-56527> (advisory)
- <https://github.com/tecnickcom/TCPDF> (package)

## Sources

- CVE List: [CVE-2024-56527](https://www.cve.org/CVERecord?id=CVE-2024-56527), CVE Terms of Use, modified 2025-11-03
- GitHub Advisory Database: [GHSA-qx95-cwh6-9mvq](https://github.com/advisories/GHSA-qx95-cwh6-9mvq), CC-BY-4.0, modified 2025-11-04
- NVD: [CVE-2024-56527](https://nvd.nist.gov/vuln/detail/CVE-2024-56527), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-56527 · Whole record: https://cve.day/CVE-2024-56527.json · Rebuilt by cve.day 2026-11-25T22:58:50.389Z
