CVE-2026-145754
MediumCVSS 5.3Summary
less before 713 mishandles escape sequences. less -R is intended to filter escape sequences so that only safe or allow-listed ones reach the terminal. However, nesting an unsafe sequence inside an allowed one allows bypassing the filter, causing the unsafe sequence to reach the terminal and take effect. Whether the escape sequence is then honored depends on the terminal used. NOTE: this issue exists because of a CVE-2022-46663 regression.
Risk Assessment
Bypassing the filter may allow execution of unsafe escape sequences in the terminal, potentially leading to attacks such as command injection or display manipulation.
Recommendation
Update the less utility to version 713 or later, which fixes this regression.
Other vulnerabilities in less
Original NVD description (English source)
less before 713 mishandles escape sequences. less -R is intended to filter escape sequences so that only safe or allow-listed ones reach the terminal. However, nesting an unsafe sequence inside an allowed one allows bypassing the filter, causing the unsafe sequence to reach the terminal and take effect. Whether the escape sequence is then honored depends on the terminal used. NOTE: this issue exists because of a CVE-2022-46663 regression.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

