{"answers":{"affected":"5 open source packages ship an affected version, including composer/composer and composer. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-67746 in the wild and no public exploit code.","fix":"Upgrade composer/composer to a fixed version for your release line: 2.2.26 or 2.9.3.","what":"CVE-2025-67746 is a low-severity vulnerability in composer, published on 30 Dec 2025. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-67746 and fix it if it is affected.\n\nWhat it is: CVE-2025-67746 is a low-severity vulnerability in composer, published on 30 Dec 2025. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-67746 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- composer/composer (Packagist): affected from 2.0.0; fixed in 2.2.26\n- composer/composer (Packagist): affected from 2.0.0; fixed in 2.2.26\n- composer/composer (Packagist): affected from 2.3.0; fixed in 2.9.3\n- composer/composer (Packagist): affected from 2.3.0; fixed in 2.9.3\n- composer (Bitnami): affected from 2.0.0; fixed in 2.2.26, 2.9.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-67746/ (Markdown: https://insights.sbomify.com/CVE-2025-67746/index.md)","id":"CVE-2025-67746","markdown":"https://insights.sbomify.com/CVE-2025-67746/index.md","name":"CVE-2025-67746","record":{"aliases":["BIT-composer-2025-67746","DEBIAN-CVE-2025-67746","GHSA-59pp-r3rg-353g","MINI-9q6x-466p-7x6x","MINI-gj2r-342r-cpvq","SUSE-SU-2026:0825-1","UBUNTU-CVE-2025-67746","openSUSE-SU-2026:10054-1"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"PHP dependency manager","requires_auth":"low_privilege","summary":"Attackers can inject ANSI control characters into Composer terminal output, causing display corruption or denial of service.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"composer","vendor":"getcomposer"}],"cvss":{"score":1.3,"severity":"low","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"description":"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.","ecosystems":["Bitnami","Packagist","SUSE:Linux Enterprise Module for Web and Scripting 15 SP7","openSUSE:Leap 15.6","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Composer vulnerable to ANSI sequence injection","id":"CVE-2025-67746","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"other","year":"2025"},"n_packages":8,"n_references":5,"next":{"headline":"Fickling has missing detection for marshal.loads and types.FunctionType in unsafe modules list","id":"CVE-2025-67747"},"packages":[{"ecosystem":"Bitnami","fixed":["2.2.26","2.9.3"],"introduced":["2.0.0","2.3.0"],"last_affected":[],"package":"composer","purl":"pkg:bitnami/composer","source":"BIT-composer-2025-67746"},{"ecosystem":"Packagist","fixed":["2.2.26"],"introduced":["2.0.0"],"last_affected":[],"package":"composer/composer","purl":null,"source":"GHSA-59pp-r3rg-353g"},{"ecosystem":"Packagist","fixed":["2.2.26"],"introduced":["2.0.0"],"last_affected":[],"package":"composer/composer","purl":"pkg:composer/composer/composer","source":"GHSA-59pp-r3rg-353g"},{"ecosystem":"Packagist","fixed":["2.9.3"],"introduced":["2.3.0"],"last_affected":[],"package":"composer/composer","purl":null,"source":"GHSA-59pp-r3rg-353g"},{"ecosystem":"Packagist","fixed":["2.9.3"],"introduced":["2.3.0"],"last_affected":[],"package":"composer/composer","purl":"pkg:composer/composer/composer","source":"GHSA-59pp-r3rg-353g"},{"ecosystem":"SUSE:Linux Enterprise Module for Web and Scripting 15 SP7","fixed":["2.6.4-150600.3.6.1"],"introduced":["0"],"last_affected":[],"package":"php-composer2","purl":"pkg:rpm/suse/php-composer2\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Web%20and%20Scripting%2015%20SP7","source":"SUSE-SU-2026:0825-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["2.6.4-150600.3.6.1"],"introduced":["0"],"last_affected":[],"package":"php-composer2","purl":"pkg:rpm/opensuse/php-composer2\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2026:0825-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["2.9.3-1.1"],"introduced":["0"],"last_affected":[],"package":"php-composer2","purl":"pkg:rpm/opensuse/php-composer2\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:10054-1"}],"prev":{"headline":"Myhoard logs backup encryption key in plain text","id":"CVE-2025-67745"},"products":["composer"],"published":"2025-12-30","related":[{"cvss_score":8.8,"headline":"Composer has Command Injection via Malicious Perforce Reference","id":"CVE-2026-40261","kev_date_added":null,"published":"2026-04-15"},{"cvss_score":8.8,"headline":"Code execution and possible privilege escalation via compromised InstalledVersions.php or installed.php in Composer","id":"CVE-2024-24821","kev_date_added":null,"published":"2024-02-08"},{"cvss_score":8.8,"headline":"Composer allows cache poisoning from other projects built on the same host","id":"CVE-2015-8371","kev_date_added":null,"published":"2023-09-21"},{"cvss_score":8.2,"headline":"Command injection in composer on Windows","id":"CVE-2021-41116","kev_date_added":null,"published":"2021-10-05"},{"cvss_score":7.8,"headline":"Composer is vulnerable to Command Injection via Malicious Perforce Repository","id":"CVE-2026-40176","kev_date_added":null,"published":"2026-04-15"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-12-30","vendors":["composer"]},"summary":"Attackers can inject ANSI control characters into Composer terminal output, causing display corruption or denial of service.","url":"https://insights.sbomify.com/CVE-2025-67746/"}