---
id: CVE-1999-1142
title: >-
  SunOS 4.1.2 and earlier allows local users to gain privileges via "LD_*"
  environmental variables to certain dynamically linked setuid or setgid
  programs such as (1) login, (2) su, or (3) sendmail, that change the real and
  effective user …
summary: >-
  SunOS 4.1.2 and earlier allows local users to gain privileges via "LD_*"
  environmental variables to certain dynamically linked setuid or setgid
  programs such as (1) login, (2) su, or (3) sendmail, that change the real and
  effective user …
severity: high
cvss: 7.2
cvssVector: 'AV:L/AC:L/Au:N/C:C/I:C/A:C'
published: '1992-05-27'
updated: '2026-06-16'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-1999-1142'
references:
  - url: 'http://sunsolve.sun.com/pub-cgi/retrieve.pl?doctype=coll&doc=secbull/116'
    label: cve@mitre.org
  - url: 'http://www.cert.org/advisories/CA-1992-11.html'
    label: cve@mitre.org
  - url: 'https://exchange.xforce.ibmcloud.com/vulnerabilities/3152'
    label: cve@mitre.org
  - url: 'http://sunsolve.sun.com/pub-cgi/retrieve.pl?doctype=coll&doc=secbull/116'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.cert.org/advisories/CA-1992-11.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://exchange.xforce.ibmcloud.com/vulnerabilities/3152'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.00386
epssPercentile: 0.29873
ingestedAt: '2026-06-19T03:39:00.700Z'
---

## Overview

SunOS 4.1.2 and earlier allows local users to gain privileges via "LD_*" environmental variables to certain dynamically linked setuid or setgid programs such as (1) login, (2) su, or (3) sendmail, that change the real and effective user ids to the same user.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
