Arbitrary Code Injection Affecting tecnickcom/tc-lib-pdf-font package, versions <2.6.4


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-TECNICKCOMTCLIBPDFFONT-8551204
  • published27 Dec 2024
  • disclosed27 Dec 2024
  • creditUnknown

Introduced: 27 Dec 2024

NewCVE-2024-56520  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade tecnickcom/tc-lib-pdf-font to version 2.6.4 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Injection due to an improper parsing of the TypeOne FontBBox. This is due to improper sanitization of the bbox values, which could lead to inconsistencies in font metrics or unexpected behavior.

CVSS Scores

version 4.0
version 3.1