Improper Encoding or Escaping of Output Affecting composer/composer package, versions >=2.0.0, <2.2.26>=2.3.0, <2.9.3


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.03% (9th 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 Improper Encoding or Escaping of Output vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-COMPOSERCOMPOSER-14742497
  • published1 Jan 2026
  • disclosed30 Dec 2025
  • creditChris Smith

Introduced: 30 Dec 2025

CVE-2025-67746  (opens in a new tab)
CWE-116  (opens in a new tab)

How to fix?

Upgrade composer/composer to version 2.2.26, 2.9.3 or higher.

Overview

composer/composer is a Dependency Manager for PHP. Composer helps you declare, manage and install dependencies of PHP projects. It ensures you have the right stack everywhere.

Affected versions of this package are vulnerable to Improper Encoding or Escaping of Output for certain ConsoleIO commands. An attacker in control of a remote source that the victim uses can inject ANSI control characters to mangle or confuse output.

CVSS Base Scores

version 4.0
version 3.1