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

High 7.5 Published Updated

A NULL pointer dereference in Suricata's tls.subjectaltname keyword handling causes a segmentation fault, leading to denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-59150?

CVE-2025-59150 is a high-severity vulnerability in Oisf Suricata, published on 1 Oct 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

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.

Weakness: CWE-476

Which versions are affected by CVE-2025-59150?

It affects 1 product.

Products include Oisf Suricata.

How do I fix CVE-2025-59150?

Upgrade to a fixed version.

Is CVE-2025-59150 being exploited?

There is no known exploitation of CVE-2025-59150 in the wild and no public exploit code.

All Oisf Suricata vulnerabilities

Sources

Also known as GHSA-mhv7-qfmj-m3f3, UBUNTU-CVE-2025-59150.

Is CVE-2025-59150 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free