UBUNTU-CVE-2025-67746 (CVE-2025-67746)
Vulnerability from osv_ubuntu – Published: 2025-12-30 16:15 – Updated: 2026-05-20 15:22 – Source websiteComposer is a dependency manager for PHP. In versions on the 2.x branch prior to 2.2.26 and 2.9.3, attackers controlling remote sources that Composer downloads from might in some way inject ANSI control characters in the terminal output of various Composer commands, causing mangled output and potentially leading to confusion or DoS of the terminal application. There is no proven exploit and this has thus a low severity but we still publish a CVE as it has potential for abuse, and we want to be on the safe side informing users that they should upgrade. Versions 2.2.26 and 2.9.3 contain a patch for the issue.
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "composer",
"binary_version": "1.0.0~beta2-1ubuntu0.1~esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "composer",
"purl": "pkg:deb/ubuntu/composer@1.0.0~beta2-1ubuntu0.1~esm2?arch=source\u0026distro=esm-apps/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.0.0~alpha10+20150602-1",
"1.0.0~alpha10+20150602-2",
"1.0.0~alpha11-1",
"1.0.0~alpha11-1ubuntu1",
"1.0.0~alpha11-2",
"1.0.0~alpha11-3",
"1.0.0~beta1-1ubuntu1",
"1.0.0~beta2-1",
"1.0.0~beta2-1ubuntu0.1~esm1",
"1.0.0~beta2-1ubuntu0.1~esm2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "composer",
"binary_version": "1.6.3-1ubuntu0.1~esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "composer",
"purl": "pkg:deb/ubuntu/composer@1.6.3-1ubuntu0.1~esm2?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.5.1-1",
"1.5.2-1",
"1.6.2-1",
"1.6.3-1",
"1.6.3-1ubuntu0.1~esm1",
"1.6.3-1ubuntu0.1~esm2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "composer",
"binary_version": "1.10.1-1ubuntu0.1~esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "composer",
"purl": "pkg:deb/ubuntu/composer@1.10.1-1ubuntu0.1~esm2?arch=source\u0026distro=esm-apps/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.9.0-2",
"1.9.1-1",
"1.9.2-1",
"1.9.3-1",
"1.10.0-1",
"1.10.1-1",
"1.10.1-1ubuntu0.1~esm1",
"1.10.1-1ubuntu0.1~esm2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "composer",
"binary_version": "2.2.6-2ubuntu4+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:22.04:LTS",
"name": "composer",
"purl": "pkg:deb/ubuntu/composer@2.2.6-2ubuntu4+esm1?arch=source\u0026distro=esm-apps/jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.0.9-2ubuntu2",
"2.0.9-2ubuntu3",
"2.0.13-1ubuntu1",
"2.1.12-1ubuntu1",
"2.2.6-2ubuntu4",
"2.2.6-2ubuntu4+esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "composer",
"binary_version": "2.7.1-2ubuntu0.1~esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:24.04:LTS",
"name": "composer",
"purl": "pkg:deb/ubuntu/composer@2.7.1-2ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.5.8-1",
"2.6.5-1",
"2.6.6-1",
"2.7.1-2",
"2.7.1-2ubuntu0.1~esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "composer",
"binary_version": "2.8.8-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "composer",
"purl": "pkg:deb/ubuntu/composer@2.8.8-1?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.8.6-1",
"2.8.8-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "composer",
"binary_version": "2.9.5-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "composer",
"purl": "pkg:deb/ubuntu/composer@2.9.5-1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.8.8-1",
"2.9.5-1"
]
}
],
"aliases": [],
"details": "Composer is a dependency manager for PHP. In versions on the 2.x branch prior to 2.2.26 and 2.9.3, attackers controlling remote sources that Composer downloads from might in some way inject ANSI control characters in the terminal output of various Composer commands, causing mangled output and potentially leading to confusion or DoS of the terminal application. There is no proven exploit and this has thus a low severity but we still publish a CVE as it has potential for abuse, and we want to be on the safe side informing users that they should upgrade. Versions 2.2.26 and 2.9.3 contain a patch for the issue.",
"id": "UBUNTU-CVE-2025-67746",
"modified": "2026-05-20T15:22:59Z",
"published": "2025-12-30T16:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2025-67746"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2025-67746"
},
{
"type": "REPORT",
"url": "https://github.com/composer/composer/security/advisories/GHSA-59pp-r3rg-353g"
},
{
"type": "REPORT",
"url": "https://github.com/composer/composer/commit/1d40a95c9d39a6b7f80d404ab30336c586da9917"
},
{
"type": "REPORT",
"url": "https://github.com/composer/composer/commit/5db1876a76fdef76d3c4f8a27995c434c7a43e71"
},
{
"type": "REPORT",
"url": "https://github.com/composer/composer/releases/tag/2.2.26"
},
{
"type": "REPORT",
"url": "https://github.com/composer/composer/releases/tag/2.9.3"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U",
"type": "CVSS_V4"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2025-67746"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.