Share your story
The central voice for Linux and Open Source security news
Home News Topics Advisories HOWTOs Features Newsletters About Register

Sign up!
EnGarde Community
What is the most important Linux security technology?
Linux Events
Linux User Groups
Link to Us
Security Center
Book Reviews
Security Dictionary
Security Tips
White Papers
Featured Blogs
All About Linux
DanWalsh LiveJournal
Latest Newsletters
Linux Advisory Watch: March 27th, 2015
Linux Security Week: March 23rd, 2015
LinuxSecurity Newsletters
Choose Lists:
About our Newsletters
RSS Feeds
Get the LinuxSecurity news you want faster with RSS
Powered By

RedHat: 'ncurses4' Buffer overflow vulnerability Print E-mail
User Rating:      How can I rate this item?
Posted by Team   
RedHat Linux A problem has been found in ncurses version 5.0 that could cause a bufferoverflow. This overflow could be locally exploited if the library islinked into a program that runs setuid or setgid.

                   Red Hat, Inc. Red Hat Security Advisory

Synopsis:          Updated ncurses4 compat packages are available
Advisory ID:       RHSA-2002:020-05
Issue date:        2002-01-29
Updated on:        2002-02-19
Product:           Red Hat Linux
Keywords:          ncurses4 buffer overrun overflow ncurses5
Cross references:  

1. Topic:

Updated ncurses4 compatability packages which fix a potential security
problem are available.

2. Relevant releases/architectures:

Red Hat Linux 7.0 - alpha, i386

Red Hat Linux 7.1 - alpha, i386

Red Hat Linux 7.2 - i386

3. Problem description:

The ncurses library provides a terminal-independent method of screen

A problem has been found in ncurses version 5.0 that could cause a buffer
overflow.  This overflow could be locally exploited if the library is
linked into a program that runs setuid or setgid.

Red Hat Linux ships with a compatibility package 'ncurses4' that is
actually based on ncurses version 5.0 but has been made ABI compatible
with ncurses 4.

No programs that ship with Red Hat Linux are exploitable.  A program could
only be exploited if it uses the ncurses 4 compatiblity package and if it
is run setuid or setgid.

The Common Vulnerabilities and Exposures project ( has
assigned the name CAN-2002-0062 to this issue.  Thanks to Daniel
Jacobowitz at MontaVista Software for alerting us to this issue.

4. Solution:

Before applying this update, make sure all previously released errata 
relevant to your system have been applied. 
To update all RPMs for your particular architecture, run: 
rpm -Fvh [filenames] 
where [filenames] is a list of the RPMs you wish to upgrade.  Only those 
RPMs which are currently installed will be updated.  Those RPMs which are 
not installed but included in the list will not be updated.  Note that 
can also use wildcards (*.rpm) if your current directory *only* contains 
desired RPMs. 
Please note that this update is also available via Red Hat Network.  
people find this an easier way to apply updates.  To use Red Hat 
launch the Red Hat Update Agent with the following command: 
This will start an interactive process that will result in the 
RPMs being upgraded on your system.

5. Bug IDs fixed  (http://bugzilla.Red for more info):

6. RPMs required:

Red Hat Linux 7.0:




Red Hat Linux 7.1:




Red Hat Linux 7.2:



7. Verification:

MD5 sum                          Package Name
53856e0c3219de2fcb4e56600b4eb3b9 7.0/en/os/SRPMS/ncurses4-5.0-5.src.rpm
b470c5cf9eaaa4710a09e114aced3f4d 7.0/en/os/alpha/ncurses4-5.0-5.alpha.rpm
b5ad8bc36c129534192e0dbce582f5ed 7.0/en/os/i386/ncurses4-5.0-5.i386.rpm
53856e0c3219de2fcb4e56600b4eb3b9 7.1/en/os/SRPMS/ncurses4-5.0-5.src.rpm
b470c5cf9eaaa4710a09e114aced3f4d 7.1/en/os/alpha/ncurses4-5.0-5.alpha.rpm
b5ad8bc36c129534192e0dbce582f5ed 7.1/en/os/i386/ncurses4-5.0-5.i386.rpm
53856e0c3219de2fcb4e56600b4eb3b9 7.2/en/os/SRPMS/ncurses4-5.0-5.src.rpm
b5ad8bc36c129534192e0dbce582f5ed 7.2/en/os/i386/ncurses4-5.0-5.i386.rpm

These packages are GPG signed by Red Hat, Inc. for security.  Our key
is available at:

You can verify each package with the following command:
    rpm --checksig  

If you only wish to verify that each package has not been corrupted or
tampered with, examine only the md5sum with the following command:
    rpm --checksig --nogpg 

8. References:

Copyright(c) 2000, 2001 Red Hat, Inc.

< Prev   Next >


Latest Features
Peter Smith Releases Linux Network Security Online
Securing a Linux Web Server
Password guessing with Medusa 2.0
Password guessing as an attack vector
Squid and Digest Authentication
Squid and Basic Authentication
Demystifying the Chinese Hacking Industry: Earning 6 Million a Night
Free Online security course (LearnSIA) - A Call for Help
What You Need to Know About Linux Rootkits
Review: A Practical Guide to Fedora and Red Hat Enterprise Linux - Fifth Edition
Weekend Edition
FBI Quietly Removes Recommendation To Encrypt Your Phone
And the prize for LEAST SECURE BROWSER goes to ... Chrome!
Partner Sponsor

Community | HOWTOs | Blogs | Features | Book Reviews | Networking
 Security Projects |  Latest News |  Newsletters |  SELinux |  Privacy |  Home
 Hardening |   About Us |   Advertise |   Legal Notice |   RSS |   Guardian Digital
(c)Copyright 2015 Guardian Digital, Inc. All rights reserved.