Elm Local TERM Environment Variable Buffer Overrun Vulnerability

BID:8030

Info

Elm Local TERM Environment Variable Buffer Overrun Vulnerability

Bugtraq ID: 8030
Class: Boundary Condition Error
CVE:
Remote: No
Local: Yes
Published: May 13 1997 12:00AM
Updated: May 13 1997 12:00AM
Credit: The discovery of this vulnerability has been credited to Wojciech Swieboda <[email protected]>.
Vulnerable: Elm Development Group ELM 2.4
- Redhat Linux 5.2 sparc
- Redhat Linux 5.2 i386
- Redhat Linux 5.2 alpha
- Redhat Linux 5.2
+ Slackware Linux 4.0
+ Slackware Linux 3.6
Elm Development Group ELM 2.3
Not Vulnerable:

Discussion

Elm Local TERM Environment Variable Buffer Overrun Vulnerability

A buffer overrun has been discovered in Elm. The problem occurs due to insufficient bounds checking performed before copying user-supplied data into an internal memory buffer. Specifically, a TERM environment variable containing excessive data would cause a buffer within Elm to be overrun.

As Elm is installed setgid on some systems, the exploitation of this vulnerability could potentially allow for the elevation of local privileges.

Exploit / POC

Elm Local TERM Environment Variable Buffer Overrun Vulnerability

An exploit for this issue has been made available by [email protected]:

Solution / Fix

Elm Local TERM Environment Variable Buffer Overrun Vulnerability

Solution:
Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.

References

Elm Local TERM Environment Variable Buffer Overrun Vulnerability

References:

© 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