Vulnerability · Published Sep 22, 2026 · Assigned by CPANSec

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

Medium 6.5

In plain English

A medium-severity security flaw in Dancer2. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 31% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.4%top 68.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12libdancer2-perlno fix listedDEBIAN-CVE-2026-93711
Debian:13libdancer2-perlno fix listedDEBIAN-CVE-2026-93711
Debian:14libdancer2-perl2.2.2-1DEBIAN-CVE-2026-93711
Ubuntu:22.04:LTSlibdancer2-perlno fix listedUBUNTU-CVE-2026-93711
Ubuntu:24.04:LTSlibdancer2-perlno fix listedUBUNTU-CVE-2026-93711
Ubuntu:26.04:LTSlibdancer2-perlno fix listedUBUNTU-CVE-2026-93711
Ubuntu:26.10libdancer2-perlno fix listedUBUNTU-CVE-2026-93711

Affected products (as reported)

VendorProductVersions
Dancer2 0 – before 2.2.0

Weakness: CWE-113 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

References