{"answers":{"affected":"2 open source packages ship an affected version, including basic-ftp.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-44240 exists.","fix":"Upgrade basic-ftp to 5.3.1 or later.","what":"CVE-2026-44240 is a high-severity denial of service vulnerability in patrickjuchli basic-ftp, published on 12 May 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-44240 and fix it if it is affected.\n\nWhat it is: CVE-2026-44240 is a high-severity denial of service vulnerability in patrickjuchli basic-ftp, published on 12 May 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-44240 exists.\n\nAffected packages and fixed versions:\n- basic-ftp (npm): affected all versions; fixed in 5.3.1\n- basic-ftp (npm): affected all versions; fixed in 5.3.1\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-44240/ (Markdown: https://insights.sbomify.com/CVE-2026-44240/index.md)","id":"CVE-2026-44240","markdown":"https://insights.sbomify.com/CVE-2026-44240/index.md","name":"CVE-2026-44240","record":{"aliases":["CLEANSTART-2026-DY27694","CLEANSTART-2026-NF21884","CLSA-2026-1780879904","DEBIAN-CVE-2026-44240","ECHO-88de-b7ea-e064","GHSA-rpmf-866q-6p89","MINI-5738-cp3p-mpcc","MINI-59mg-5x93-xvjr","MINI-827c-98m4-6xqh","MINI-8whg-w956-xcwf","MINI-cv63-9hrr-jhpw","MINI-f2gj-49jr-9754","MINI-f558-w933-8vhr","MINI-f75h-r6x5-8vr6","MINI-f78v-769v-6fp7","MINI-g945-v33g-4gv9","MINI-h4c9-j62q-6756","MINI-h547-jmcw-qcw8","MINI-h9x2-83hv-vffj","MINI-jqqp-chr5-77vj","MINI-m4wc-rhf3-qj73","MINI-m532-98xg-pvmh","MINI-m77h-rxrm-8cx2","MINI-qrcf-prch-6x58","MINI-r3pw-c9qm-g4vp","MINI-w596-3hm4-5g3r","MINI-w9g7-mw9w-47jp","MINI-wxm6-694w-6xwg","MINI-x2mm-gwc5-6h9p","MINI-x697-gh93-p8cj","ROOT-APP-NPM-CVE-2026-44240","UBUNTU-CVE-2026-44240"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Node.js FTP client","requires_auth":"none","summary":"A malicious FTP server can cause client-side denial of service in basic-ftp by sending unbounded multiline responses, leading to resource exhaustion.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"},{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"description":"basic-ftp is an FTP client for Node.js. Prior to 5.3.1, basic-ftp is vulnerable to client-side denial of service when parsing FTP control-channel multiline responses. A malicious or compromised FTP server can send an unterminated multiline response during the initial FTP banner phase, before authentication. The client keeps appending attacker-controlled data into FtpContext._partialResponse and repeatedly reparses the accumulated buffer without enforcing a maximum control response size. As a result, an application using basic-ftp can remain stuck in connect() while memory and CPU usage grow under attacker-controlled input. This can lead to process-level denial of service, container OOM kills, worker restarts, queue backlog, or service degradation in applications that automatically connect to FTP endpoints. This vulnerability is fixed in 5.3.1.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"basic-ftp allows a malicious FTP server to cause client-side denial of service via unbounded multiline control response buffering","id":"CVE-2026-44240","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":2,"n_references":1,"next":{"headline":"Micronaut has unbounded `formattersCache` in `TimeConverterRegistrar` that Allows Memory Exhaustion via `Accept-Language` Header","id":"CVE-2026-44241"},"packages":[{"ecosystem":"npm","fixed":["5.3.1"],"introduced":["0"],"last_affected":[],"package":"basic-ftp","purl":null,"source":"GHSA-rpmf-866q-6p89"},{"ecosystem":"npm","fixed":["5.3.1"],"introduced":["0"],"last_affected":[],"package":"basic-ftp","purl":"pkg:npm/basic-ftp","source":"GHSA-rpmf-866q-6p89"}],"prev":{"headline":"FreePBX: Authenticated Local File Inclusion in Dashboard Module","id":"CVE-2026-44239"},"products":["basic-ftp"],"published":"2026-05-12","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-05-14","vendors":["patrickjuchli"]},"summary":"A malicious FTP server can cause client-side denial of service in basic-ftp by sending unbounded multiline responses, leading to resource exhaustion.","url":"https://insights.sbomify.com/CVE-2026-44240/"}