Vulnerability · Published Oct 1, 2025 · Assigned by GitHub_M
CVE-2025-59150Suricata: Keyword tls.subjectaltname can lead to NULL-ptr deref
High 7.5
In plain English
A high-severity null pointer dereference in suricata from OISF. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 45% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Suricata is a network IDS, IPS and NSM engine developed by the OISF (Open Information Security Foundation) and the Suricata community. Version 8.0.0's usage of the tls.subjectaltname keyword can lead to a segmentation fault when the decoded subjectaltname contains a NULL byte. This issue is fixed in version 8.0.1. To workaround this issue, disable rules using the tls.subjectaltname keyword.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.24 | suricata | 8.0.1-r0 | ALPINE-CVE-2025-59150 |
| Ubuntu:22.04:LTS | suricata | no fix listed | UBUNTU-CVE-2025-59150 |
| Ubuntu:24.04:LTS | suricata | no fix listed | UBUNTU-CVE-2025-59150 |
| Ubuntu:25.10 | suricata | no fix listed | UBUNTU-CVE-2025-59150 |
| Ubuntu:26.04:LTS | suricata | no fix listed | UBUNTU-CVE-2025-59150 |
| Ubuntu:26.10 | suricata | no fix listed | UBUNTU-CVE-2025-59150 |
Affected products (as reported)
Weakness: CWE-476 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/OISF/suricata/security/advisories/GHSA-mhv7-qfmj-m3f3 x_refsource_CONFIRM
- https://github.com/OISF/suricata/commit/d590fdfe42e995fd558315f0c24f9a352e21479d x_refsource_MISC
- https://forum.suricata.io/t/suricata-8-0-1-and-7-0-12-released/6018 x_refsource_MISC
- https://redmine.openinfosecfoundation.org/issues/7881 x_refsource_MISC
- https://www.vicarius.io/vsociety/posts/cve-2025-59150-suricata-detection-script
- https://www.vicarius.io/vsociety/posts/cve-2025-59150-suricata-mitigation-script