CVE-2026-93711
JSON

6.5medium

Dancer2 versions before 2.2.0 for Perl do not strip CR and LF from response header names in headers_to_array

Severity
6.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.24% (higher than 15% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
CPANSec

Description

Dancer2 versions before 2.2.0 for Perl do not strip CR and LF from response header names in headers_to_array. The routine removes CR and LF from each header value but not from the name. A name carrying them therefore reaches the PSGI server intact. A server that does not validate keys writes it to the wire, so the bytes after the CRLF arrive as their own header line. The application has to derive the header name from request data, not just the value. An attacker who controls that data adds their own headers and splits the response.

Affected

Product or packageVersionsReported by
Dancer2before 2.2.0CVE List

Classification

CWE-113

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-93711 changed 2026-09-22CVE Terms of Use
NVDCVE-2026-93711 changed 2026-09-22Public domain