Patch  oval:com.redhat.rhsa:def:2005068
RHSA-2005:068: less security update (Important)  

The less utility is a text file browser that resembles more, but has extended capabilities.
Victor Ashik discovered a heap based buffer overflow in less, caused by a patch added to the less package in Red Hat Enterprise Linux 3. An attacker could construct a carefully crafted file that could cause less to crash or possibly execute arbitrary code when opened. The Common Vulnerabilities and Exposures project ( has assigned the name CAN-2005-0086 to this issue. Note that this issue only affects the version of less distributed with Red Hat Enterprise Linux 3.
Red Hat believes that the Exec-Shield technology (enabled by default since Update 3) will block attempts to remotely exploit this vulnerability on x86 architectures.
All users of the less package should upgrade to this updated package, which resolves this issue.
Create Date: 2005-01-26 Last Update Date: 2005-01-26

Affected Platforms/Products

Affected Products (CPE + CVE references)
Platforms: unix (from OVAL definitions)
  • Red Hat Enterprise Linux 3



The patch should be installed
IF : All of the following are true
IF : less is signed with Red Hat master key
Linux : RPM Test :  less is signed with Red Hat master key 
At least one of the objects listed below must exist on the system (Existence check)
signature_keyid equals 219180cddb42a60e
linux : rpminfo_state 
IF : less is earlier than 0:378-12
Linux : RPM Test :  less is earlier than 0:378-12 
At least one of the objects listed below must exist on the system (Existence check)
RPM Version less than 0:378-12 (datatype=evr_string)
linux : rpminfo_state 
IF : Red Hat Enterprise Linux 3 is installed
Linux : RPM Test :  Red Hat Enterprise Linux 3 is installed 
At least one of the objects listed below must exist on the system (Existence check)
Linux : RPM Package 
version pattern match ^3[^[:digit:]]
linux : rpminfo_state 

Quick Help

evr_string datatype
Represents epoch, version, and release number as a single version string
Other Help Topics
Data Types
What is an Object?
What is a State?
What is a Test?
Other Help Topics
Regular Expression Patterns
Some object or state definitions are defined as regular expression patterns, you should interpret the regexp pattern while evaluating them.

OVAL Definitions By Referenced Objects

How does it work?   User agreement and privacy statement   About & Contact
CVE is a registred trademark of the MITRE Corporation and the authoritive source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritive source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritive source of OVAL content is MITRE's OVAL web site.
Warning: This site and all data are provided as is. It is not guaranteed that all information is accurate and complete. Use any information provided on this site at your own risk. By using this site you accept that you know that these data are provided as is and not guaranteed to be accurate, correct or complete. All trademarks appearing on this site are the property of their respective owners in the US or other countries. 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. PLEASE SEE and for more details about OVAL language and definitions.
The information within this database may change without notice. 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. In no event shall the author/distributor/web site owner/maintainer be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
Use of OVAL and all related data is subject to terms of use defined by Mitre at