CVE-2004-2264

NameCVE-2004-2264
DescriptionFormat 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
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
less (PTS)jessie, jessie (lts)458-3+deb8u2fixed
stretch (lts), stretch481-2.1+deb9u1fixed
buster (security), buster, buster (lts)487-0.1+deb10u1fixed
bullseye (security), bullseye551-2+deb11u2fixed
bookworm (security), bookworm590-2.1~deb12u2fixed
sid, trixie643-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
lesssource(unstable)(not affected)

Notes

- less <not-affected> (less is not suid, explotability unlikely)

Search for package or bug name: Reporting problems