CVE-2026-145754: Medium severity vulnerability

Published Dec 6, 2026
·
Updated

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.

Affected Software

0 affected components

Event History

Dec 6, 2026
CVE Published
via MITRE·07:52 AM
Data Sourced
via MITRE·07:52 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Users of less versions before 713 are exposed when they use less -R to view content that can contain attacker-controlled escape sequences. The impact also depends on whether the terminal in use honors the unsafe sequence that reaches it.

2

What does an attacker need to exploit it?

An attacker needs to induce a user to view crafted content with less -R. The crafted content must nest an unsafe escape sequence inside an allowed escape sequence so it bypasses filtering.

3

Are default less invocations affected?

The described bypass specifically concerns less -R, which filters escape sequences using an allow-list. The provided information does not establish that invocations without -R are affected by this particular regression.

4

What should be done if upgrading is not immediately possible?

Avoid using less -R on untrusted or attacker-controlled content until an upgrade is possible. Using a terminal that does not honor the resulting unsafe escape sequence may reduce impact, but the provided information does not identify which terminals are affected.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203