Live threats

All CVEs / Gnu

CVE-2004-2264Gnu Less

Medium 6.4 No auth needed

Priority
54
CVSS 2.0
6.4
EPSS
2.0%
probability of exploitation in 30 days · percentile 82
Auth required
No
Published
Dec 31, 2004
Updated
Jun 16, 2026
Category
Application · Cross-platform
Vector
AV:N/AC:L/Au:N/C:N/I:P/A:P

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Less.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
gnuless358
gnuless381
gnuless382

Official sources

References

Links published by the sources. Open them with care.