CVE-2025-40927 json
CGI::Simple versions 1.281 and earlier for Perl has a HTTP response splitting flaw
published last yr. modified 22d ago also EUVD-2025-27982
- cvss
- 7.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 42%
- public exploits
- 0
- none known
Summary
CGI::Simple versions before 1.282 for Perl has a HTTP response splitting flaw This vulnerability is a confirmed HTTP response splitting flaw in CGI::Simple that allows HTTP response header injection, which can be used for reflected XSS or open redirect under certain conditions.
Although some validation exists, it can be bypassed using URL-encoded values, allowing an attacker to inject untrusted content into the response via query parameters.
As a result, an attacker can inject a line break (e.g. %0A) into the parameter value, causing the server to split the HTTP response and inject arbitrary headers or even an HTML/JavaScript body, leading to reflected cross-site scripting (XSS), open redirect or other attacks.
The issue documented in CVE-2010-4410 https://www.cve.org/CVERecord?id=CVE-2010-4410 is related but the fix was incomplete.
Impact
By injecting %0A (newline) into a query string parameter, an attacker can:
* Break the current HTTP header * Inject a new header or entire body * Deliver a script payload that is reflected in the server’s response That can lead to the following attacks:
* reflected XSS * open redirect * cache poisoning * header manipulation
Patch / fix
- MANWAR CGI::Simple 1.282
- libcgi-simple-perl Debian 12 1.280-2+deb12u1
- libcgi-simple-perl Debian 13 1.282-1~deb13u1
- libcgi-simple-perl Debian 14 1.282-1
debian advisories DEBIAN-CVE-2025-40927
- perl-CGI-Simple openSUSE Tumbleweed 1.282.0-1.1
opensuse advisories openSUSE-SU-2025:15625-1
Is CVE-2025-40927 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-40927 updated cvss 7.3
perl-cgi-simple: CGI::Simple response splitting flaw
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
0.49% chance of exploitation in the next 30 days, higher than 42% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| CNA | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
Affected products
- MANWAR CGI::Simple
Classification
- Weakness
-
- CWE-113 Improper Neutralization of CRLF Sequences in HTTP Headers
References
-
metacpan.org
/release/MANWAR/CGI-Simple-1.281/source/lib/CGI/Simple.pm#L1031-1035
related
-
metacpan.org
/release/MANWAR/CGI-Simple-1.281/diff/MANWAR/CGI-Simple-1.282/lib/CGI/Simple.pm
related
-
owasp.org
/www-community/attacks/HTTP_Response_Splitting
technical-description
-
datatracker.ietf.org
/doc/html/rfc7230#section-3
technical-description
-
cve.mitre.org
/cgi-bin/cvename.cgi?name=CVE-2004-2320
related
-
rt.perl.org
/Public/Bug/Display.html?id=21951
related
Sources
- CVE List CVE-2025-40927
- NVD CVE-2025-40927
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.