Vulnerability in FreeBSD
CVE-2010-1938
Off-by-one error in the __opiereadrec function in readrec.c in libopie in OPIE 2.4.1-test1 and earlier, as used on FreeBSD 6.4 through 8.1-PRERELEASE and other platforms, allows remote attackers to cause a denial of service (daemon crash) or possibly execute arbitrary code via a long username, as demonstrated by a long USER command to the FreeBSD 8.0 ftpd.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 9.3 (High). Vector: AV:N/AC:M/Au:N/C:C/I:C/A:C. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.221, 97.7th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- Nexxus67/cve-2010-1938 (5 stars, last pushed 2026-02-21): A simple Python script to test an off-by-one vulnerability in the OPIE library (CVE-2010-1938). This vulnerability affects certain FTP servers and may allow for Denial of Service (DoS) or arbitrary c…
Also mentioned in 2 other repositories (CVEDB/awesome-cve-repo, vasanth-tamil/ctf-writeups). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- blog.pi3.com.pl/
- securityreason.com/securityalert/7450 (third-party-advisory)
- www.securityfocus.com/bid/40403 (vdb-entry)
- site.pi3.com.pl/adv/libopie-adv.txt
- securitytracker.com/id (vdb-entry)
- DSA-2281 (vendor-advisory)
- FreeBSD-SA-10:05 (vendor-advisory, Vendor Advisory)
- secunia.com/advisories/39966 (Vendor Advisory, third-party-advisory)
- www.exploit-db.com/exploits/12762 (exploit)
- 20100527 libopie __readrec() off-by one (FreeBSD ftpd remote PoC) (third-party-advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.