{"answers":{"affected":"2 open source packages ship an affected version, including phalcon/cphalcon.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-57584 exists.","fix":"Upgrade phalcon/cphalcon to 5.15.0 or later.","what":"CVE-2026-57584 is a high-severity denial of service vulnerability in cphalcon, published on 10 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-57584 and fix it if it is affected.\n\nWhat it is: CVE-2026-57584 is a high-severity denial of service vulnerability in cphalcon, published on 10 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-57584 exists.\n\nAffected packages and fixed versions:\n- phalcon/cphalcon (Packagist): affected all versions; fixed in 5.15.0\n- phalcon/cphalcon (Packagist): affected all versions; fixed in 5.15.0\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-2026-57584/ (Markdown: https://insights.sbomify.com/CVE-2026-57584/index.md)","id":"CVE-2026-57584","markdown":"https://insights.sbomify.com/CVE-2026-57584/index.md","name":"CVE-2026-57584","record":{"aliases":["GHSA-x7rj-f32v-7jjg"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"PHP web framework","requires_auth":"none","summary":"An attacker can cause remote denial of service via CPU exhaustion by sending crafted requests to Phalcon MVC applications using the default router.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"description":"Phalcon is a high-performance, full-stack PHP framework. Prior to 5.15.0, every Phalcon MVC application built with a default router registers a built-in route whose compiled PCRE pattern contains the nested quantifier (/.), and the same construct is produced by the /:params placeholder and the CLI router. Phalcon\\Mvc\\Router::handle() matches this pattern against the attacker-controlled request URI on every request, so a crafted path such as one containing repeated slashes followed by decoded newlines can trigger catastrophic backtracking and cause CPU exhaustion or route-matching failure. This issue is fixed in version 5.15.0.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Phalcon: Catastrophic backtracking (ReDoS) in the default Phalcon Router route lead to remote unauthenticated DoS","id":"CVE-2026-57584","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":2,"n_references":4,"next":{"headline":"MessagePack: Out-of-bounds read/crash on Unpacker reuse after caught error","id":"CVE-2026-57585"},"packages":[{"ecosystem":"Packagist","fixed":["5.15.0"],"introduced":["0"],"last_affected":[],"package":"phalcon/cphalcon","purl":null,"source":"GHSA-x7rj-f32v-7jjg"},{"ecosystem":"Packagist","fixed":["5.15.0"],"introduced":["0"],"last_affected":[],"package":"phalcon/cphalcon","purl":"pkg:composer/phalcon/cphalcon","source":"GHSA-x7rj-f32v-7jjg"}],"prev":{"headline":"OpenZeppelin Contracts Wizard: Line terminators in info.securityContact / info.license can inject lines into generated source","id":"CVE-2026-57583"},"products":["cphalcon"],"published":"2026-07-10","related":[],"sources":[{"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-13","vendors":["phalcon"]},"summary":"An attacker can cause remote denial of service via CPU exhaustion by sending crafted requests to Phalcon MVC applications using the default router.","url":"https://insights.sbomify.com/CVE-2026-57584/"}