---
title: "CWE-93: Improper Neutralization of CRLF Sequences"
url: https://radicalnotion.ai/cwe/cwe-93
type: cwe
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."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-93: Improper Neutralization of CRLF Sequences

- **Abstraction:** Base
- **Structure:** Simple
- **Status:** Draft
- **CVEs with this as primary weakness:** 278
- **Of those, in CISA KEV:** 0
- **New in 2026:** 192
- **CWE catalog version:** 4.21

## 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.

## Alternate terms

- CRLF Injection

## Modes of introduction

| Phase | Note |
| --- | --- |
| Implementation | REALIZATION: This weakness is caused during implementation of an architectural security tactic. |

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| 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.)

Effectiveness: High

## Demonstrative examples

### Example 1

The following code segment reads the name of the author of a weblog entry, author, from an HTTP request and sets it in a cookie header of an HTTP response.

Bad code:

```java
String author = request.getParameter(AUTHOR_PARAM);
...
Cookie cookie = new Cookie("author", author);
cookie.setMaxAge(cookieExpiration);
response.addCookie(cookie);
```

Result code:

```
HTTP/1.1 200 OK
...
Set-Cookie: author=Jane Smith
...
```

Attack code:

```
Wiley Hacker\r\nHTTP/1.1 200 OK\r\n
```

Result code:

```
HTTP/1.1 200 OK
...
Set-Cookie: author=Wiley Hacker
HTTP/1.1 200 OK
...
```

### Example 2

The following code is a workflow job written using YAML. The code attempts to download pull request artifacts, unzip from the artifact called pr.zip and extract the value of the file NR into a variable "pr\_number" that will be used later in another job. It attempts to create a github workflow environment variable, writing to $GITHUB\_ENV. The environment variable value is retrieved from an external resource.

Bad code:

```other
name: Deploy Preview
jobs:
    deploy:
        runs-on: ubuntu-latest
        steps:
            - name: 'Download artifact'
            uses: actions/github-script
            with:
                script: |
                    var artifacts = await github.actions.listWorkflowRunArtifacts({
                        owner: context.repo.owner,
                        repo: context.repo.repo,
                        run_id: ${{ github.event.workflow_run.id }},
                    });
                    var matchPrArtifact = artifacts.data.artifacts.filter((artifact) => {
                        return artifact.name == "pr"
                    })[0];
                    var downloadPr = await github.actions.downloadArtifact({
                        owner: context.repo.owner,
                        repo: context.repo.repo,
                        artifact_id: matchPrArtifact.id,
                        archive_format: 'zip',
                    });
                    var fs = require('fs');
                    fs.writeFileSync('${{github.workspace}}/pr.zip', Buffer.from(downloadPr.data));
            - run: |
                unzip pr.zip
                echo "pr_number=$(cat NR)" >> $GITHUB_ENV
```

### Example 3

If user input data that eventually makes it to a log message isn't checked for CRLF characters, it may be possible for an attacker to forge entries in a log file.

Bad code:

```java
logger.info("User's street address: " + request.getParameter("streetAddress"));
```

## Observed examples

| CVE | Description |
| --- | --- |
| 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. |

## Real CVEs with this weakness (sample of 12 of 278)

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2026-121353 | Adobe Connect \| Improper Neutralization of CRLF Sequences ('CRLF Injection') (CWE-93) | critical | 10.0 | - | No | 2026-11-10 |
| CVE-2026-77550 | - | critical | 10.0 | - | No | 2026-08-26 |
| CVE-2026-33128 | h3 has a Server-Sent Events Injection via Unsanitized Newlines in Event Stream Fields | critical | 10.0 | - | No | 2026-03-20 |
| CVE-2024-51501 | CRLF injection in Refit's \[Header\], \[HeaderCollection\] and \[Authorize\] attributes | critical | 10.0 | - | No | 2024-11-04 |
| CVE-2026-45372 | cpp-httplib: HTTP header value percent-decoding in server-side \`parse\_header\` enables CRLF injection | critical | 9.9 | - | No | 2026-05-29 |
| CVE-2011-10042 | HTTP::Session versions before 0.43 for Perl allow memcached command injection via unfiltered session ids in HTTP::Session::Store::Memcached | critical | 9.8 | - | No | 2026-11-14 |
| CVE-2026-84372 | Predis: Redis command injection and denial of service via CRLF smuggling in pipelined commands on aggregate connections | critical | 9.8 | - | No | 2026-09-01 |
| CVE-2026-59313 | Server Sent Event stream corruption in Spring MVC functional web framework | critical | 9.8 | - | No | 2026-08-27 |
| CVE-2026-47890 | Spring Framework Server Sent Event stream corruption while rendering fragments | critical | 9.8 | - | No | 2026-08-27 |
| CVE-2026-72590 | alseambusher crontab-ui - Unauthenticated RCE via Newline Injection in env\_vars Parameter | critical | 9.8 | - | No | 2026-08-10 |
| CVE-2026-11362 | DataDog::DogStatsd versions through 0.07 for Perl allow metric injections from event tags | critical | 9.8 | - | No | 2026-06-05 |
| CVE-2026-50292 | libinput: local privilege escalation via crafted uinput devices | critical | 9.8 | - | No | 2026-06-04 |

## Related attack patterns (CAPEC)

- [CAPEC-15](https://radicalnotion.ai/capec/capec-15): Command Delimiters
- [CAPEC-81](https://radicalnotion.ai/capec/capec-81): Web Server Logs Tampering

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-74](https://radicalnotion.ai/cwe/cwe-74) | Improper Neutralization of Special Elements in Output Used by a Downstream Component |
| Child | [CWE-113](https://radicalnotion.ai/cwe/cwe-113) | Improper Neutralization of CRLF Sequences in HTTP Headers |
| Can precede | [CWE-117](https://radicalnotion.ai/cwe/cwe-117) | Improper Output Neutralization for Logs |
| Related | [CWE-144](https://radicalnotion.ai/cwe/cwe-144) | Improper Neutralization of Line Delimiters |
| Related | [CWE-145](https://radicalnotion.ai/cwe/cwe-145) | Improper Neutralization of Section Delimiters |

## Taxonomy mappings

| Taxonomy | Entry | Id | Fit |
| --- | --- | --- | --- |
| PLOVER | CRLF Injection | - | - |
| OWASP Top Ten 2007 | Injection Flaws | A2 | CWE More Specific |
| WASC | HTTP Request Splitting | 24 | - |
| Software Fault Patterns | Tainted input to command | SFP24 | - |

## Frequently asked questions

### What is CWE-93?

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.

### What CVEs are caused by CWE-93?

278 recorded CVEs are attributed to CWE-93, including CVE-2026-121353, CVE-2026-77550 and CVE-2026-33128.

### Is CWE-93 part of the OWASP Top 10?

CWE-93 maps to OWASP Top Ten 2007: Injection Flaws (A2) in the OWASP security taxonomy.

### How do you prevent CWE-93?

Avoid using CRLF as a special sequence.

### How is CWE-93 detected?

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.)

### What are the consequences of CWE-93?

Exploiting CWE-93 can lead to: Modify Application Data.

### Is CWE-93 actively exploited?

278 recorded CVEs are caused by CWE-93; none are currently in CISA's KEV catalog of actively exploited flaws.

Primary source: [MITRE CWE](https://cwe.mitre.org/data/definitions/93.html)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/cwe/cwe-93). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
