ubuntu-cve-2026-44240
Vulnerability from osv_ubuntu
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.
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-agent-base",
"binary_version": "7.1.0~0~2023071921-5"
},
{
"binary_name": "node-args",
"binary_version": "5.0.3~0~2023071921-5"
},
{
"binary_name": "node-basic-ftp",
"binary_version": "5.0.3~0~2023071921-5"
},
{
"binary_name": "node-data-uri-to-buffer",
"binary_version": "5.0.1~0~2023071921-5"
},
{
"binary_name": "node-degenerator",
"binary_version": "5.0.1~0~2023071921-5"
},
{
"binary_name": "node-get-uri",
"binary_version": "6.0.1~0~2023071921-5"
},
{
"binary_name": "node-http-proxy-agent",
"binary_version": "7.0.0~0~2023071921-5"
},
{
"binary_name": "node-https-proxy-agent",
"binary_version": "7.0.1~0~2023071921-5"
},
{
"binary_name": "node-pac-proxy-agent",
"binary_version": "7.0.0~0~2023071921-5"
},
{
"binary_name": "node-pac-resolver",
"binary_version": "7.0.0~0~2023071921-5"
},
{
"binary_name": "node-proxy",
"binary_version": "2.1.1~0~2023071921-5"
},
{
"binary_name": "node-proxy-agent",
"binary_version": "6.3.0~0~2023071921-5"
},
{
"binary_name": "node-socks-proxy-agent",
"binary_version": "8.0.1~0~2023071921-5"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "node-proxy-agents",
"purl": "pkg:deb/ubuntu/node-proxy-agents@0~2023071921-5?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0~2023071921-5"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-agent-base",
"binary_version": "7.1.4~0~2025070717-2"
},
{
"binary_name": "node-args",
"binary_version": "5.0.3~0~2025070717-2"
},
{
"binary_name": "node-basic-ftp",
"binary_version": "5.0.5~0~2025070717-2"
},
{
"binary_name": "node-data-uri-to-buffer",
"binary_version": "6.0.2~0~2025070717-2"
},
{
"binary_name": "node-degenerator",
"binary_version": "5.0.1~0~2025070717-2"
},
{
"binary_name": "node-get-uri",
"binary_version": "6.0.5~0~2025070717-2"
},
{
"binary_name": "node-http-proxy-agent",
"binary_version": "7.0.2~0~2025070717-2"
},
{
"binary_name": "node-https-proxy-agent",
"binary_version": "7.0.6~0~2025070717-2"
},
{
"binary_name": "node-pac-proxy-agent",
"binary_version": "7.2.0~0~2025070717-2"
},
{
"binary_name": "node-pac-resolver",
"binary_version": "7.0.1~0~2025070717-2"
},
{
"binary_name": "node-proxy",
"binary_version": "2.2.0~0~2025070717-2"
},
{
"binary_name": "node-proxy-agent",
"binary_version": "6.5.0~0~2025070717-2"
},
{
"binary_name": "node-socks-proxy-agent",
"binary_version": "8.0.5~0~2025070717-2"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "node-proxy-agents",
"purl": "pkg:deb/ubuntu/node-proxy-agents@0~2025070717-2?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0~2024040606-5",
"0~2024040606-6",
"0~2025070717-1",
"0~2025070717-2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-agent-base",
"binary_version": "7.1.4~0~2025070717+~cs15.2.7-1build1"
},
{
"binary_name": "node-args",
"binary_version": "5.0.3~0~2025070717+~cs15.2.7-1build1"
},
{
"binary_name": "node-basic-ftp",
"binary_version": "5.2.0~0~2025070717+~cs15.2.7-1build1"
},
{
"binary_name": "node-data-uri-to-buffer",
"binary_version": "6.0.2~0~2025070717+~cs15.2.7-1build1"
},
{
"binary_name": "node-degenerator",
"binary_version": "5.0.1~0~2025070717+~cs15.2.7-1build1"
},
{
"binary_name": "node-get-uri",
"binary_version": "6.0.5~0~2025070717+~cs15.2.7-1build1"
},
{
"binary_name": "node-http-proxy-agent",
"binary_version": "7.0.2~0~2025070717+~cs15.2.7-1build1"
},
{
"binary_name": "node-https-proxy-agent",
"binary_version": "7.0.6~0~2025070717+~cs15.2.7-1build1"
},
{
"binary_name": "node-pac-proxy-agent",
"binary_version": "7.2.0~0~2025070717+~cs15.2.7-1build1"
},
{
"binary_name": "node-pac-resolver",
"binary_version": "7.0.1~0~2025070717+~cs15.2.7-1build1"
},
{
"binary_name": "node-proxy",
"binary_version": "2.2.0~0~2025070717+~cs15.2.7-1build1"
},
{
"binary_name": "node-proxy-agent",
"binary_version": "6.5.0~0~2025070717+~cs15.2.7-1build1"
},
{
"binary_name": "node-socks-proxy-agent",
"binary_version": "8.0.5~0~2025070717+~cs15.2.7-1build1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "node-proxy-agents",
"purl": "pkg:deb/ubuntu/node-proxy-agents@0~2025070717+~cs15.2.7-1build1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0~2025070717-2",
"0~2025070717-6",
"0~2025070717+~cs15.2.7-1build1"
]
}
],
"aliases": [],
"details": "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.",
"id": "UBUNTU-CVE-2026-44240",
"modified": "2026-06-03T11:25:22Z",
"published": "2026-05-12T21:16:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-44240"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-44240"
},
{
"type": "REPORT",
"url": "https://github.com/patrickjuchli/basic-ftp/security/advisories/GHSA-rpmf-866q-6p89"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2026-44240"
]
}
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.