CVE-2004-2264
CVE-2004-2264 is a medium-severity vulnerability in Gnu Less with a CVSS 2.0 base score of 6.4. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low.
Key facts
- Severity: Medium (CVSS 2.0 base score 6.4)
- EPSS exploit prediction: 2% (79th percentile)
- Actively exploited: Not listed in CISA KEV
- Affected product: Gnu Less
- Published:
- Last modified:
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
Frequently asked questions
- What is CVE-2004-2264?
- 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
- How severe is CVE-2004-2264?
- CVE-2004-2264 has a CVSS 2.0 base score of 6.4, rated medium severity.
- Is CVE-2004-2264 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (79th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2004-2264?
- CVE-2004-2264 primarily affects Gnu Less. In total, 3 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2004-2264?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2004-2264 published?
- CVE-2004-2264 was published on 2004-12-31 and last updated on 2026-06-16.
References
- http://archives.neohapsis.com/archives/fulldisclosure/2004-08/0794.html
- http://archives.neohapsis.com/archives/fulldisclosure/2004-08/0811.html
- http://securitytracker.com/id?1010988
- http://www.osvdb.org/9014
- https://exchange.xforce.ibmcloud.com/vulnerabilities/17032
Affected products (3)
- cpe:2.3:a:gnu:less:358:*:*:*:*:*:*:*
- cpe:2.3:a:gnu:less:381:*:*:*:*:*:*:*
- cpe:2.3:a:gnu:less:382:*:*:*:*:*:*:*
More vulnerabilities in Gnu Less
- CVE-2014-9488 — Critical (CVSS 10.0): The is_utf8_well_formed function in GNU less before 475 allows remote attackers to have unspecified impact via…
- CVE-2022-46663 — High (CVSS 7.5): In GNU Less before 609, crafted data can result in "less -R" not filtering ANSI escape sequences sent to the terminal.