Vulnerabilities / CVE-2020-9366

critical

CVE-2020-9366

screen: Out of bounds access when setting w_xtermosc after OSC 49

Published Modified CWE 787
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat6.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (medium).

Description

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.

Affected packages and fixed versions

SourcePackageFixed in
alpine 3.10screen4.6.2-r1
alpine 3.11screen4.7.0-r1
alpine 3.12screen4.8.0-r0
alpine 3.13screen4.8.0-r0
alpine 3.14screen4.8.0-r0
alpine 3.15screen4.8.0-r0
alpine 3.16screen4.8.0-r0
alpine 3.17screen4.8.0-r0
alpine 3.18screen4.8.0-r0
alpine 3.19screen4.8.0-r0
alpine 3.20screen4.8.0-r0
alpine 3.21screen4.8.0-r0
Show all 23 entries from 23 sources
SourcePackageFixed in
alpine 3.10screen4.6.2-r1
alpine 3.11screen4.7.0-r1
alpine 3.12screen4.8.0-r0
alpine 3.13screen4.8.0-r0
alpine 3.14screen4.8.0-r0
alpine 3.15screen4.8.0-r0
alpine 3.16screen4.8.0-r0
alpine 3.17screen4.8.0-r0
alpine 3.18screen4.8.0-r0
alpine 3.19screen4.8.0-r0
alpine 3.20screen4.8.0-r0
alpine 3.21screen4.8.0-r0
alpine 3.22screen4.8.0-r0
alpine 3.23screen4.8.0-r0
alpine 3.24screen4.8.0-r0
alpine 3.8screen4.6.2-r1
alpine 3.9screen4.6.2-r1
alpine edgescreen4.8.0-r0
debian 11screen4.8.0-1
debian 12screen4.8.0-1
debian 13screen4.8.0-1
debian 14screen4.8.0-1
echoscreen4.8.0-1

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.