The vulnerability is a memory exhaustion denial-of-service caused by an uncontrolled buffer growth in the smtp-server's command parser. The analysis of the patch commit 592c5666fa0c76d1d04c1a32abad0ef806fbfe97 reveals that the core of the vulnerability lies within the _write method of the SMTPStream class in lib/smtp-stream.js. The vulnerability description explicitly mentions that the _remainder buffer in SMTPStream._write grows without limit. The patch confirms this by introducing a size limit (_maxCommandLength) and adding a check within the _write method. If the length of the _remainder buffer exceeds this limit, an error is generated, and the connection is closed. This fix directly pinpoints SMTPStream._write as the function where the vulnerable logic resided. An attacker could exploit this by sending a continuous stream of data without any newline characters, causing the server's memory to be consumed until the process crashes or becomes unresponsive.