rsync — security advisory
Buffer overflow in the open_socket_out function in socket.c for rsync 2.5.7 and earlier allows local users to cause a denial of service (crash) and possibly execute arbitrary code via a long RSYNC_PROXY environment variable. NOTE: since rsync is not setuid, this issue does not provide any additional privileges beyond those that are already available to the user. Therefore this issue may be REJECTED in the future.
- Products
- rsync
- Affected versions
- Not specified
- Fixed versions
- 2.6.1-1
- CVEs
- CVE-2004-2093
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 14:25 UTC · Revision 1
Source evidence
Buffer overflow in the open_socket_out function in socket.c for rsync 2.5.7 and earlier allows local users to cause a denial of service (crash) and possibly execute arbitrary code via a long RSYNC_PROXY environment variable. NOTE: since rsync is not setuid, this issue does not provide any additional privileges beyond those that are already available to the user. Therefore this issue may be REJECTED in the future.
osv:DEBIAN-CVE-2004-2093
rsync
Fixed versions: 2.6.1-1
rsync
Fixed versions: 2.6.1-1
rsync
Fixed versions: 2.6.1-1
Complete source record
{
"id": "17b0ed62e6fcf3fb681492863ffb2422e137b8f2706ee3082d059b6eb9cdff06",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2004-2093",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2004-2093",
"summary": "Buffer overflow in the open_socket_out function in socket.c for rsync 2.5.7 and earlier allows local users to cause a denial of service (crash) and possibly execute arbitrary code via a long RSYNC_PROXY environment variable. NOTE: since rsync is not setuid, this issue does not provide any additional privileges beyond those that are already available to the user. Therefore this issue may be REJECTED in the future.",
"evidence": "osv:DEBIAN-CVE-2004-2093",
"products": [
{
"name": {
"value": "rsync",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.6.1-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "rsync",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.6.1-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "rsync",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.6.1-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "DEBIAN-CVE-2004-2093",
"aliases": [
"DEBIAN-CVE-2004-2093"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.6.1-1"
}
]
}
],
"package": {
"name": "rsync",
"purl": "pkg:deb/debian/rsync?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2004-2093.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.6.1-1"
}
]
}
],
"package": {
"name": "rsync",
"purl": "pkg:deb/debian/rsync?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2004-2093.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.6.1-1"
}
]
}
],
"package": {
"name": "rsync",
"purl": "pkg:deb/debian/rsync?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2004-2093.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-21T15:47:32.549667008Z",
"provider": "osv",
"upstream": [
"CVE-2004-2093"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2004-2093"
]
},
"related_cves": [
{
"value": "CVE-2004-2093",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 393976,
"published_at": "2004-02-09T05:00:00+00:00"
}