# CVE-2025-59150: Suricata: Keyword tls.subjectaltname can lead to NULL-ptr deref

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- 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): 0.58%, higher than 49% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-10-01T20:23:54.207Z
- Modified: 2026-10-12T15:10:00.207Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- OISF suricata: >= 8.0.0, < 8.0.1; 8.0.0

## References

- <https://redmine.openinfosecfoundation.org/issues/7881> (exploit, issue-tracking, vendor-advisory)
- <https://github.com/OISF/suricata/security/advisories/GHSA-mhv7-qfmj-m3f3> (patch, third-party-advisory)
- <https://github.com/OISF/suricata/commit/d590fdfe42e995fd558315f0c24f9a352e21479d> (patch)
- <https://forum.suricata.io/t/suricata-8-0-1-and-7-0-12-released/6018> (release-notes)
- <https://www.vicarius.io/vsociety/posts/cve-2025-59150-suricata-detection-script>
- <https://www.vicarius.io/vsociety/posts/cve-2025-59150-suricata-mitigation-script>

## Sources

- CVE List: [CVE-2025-59150](https://www.cve.org/CVERecord?id=CVE-2025-59150), CVE Terms of Use, modified 2025-10-23
- NVD: [CVE-2025-59150](https://nvd.nist.gov/vuln/detail/CVE-2025-59150), Public domain, modified 2026-10-12

---

Page: https://cve.day/CVE-2025-59150 · Whole record: https://cve.day/CVE-2025-59150.json · Rebuilt by cve.day 2026-11-25T22:59:05.415Z
