# CVE-2018-10242: Suricata version 4.0.4 incorrectly handles the parsing of the SSH banner.

- Severity: High 7.5 (CVSS:3.0, scored by NVD) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.53%, higher than 75% of CVEs (2026-12-01)
- Published: 2019-04-04T14:59:50.000Z
- Modified: 2026-06-17T01:33:45.093Z
- Weaknesses: CWE-125
- Assigned by: mitre

## Description

Suricata version 4.0.4 incorrectly handles the parsing of the SSH banner. A malformed SSH banner can cause the parsing code to read beyond the allocated data because SSHParseBanner in app-layer-ssh.c lacks a length check.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- oisf suricata: 4.0.4
- debian debian_linux: 8.0

## Every score

- NVD: CVSS:3.0 7.5 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://suricata-ids.org/2018/07/18/suricata-4-0-5-available/> (release-notes, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2019/04/msg00010.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2018-10242](https://www.cve.org/CVERecord?id=CVE-2018-10242), CVE Terms of Use, modified 2024-08-05
- NVD: [CVE-2018-10242](https://nvd.nist.gov/vuln/detail/CVE-2018-10242), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2018-10242 · Whole record: https://cve.day/CVE-2018-10242.json · Rebuilt by cve.day 2026-11-25T22:57:42.117Z
