CVE-2004-2264

high

Description

Format string bug in the open_altfile function in filename.c for GNU less 382, 381, and 358 might allow local users to cause a denial of service or possibly execute arbitrary code via format strings in the LESSOPEN environment variable. NOTE: since less is not setuid or setgid, then this is not a vulnerability unless there are plausible scenarios under which privilege boundaries could be crossed

References

https://exchange.xforce.ibmcloud.com/vulnerabilities/17032

http://www.osvdb.org/9014

http://securitytracker.com/id?1010988

http://archives.neohapsis.com/archives/fulldisclosure/2004-08/0811.html

http://archives.neohapsis.com/archives/fulldisclosure/2004-08/0794.html

Details

Source: Mitre, NVD

Published: 2004-12-31

Updated: 2026-06-16

Risk Information

CVSS v2

Base Score: 6.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:P

Severity: Medium

CVSS v3

Base Score: 7.8

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Severity: High

EPSS

EPSS: 0.00804