--- /dev/null
+# Description
+
+Protocol-minimized regression test for Redmine Bug #8739:
+
+https://redmine.openinfosecfoundation.org/issues/8739
+
+Originally found by OSS-Fuzz testcase 5498180758994944:
+
+https://oss-fuzz.com/testcase?key=5498180758994944
+
+# PCAP
+
+The 13-packet capture is a protocol-minimized derivative of the original
+`fuzz_sigpcap_aware` input. The fuzzpcap stream was converted to a regular
+pcap and reduced to this SMTP dialog (`--->` client, `<---` server):
+
+```
+<--- 220 mail.example ESMTP ready
+
+---> EHLO client.example
+<--- 250-PIPELINING
+<--- 250 OK
+
+---> RSET
+---> DATA
+---> .
+
+<--- 250 reset
+<--- 354 continue
+<--- 250 queued
+```
+
+The `RSET`, `DATA`, and `.` lines are pipelined in one client packet. Each
+server reply is sent separately.
--- /dev/null
+requires:
+ min-version: 9
+
+pcap: input.pcap
+
+# Disable checksum validation for the generated capture.
+args:
+ - -k none
+
+checks:
+ # The pipelined sequence produces one completed SMTP transaction object.
+ - filter:
+ count: 1
+ match:
+ event_type: smtp
+ tx_id: 0
+ smtp.helo: client.example
+ email.status: PARSE_DONE
+
+ - filter:
+ count: 1
+ match:
+ event_type: anomaly
+ anomaly.app_proto: smtp
+ anomaly.event: INVALID_PIPELINED_SEQUENCE