---
title: "CVE-2010-1938\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2010-1938?format=md
keywords: index, follow
---

# CVE-2010-1938

Publication date 28 May 2010

Last updated 24 July 2024

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

## Description

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.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2010-1938?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| opie | 10.04 LTS lucid | Fixed 2.40~dfsg-0ubuntu1.10.04.1 |
| 9.10 karmic | Fixed 2.40~dfsg-0ubuntu1.9.10.1 |
| 9.04 jaunty | Fixed 2.40~dfsg-0ubuntu1.9.04.1 |
| 8.04 LTS hardy | Not affected |
| 6.06 LTS dapper | Not affected |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2010-1938?format=md#patch-details)

## Notes

---

### [mdeslaur](https://launchpad.net/~mdeslaur)

in dapper and hardy, the off-by-one overflows into \*c, which
isn't used after in the function, so it's harmless.
on jaunty+, fortify source makes opie abort, so it is a
denial of service.

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| opie | * Vendor:   <http://security.freebsd.org/patches/SA-10:05/opie.patch> |

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-1938)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2010-1938)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2010-1938)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2010-1938)

### Related Ubuntu Security Notices (USN)

+ [USN-955-1](https://usn.ubuntu.com/USN-955-1)
+ OPIE vulnerability
+ 21 June 2010

+ [USN-955-2](https://usn.ubuntu.com/USN-955-2)
+ libpam-opie vulnerability
+ 21 June 2010

### Other references

* <http://security.freebsd.org/advisories/FreeBSD-SA-10:05.opie.asc>
* <http://securityreason.com/achievement_securityalert/87>
* <https://www.cve.org/CVERecord?id=CVE-2010-1938>
