CWEweakness
CWE-93 Improper Neutralization of CRLF Sequences
- Alternate terms
- CRLF Injection
- Abstraction
- Base
- Structure
- Simple
- Status
- Draft
- Languages
- Not Language-Specific
- CWE version
- 5.0
Description
The product uses CRLF (carriage return line feeds) as a special element, e.g. to separate lines or records, but it does not neutralize or incorrectly neutralizes CRLF sequences from inputs.
Common consequences
• Integrity: Modify Application Data
Potential mitigations
• [Implementation] Avoid using CRLF as a special sequence.
• [Implementation] Appropriately filter or quote CRLF sequences in user-controlled input.
Detection methods
• Automated Static Analysis: Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)
Observed examples
• CVE-2002-1771: CRLF injection enables spam proxy (add mail headers) using email address or name.
• CVE-2002-1783: CRLF injection in API function arguments modify headers for outgoing requests.
• CVE-2004-1513: Spoofed entries in web server log file via carriage returns
• CVE-2006-4624: Chain: inject fake log entries with fake timestamps using CRLF injection
• CVE-2005-1951: Chain: Application accepts CRLF in an object ID, allowing HTTP response splitting.
• CVE-2004-1687: Chain: HTTP response splitting via CRLF in parameter related to URL.
Related
Attack pattern · CAPEC (2)
Observed example · CVE (6)
- CVE-2006-4624 CRLF injection vulnerability in Utils.py in Mailman before 2.1.9rc1 allows remote attackers to spoof messages in the error log and possibly… vulnerability
- CVE-2005-1951 Multiple HTTP Response Splitting vulnerabilities in osCommerce 2.2 Milestone 2 and earlier allow remote attackers to spoof web content and… vulnerability
- CVE-2004-1513 04WebServer 1.42 does not adequately filter data that is written to log files, which could allow remote attackers to inject carriage return… vulnerability
- CVE-2004-1687 CRLF injection vulnerability in down.asp for Snitz Forums 2000 3.4.04 allows remote attackers to perform HTTP Response Splitting attacks to… vulnerability
- CVE-2002-1771 Matt Wright FormMail 1.9 and earlier allows remote attackers to send spam or anonymous e-mail by injecting a newline character followed by… vulnerability
- CVE-2002-1783 CRLF injection vulnerability in PHP 4.2.1 through 4.2.3, when allow_url_fopen is enabled, allows remote attackers to modify HTTP headers… vulnerability
Can precede · CWE (1)
- CWE-117 Improper Output Neutralization for Logs weakness
Child of · CWE (1)
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component weakness
Referenced by CAPEC · weakness (2)
Referenced by CVE · weakness (276)
- CVE-2026-115303 The Contact Form by Supsystic WordPress plugin before 1.11.1 does not strip CR/LF characters or re-validate submitted field values before… vulnerability
- CVE-2026-118371 LibreSSL through 4.4.0 contains a CRLF injection vulnerability in the libcrypto OCSP_sendreq_new() and OCSP_parse_url() functions, which… vulnerability
- CVE-2026-118372 LibreSSL ocspcheck through 4.4.0 contains a CRLF injection vulnerability that allows attackers to inject HTTP headers by embedding CR/LF… vulnerability
- CVE-2026-116231 A security flaw has been discovered in Oray Pugongying X5 Pro 7.6.1. vulnerability
- CVE-2026-116232 A weakness has been identified in Oray Pugongying X5 Pro 7.6.1. vulnerability
- CVE-2026-116233 A security vulnerability has been detected in Oray Pugongying X5 Pro 7.6.1. vulnerability
- CVE-2026-116234 A vulnerability was detected in Oray Pugongying X5 Pro 7.6.1. vulnerability
- CVE-2026-116235 A flaw has been found in Oray Pugongying X5 Pro 7.6.1. vulnerability
- CVE-2026-116237 A vulnerability was found in Oray Pugongying X5 Pro 7.6.1. vulnerability
- CVE-2026-115785 An SMTP command injection vulnerability in the data-source testing functionality of Zimbra Collaboration Suite (ZCS) allows an ordinary… vulnerability
- CVE-2026-114720 Roundcube Webmail before 1.6.20 and 1.7.x before 1.7.5 is affected by an IMAP command injection vulnerability. vulnerability
- CVE-2026-113386 Roundcube Webmail before 1.6.20 and 1.7.x before 1.7.5 are affected by IMAP command injection. vulnerability
- CVE-2026-113403 ArmorX Spam developed by ArmorX Global Technology has a Command Injection vulnerability. vulnerability
- CVE-2026-113715 virtualenv is a tool for creating isolated virtual python environments. vulnerability
- CVE-2026-91831 The Subscribe to Comments WordPress plugin before 2.3.3 does not sanitise newline characters from a notification sender-name setting before… vulnerability
- CVE-2026-111219 Netgate pfSense CE through 2.9.0 contains a newline injection vulnerability in services_pppoe_edit.php that allows privileged users to… vulnerability
- CVE-2026-111220 pfSense CE through 2.9.0 contains a crontab injection vulnerability in interfaces_ppps_edit.php that allows authenticated users to execute… vulnerability
- CVE-2026-111221 Netgate pfSense CE through 2.9.0 contains a configuration injection vulnerability that allows authenticated WebGUI users to inject mpd5… vulnerability
- CVE-2026-111222 Netgate pfSense CE through 2.9.0 contains a php.ini injection vulnerability that allows authenticated users with General Setup privileges… vulnerability
- CVE-2026-111227 Netgate pfSense CE through 2.9.0 contains a CRLF injection vulnerability in services_unbound_acls.php that allows authenticated users with… vulnerability
- CVE-2026-111228 Netgate pfSense CE from 2.7.1 through 2.9.0 contains a CRLF injection vulnerability in services_unbound_advanced.php that allows… vulnerability
- CVE-2026-55467 OpenPrinting CUPS is an open source printing system for Linux and other Unix-like operating systems. vulnerability
- CVE-2026-102471 In Eclipse Vert.x versions [4.0.0, 4.5.34] or [5.0.0,5.0.12] or [5.1.0,5.1.9] or [5.2.0, 5.2.0], the vertx-mail-client does not sanitize CR… vulnerability
- CVE-2026-110835 FreeRDP 3.0.0 before 3.32.0 allows HTTP header injection in its proxy because a lone LF in the target portion of a routing token (Cookie:… vulnerability
- CVE-2026-41504 OWASP Coraza WAF is a golang modsecurity compatible web application firewall library. vulnerability
- CVE-2026-87661 Brocade Fabric OS versions before 9.2.2d and 10.0.0 through 10.0.0a1 directly accepts Apache configuration file data during service setup… vulnerability
- CVE-2026-87678 An input validation and output encoding vulnerability exists in the web management interface of Brocade Fabric OS versions before 10.0.1. vulnerability
- CVE-2026-102136 In multi-node deployments, an attacker who had already obtained code execution on one appliance node could submit a value through an… vulnerability
- CVE-2026-102145 An authenticated administrator could cause the server to issue requests to, and interact with, internal network services that are not meant… vulnerability
- CVE-2026-102938 virtualenv is a tool for creating isolated virtual python environments. vulnerability
Referenced by CWE · can also be (2)
Referenced by CWE · child of (1)
- CWE-113 Improper Neutralization of CRLF Sequences in HTTP Headers weakness
Referenced by OWASP · mapped cwe (3)
- A05:2025 Injection Top 10 2025
- A03:2021 Injection Top 10 2021
- CS-Logging Logging Cheat Sheet Cheat Sheet