Pine "From:" Field Buffer Overflow Vulnerability

BID:1709

Info

Pine "From:" Field Buffer Overflow Vulnerability

Bugtraq ID: 1709
Class: Boundary Condition Error
CVE:
Remote: Yes
Local: Yes
Published: Sep 23 2000 12:00AM
Updated: Sep 23 2000 12:00AM
Credit: This vulnerability was reported to bugtraq by Arkane on September 23, 2000.
Vulnerable: University of Washington Pine 4.21
+ Redhat Linux 7.0 i386
+ Redhat Linux 7.0 alpha
+ Redhat Linux 6.2 sparc
+ Redhat Linux 6.2 i386
+ Redhat Linux 6.2 alpha
+ Slackware Linux 7.1
+ Slackware Linux 7.0
University of Washington Pine 4.10
+ Redhat Linux 6.1 sparc
+ Redhat Linux 6.1 i386
+ Redhat Linux 6.1 alpha
+ Redhat Linux 6.0 sparc
+ Redhat Linux 6.0 alpha
+ Redhat Linux 6.0
+ SuSE Linux 6.1 alpha
+ SuSE Linux 6.1
University of Washington Pine 4.0.4
+ Redhat Linux 5.2 sparc
+ Redhat Linux 5.2 i386
+ Redhat Linux 5.2 alpha
Not Vulnerable:

Discussion

Pine "From:" Field Buffer Overflow Vulnerability

A buffer overflow vulnerability exists in the popular mail client Pine 4.21 (and possibly earlier versions), relating to the function which regularly checks for incoming email. In standard e-mail message headers is a field that holds the name and address of the sender. It typically looks like and is presented in pine like this:

From: username <user@host>

Pine does not check the length of the username value when copying it into a memory buffer of predefined length. As a result, if a large "from" value is sent in the email header, it can corrupt "internal" memory when the offending function is called and the oversized buffer is copied onto the stack. An attacker can overwrite the return address of the function on the stack with a value that points back into the buffer, to which the function would return. Arbitrary machine instructions placed on the stack would then be executed.

The real concern here is that this requires no user interaction to exploit.. a target need only be using a vulnerable version of pine. The overflow occurs when the user recieves new email. While typically not yielding root privileges (unless root reads email with pine AS root) this can be used by a remote, anonymous attacker to gain local access to the target host.

Solution / Fix

Pine "From:" Field Buffer Overflow Vulnerability

Solution:
Several vendors have released new versions of the Pine package which address this vulnerability, including Slackware, FreeBSD, Mandrake and Red Hat.

For each vendor, the proper solution is to upgrade to the newer, fixed version.


University of Washington Pine 4.0.4

University of Washington Pine 4.10

University of Washington Pine 4.21
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report