CVE-2022-46663
In GNU Less before 609, crafted data can result in "less -R" not filtering ANSI escape sequences...
In GNU Less before 609, crafted data can result in "less -R" not filtering ANSI escape sequences sent to the terminal.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
In GNU Less before 609, crafted data can result in "less -R" not filtering ANSI escape sequences sent to the terminal.
- Record
CVE-2022-46663- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
CVE List
7.5
In GNU Less before 609, crafted data can result in "less -R" not filtering ANSI escape sequences sent to the terminal.
- Record
CVE-2022-46663- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
EUVDEUVD-2022-49459
7.5
In GNU Less before 609, crafted data can result in "less -R" not filtering ANSI escape sequences sent to the terminal.
- Record
EUVD-2022-49459- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-5xw7-xf7p-gm82
7.5
In GNU Less before 609, crafted data can result in "less -R" not filtering ANSI escape sequences...
In GNU Less before 609, crafted data can result in "less -R" not filtering ANSI escape sequences sent to the terminal.
- Record
GHSA-5xw7-xf7p-gm82- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVAZL-13350
7.5
CVE-2022-46663 affecting package less for versions less than 590-2
In GNU Less before 609, crafted data can result in "less -R" not filtering ANSI escape sequences sent to the terminal.
- Record
AZL-13350- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVBELL-CVE-2022-46663
7.5
- Record
BELL-CVE-2022-46663- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 10 moreShow less
OSV
7.5
In GNU Less before 609, crafted data can result in "less -R" not filtering ANSI escape sequences sent to the terminal.
- Record
CVE-2022-46663- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2022-46663
7.5
In GNU Less before 609, crafted data can result in "less -R" not filtering ANSI escape sequences sent to the terminal.
- Record
DEBIAN-CVE-2022-46663- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-03
OSVOESA-2023-1129
5.5
less security update
Less is a pager. A pager is a program that displays text files.Other pagers commonly in use are more and pg. Pagers are often used in command-line environments like the Unix shell and the MS-DOS command prompt to display files.Less is not an editor. You can't change the contents of the file you're viewing. Less is not a windowing system. It doesn't have fancy scroll bars or other GUI (graphical user interface) elements.
Security Fix(es):
In GNU Less before 609, crafted data can result in "less -R" not filtering ANSI escape sequences sent to the terminal.(CVE-2022-46663)
- Record
OESA-2023-1129- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVRHSA-2023:3725
7.5
Red Hat Security Advisory: less security update
- Record
RHSA-2023:3725- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVRLSA-2023:3725
7.5
Moderate: less security update
The "less" utility is a text file browser that resembles "more", but allows users to move backwards in the file as well as forwards. Since "less" does not read the entire input file at startup, it also starts more quickly than ordinary text editors.
Security Fix(es):
- less: crafted data can result in "less -R" not filtering ANSI escape sequences sent to the terminal (CVE-2022-46663)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
- Record
RLSA-2023:3725- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2022-46663
7.5
In GNU Less before 609, crafted data can result in "less -R" not filtering ANSI escape sequences sent to the terminal.
- Record
UBUNTU-CVE-2022-46663- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVALSA-2023:3725 No score
Moderate: less security update
The "less" utility is a text file browser that resembles "more", but allows users to move backwards in the file as well as forwards. Since "less" does not read the entire input file at startup, it also starts more quickly than ordinary text editors.
Security Fix(es):
- less: crafted data can result in "less -R" not filtering ANSI escape sequences sent to the terminal (CVE-2022-46663)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
- Record
ALSA-2023:3725- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:12671-1 No score
less-608-2.1 on GA media
These are all security issues fixed in the less-608-2.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:12671-1- Updated
- 2026-11-02
OSVSUSE-SU-2023:0348-1 No score
Security update for less
This update for less fixes the following issues:
- CVE-2022-46663: Fixed denial-of-service by printing specially crafted escape sequences to the terminal (bsc#1207815).
- Record
SUSE-SU-2023:0348-1- Updated
- 2026-11-02
OSVUSN-5848-1 No score
less vulnerability
David Leadbeater discovered that less was not properly handling escape sequences when displaying raw control characters. A maliciously formed OSC 8 hyperlink could possibly be used by an attacker to cause a denial of service.
- Record
USN-5848-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
lessAlmaLinux:9 |
before 590-2.el9_2 | 590-2.el9_2 |
lessAzure Linux:2 |
before 590-2 | 590-2 |
lessAlpaquita:23 |
608-r0 up to 608-r1 | 608-r1 |
lessDebian:12 |
before 590-1.2 | 590-1.2 |
lessDebian:13 |
before 590-1.2 | 590-1.2 |
lessDebian:14 |
before 590-1.2 | 590-1.2 |
lessopenEuler:20.03-LTS-SP1 |
before 590-2.oe1 | 590-2.oe1 |
lessopenEuler:20.03-LTS-SP3 |
before 590-2.oe1 | 590-2.oe1 |
lessopenEuler:22.03-LTS |
before 590-4.oe2203sp1 | 590-4.oe2203sp1 |
lessopenEuler:22.03-LTS-SP1 |
before 590-4.oe2203sp1 | 590-4.oe2203sp1 |
Show 10 moreShow less
| Package | Affected | Fixed |
|---|---|---|
lessRed Hat:enterprise_linux:9::baseos |
before 0:590-2.el9_2 | 0:590-2.el9_2 |
less-debuginfoRed Hat:enterprise_linux:9::baseos |
before 0:590-2.el9_2 | 0:590-2.el9_2 |
less-debugsourceRed Hat:enterprise_linux:9::baseos |
before 0:590-2.el9_2 | 0:590-2.el9_2 |
lessRocky Linux:9 |
before 0:590-2.el9_2 | 0:590-2.el9_2 |
lessSUSE:Linux Enterprise Micro 5.3 |
before 590-150400.3.3.1 | 590-150400.3.3.1 |
lessSUSE:Linux Enterprise Module for Basesystem 15 SP4 |
before 590-150400.3.3.1 | 590-150400.3.3.1 |
lessopenSUSE:Leap Micro 5.3 |
before 590-150400.3.3.1 | 590-150400.3.3.1 |
lessopenSUSE:Leap 15.4 |
before 590-150400.3.3.1 | 590-150400.3.3.1 |
lessUbuntu:22.04:LTS |
before 590-1ubuntu0.22.04.1, plus listed versions 551-2551-2build1590-1590-1build1 |
590-1ubuntu0.22.04.1 |
lessopenSUSE:Tumbleweed |
before 608-2.1 | 608-2.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-46663 is a high vulnerability (CVSS 7.5) in Gnu Less, published February 7, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.41%, the 72nd percentile. Fixed in less 590-2.el9_2.
References
github.com/gwsw/less/commit/a78e1351113cef564d790a730d657a321624d79c
greenwoodsoftware.com/less/news.609.html
openwall.com/lists/oss-security/2023/02/07/7
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LR7AUWB34JD4PCW3HHASBEDGGHFWPAQP
security.gentoo.org/glsa/202310-11
nvd.nist.gov/vuln/detail/CVE-2022-46663
Show 20 moreShow less
lists.fedoraproject.org/archives/list/[email protected]/message/LR7AUWB34JD4PCW3HHASBEDGGHFWPAQP
github.com/advisories/GHSA-5xw7-xf7p-gm82
access.redhat.com/errata/RHSA-2023:3725
access.redhat.com/security/cve/CVE-2022-46663
bugzilla.redhat.com/2169621
errata.almalinux.org/9/ALSA-2023-3725.html
docs.bell-sw.com/security/cves/CVE-2022-46663
github.com/CVEProject/cvelistV5/tree/main/cves/2022/46xxx/CVE-2022-46663.json
security-tracker.debian.org/tracker/CVE-2022-46663
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1129
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=2169621
security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_3725.json
cve.org/CVERecord?id=CVE-2022-46663
errata.rockylinux.org/RLSA-2023:3725
suse.com/support/update/announcement/2023/suse-su-20230348-1
bugzilla.suse.com/1207815
suse.com/security/cve/CVE-2022-46663
ubuntu.com/security/CVE-2022-46663
ubuntu.com/security/notices/USN-5848-1