GitHub Advisoryadvisory · Packagist

GHSA-w95c-7994-ghpr TCPDF has incorrect comparison

HIGH Published 2024-12-27 Modified 2025-11-03 Official page ↗
Aliases
CVE-2024-56522
Ecosystem
Packagist
Packages
tecnickcom/tcpdf
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-697, CWE-843
Reviewed
2024-12-27

Affected packages

• Packagist tecnickcom/tcpdf: < 6.8.0 → fixed in 6.8.0

Description

An issue was discovered in TCPDF before 6.8.0. unserializeTCPDFtag uses != (aka loose comparison) and does not use a constant-time function to compare TCPDF tag hashes.

Related

Alias · CVE (1)

  • CVE-2024-56522 An issue was discovered in TCPDF before 6.8.0. vulnerability

Weakness · CWE (2)

  • CWE-697 Incorrect Comparison weakness
  • CWE-843 Access of Resource Using Incompatible Type weakness

References