← Vulnerability feed

Vulnerability record · CVE-2003-0201 · published 5 May 2003

CVE-2003-0201: Samba call_trans2open buffer overflow allows remote code execution

Samba · Samba

A buffer overflow exists in the call_trans2open function in trans2.c in Samba 2.2.x before 2.2.8a, Samba 2.0.10 and earlier 2.0.x, and Samba-TNG before 0.3.2. A remote attacker can trigger it over the network and execute arbitrary code. Because Samba is a core file and print sharing service, a compromised host can expose file data and provide a foothold for lateral movement.

10.0 CVSS 2.0 High EPSS 85% · top 0.3%
10.0CVSS 2.0 base score
85%EPSS exploitation probability, 30 days
NoNot in CISA KEV
8Affected product versions listed by NVD
30References, 2 tagged exploit
16 Jun 2026Last modified by NVD

Description

Buffer overflow in the call_trans2open function in trans2.c for Samba 2.2.x before 2.2.8a, 2.0.10 and earlier 2.0.x versions, and Samba-TNG before 0.3.2, allows remote attackers to execute arbitrary code.

AV:N/AC:L/Au:N/C:C/I:C/A:C

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

critical priorityUnauthenticated remote code execution with a CVSS 2.0 base score of 10 and very high EPSS, though the software is legacy and no KEV listing is present.

What it is

A buffer overflow exists in the call_trans2open function in trans2.c in Samba 2.2.x before 2.2.8a, Samba 2.0.10 and earlier 2.0.x, and Samba-TNG before 0.3.2. A remote attacker can trigger it over the network and execute arbitrary code. Because Samba is a core file and print sharing service, a compromised host can expose file data and provide a foothold for lateral movement.

Impact

An unauthenticated remote attacker can execute arbitrary code with the privileges of the Samba service, typically root, leading to full host compromise. This can result in data theft, service disruption, and use of the host as a pivot point.

Attack surface

The flaw is reachable over the network via SMB/CIFS requests handled by the Samba daemon; the CVSS vector AV:N/AC:L/Au:N indicates no authentication and no user interaction are required. Any host exposing the affected Samba service is a candidate target.

Exploitation

The record is not listed in CISA KEV, but EPSS is very high (0.845 probability, 99.7th percentile) and a SecurityFocus reference is tagged Exploit, indicating public exploit code exists. No ransomware group usage is documented.

What to do

  • Upgrade Samba to 2.2.8a or later, or Samba-TNG to 0.3.2 or later, per vendor advisories.
  • Apply the vendor patches referenced by Debian, Red Hat, Mandriva, Novell, SGI and others for affected distributions.
  • Restrict network access to SMB/CIFS ports (TCP 139 and 445) to trusted hosts only.
  • If patching is not immediately possible, disable or firewall the Samba service on affected systems.
  • Monitor vendor advisories for updated fixes for the listed platforms (Apple, Compaq, HP, Sun).

Detection

  • Inspect Samba logs for malformed or unusual trans2 open requests and repeated connection attempts.
  • Use network IDS signatures for the call_trans2open overflow against SMB traffic on ports 139 and 445.
  • Monitor for unexpected child processes or shell activity spawned by smbd.
  • Audit exposed SMB services and confirm version levels against the affected ranges.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

8 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
ftp://patches.sgi.com/support/free/security/advisories/20030403-01-P
http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000624
http://marc.info/?l=bugtraq&m=104972664226781&w=2
http://marc.info/?l=bugtraq&m=104974612519064&w=2
http://marc.info/?l=bugtraq&m=104981682014565&w=2
http://marc.info/?l=bugtraq&m=104994564212488&w=2
http://www.debian.org/security/2003/dsa-280 PatchVendor Advisory
http://www.digitaldefense.net/labs/advisories/DDI-1013.txt
http://www.kb.cert.org/vuls/id/267873 US Government Resource
http://www.mandriva.com/security/advisories?name=MDKSA-2003:044
http://www.novell.com/linux/security/advisories/2003_025_samba.html
http://www.redhat.com/support/errata/RHSA-2003-137.html
http://www.securityfocus.com/bid/7294 ExploitPatchVendor Advisory
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A2163
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A567
ftp://patches.sgi.com/support/free/security/advisories/20030403-01-P
http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000624
http://marc.info/?l=bugtraq&m=104972664226781&w=2
http://marc.info/?l=bugtraq&m=104974612519064&w=2
http://marc.info/?l=bugtraq&m=104981682014565&w=2
http://marc.info/?l=bugtraq&m=104994564212488&w=2
http://www.debian.org/security/2003/dsa-280 PatchVendor Advisory
http://www.digitaldefense.net/labs/advisories/DDI-1013.txt
http://www.kb.cert.org/vuls/id/267873 US Government Resource
http://www.mandriva.com/security/advisories?name=MDKSA-2003:044
http://www.novell.com/linux/security/advisories/2003_025_samba.html
http://www.redhat.com/support/errata/RHSA-2003-137.html
http://www.securityfocus.com/bid/7294 ExploitPatchVendor Advisory
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A2163
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A567

Track CVE-2003-0201 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2021-1870Apple WebKit logic flaw allows remote code executionA logic issue in Apple's WebKit was addressed with improved restrictions, affecting macOS Big Sur, Catalina, Mojave, iOS and iPadOS, plus WebKitGTK a…KEVEPSS 7.7%analysed9.8CVE-2021-1871Apple WebKit logic flaw allows remote code executionA logic issue in Apple's WebKit was addressed with improved restrictions. It affects macOS Big Sur, Catalina, Mojave, iOS and iPadOS, and a remote at…KEVEPSS 7.0%analysed9.8CVE-2017-7494Samba writable share library upload leads to remote code executionSamba versions from 3.5.0 up to (but not including) 4.6.4, 4.5.10 and 4.4.14 allow a malicious client to upload a shared library to a writable share …KEVEPSS 99%analysed9.8CVE-2014-7169GNU Bash environment variable function parsing command injection (Shellshock variant)GNU Bash through 4.3 bash43-025 processes trailing strings after malformed function definitions in environment variable values, allowing command inje…KEVEPSS 100%analysed9.8CVE-2014-6271GNU Bash environment variable command injection (ShellShock)GNU Bash through 4.3 processes trailing strings after function definitions in environment variable values, allowing injected commands to run when Bas…KEVEPSS 100%analysed9.8CVE-2012-1823PHP-CGI query string option injection enables remote code executionPHP versions before 5.3.12 and 5.4.x before 5.4.2, when run as a CGI script (php-cgi), mishandle query strings that lack an equals sign, allowing com…KEVEPSS 100%analysed8.8CVE-2022-2294Google Chrome WebRTC heap buffer overflow via crafted HTML pageCVE-2022-2294 is a heap buffer overflow in the WebRTC component of Google Chrome prior to 103.0.5060.114. A remote attacker can trigger heap corrupti…KEVEPSS 70%analysed8.8CVE-2021-1789Apple WebKit type confusion allows code execution via crafted web contentA type confusion flaw in Apple's WebKit engine was fixed through improved state handling across macOS, iOS, iPadOS, tvOS, watchOS and Safari. Process…KEVEPSS 14%analysed

Source: NIST National Vulnerability Database (record CVE-2003-0201), CISA KEV, FIRST EPSS (scores of 2026-09-28). This page is refreshed as NVD updates the record.