CVE-2004-2264 Memory corruption in n/a

Medium 6.4 Published Updated

Local attackers can cause denial of service or execute arbitrary code via format strings in the LESSOPEN environment variable in GNU less.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2004-2264?

CVE-2004-2264 is a medium-severity memory corruption vulnerability in n/a, published on 19 Jul 2005. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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

Which versions are affected by CVE-2004-2264?

It affects 1 product.

Products include Gnu Less.

How do I fix CVE-2004-2264?

No fix has been published for CVE-2004-2264 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2004-2264 being exploited?

There is no known exploitation of CVE-2004-2264 in the wild and no public exploit code.

Sources

Also known as GHSA-2wff-r89p-gqg6.

Is CVE-2004-2264 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free