CVE-2020-9366: A buffer overflow was found in the way GNU Screen before 4.8.0 treated the special escape OSC 49
CVE-2020-9366 is a critical-severity flaw (CVSS 9.8) affecting screen. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
A buffer overflow was found in the way GNU Screen before 4.8.0 treated the special escape OSC 49. Specially crafted output, or a special program, could corrupt memory and crash Screen or possibly have unspecified other impact.
Why this priority
- Critical severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 2.7% (top 14%) |
| CISA exploited list | No |
| Weakness | CWE-787 |
| Published | 2020-02-24 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2020-9366?
screen: upgrade to 4.8.0. Exact commands for each OS are on this page.
Is CVE-2020-9366 being exploited?
CVE-2020-9366 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2020-9366 affect?
CVE-2020-9366 affects screen. Severity is critical (CVSS 9.8). A buffer overflow was found in the way GNU Screen before 4.8.0 treated the special escape OSC 49. Specially crafted output, or a special program, could corrupt memory and crash Screen or possibly have unspecified other impact.
How urgent is CVE-2020-9366?
Priority 61/100. Critical severity; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2023-24626 MEDIUM 6.5 UPGRADE socket.c in GNU Screen through 4.9.0, when installed setuid or setgid (the default on platforms such as Arch L
- CVE-2021-26937 CRITICAL 9.8 UPGRADE MITIGATE encoding.c in GNU Screen through 4.8.0 allows remote attackers to cause a denial of service (invalid write acc
- CVE-2017-5618 HIGH 7.8 UPGRADE GNU screen before 4.5.1 allows local users to modify arbitrary files and consequently gain root privileges by