
CVE catalog
CVE-2025-40927
libcgi-simple-perl: CVE-2025-40927
- Severity
- High · CVSS 7.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.47% · Oct 25, 2026
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
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libcgi-simple-perl | sid | 1.282-1 | fixed |
| Debian | libcgi-simple-perl | forky | 1.282-1 | fixed |
| Debian | libcgi-simple-perl | trixie | 1.282-1~deb13u1 | fixed |
| Debian | libcgi-simple-perl | bookworm | 1.280-2+deb12u1 | fixed |
| Ubuntu | libcgi-simple-perl | 16.04 | 1.115-1 | vulnerable |
| Ubuntu | libcgi-simple-perl | 16.04 | 1.115-2 | vulnerable |
| Ubuntu | libcgi-simple-perl | 18.04 | 1.115-2 | vulnerable |
| Ubuntu | libcgi-simple-perl | 20.04 | 1.115-2 | vulnerable |
| Ubuntu | libcgi-simple-perl | 22.04 | 1.115-2 | vulnerable |
| Ubuntu | libcgi-simple-perl | 22.04 | 1.280-1 | vulnerable |
| Ubuntu | libcgi-simple-perl | 24.04 | 1.280-2 | vulnerable |
| Ubuntu | libcgi-simple-perl | 24.04 | 1.281-1 | vulnerable |
| Ubuntu | libcgi-simple-perl | 25.10 | 1.281-1 | vulnerable |
| Ubuntu | libcgi-simple-perl | 26.04 | 1.281-1 | vulnerable |
| Ubuntu | libcgi-simple-perl | 26.04 | 1.282-1 | vulnerable |
| Opensuse | perl-CGI-Simple | tumbleweed | 1.282.0-1.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libcgi-simple-perl | source | sid | 1.282-1 | not yet assigned | Not reported | Not reported |
| Debian | libcgi-simple-perl | source | forky | 1.282-1 | not yet assigned | Not reported | Not reported |
| Debian | libcgi-simple-perl | source | trixie | 1.282-1~deb13u1 | not yet assigned | Not reported | Not reported |
| Debian | libcgi-simple-perl | source | bookworm | 1.280-2+deb12u1 | not yet assigned | Not reported | Not reported |
| Opensuse | perl-CGI-Simple | rpm | tumbleweed | 1.282.0-1.1 | Not reported | OPENSUSE-SU-2025:15625-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libcgi-simple-perl]Fixed
Details (2)
1.280-2+deb12u1· all · bookwormFixed · Fixed:
1.280-2+deb12u1dsa · libcgi-simple-perl · debian · bookworm; dsa · libcgi-simple-perl · debian · 12
1.280-2+deb12u1· all · bookwormFixed · Fixed:
1.280-2+deb12u1dsa · libcgi-simple-perl · debian · bookworm; dsa · libcgi-simple-perl · debian · 12
[Debian 13 (Trixie)]
- [libcgi-simple-perl]Fixed
Details (2)
1.282-1~deb13u1· all · trixieFixed · Fixed:
1.282-1~deb13u1dsa · libcgi-simple-perl · debian · 13
1.282-1~deb13u1· all · trixieFixed · Fixed:
1.282-1~deb13u1dsa · libcgi-simple-perl · debian · 13
[openSUSE Tumbleweed]
- [perl-CGI-Simple]Fixed
Source package: [perl-CGI-Simple]
Details (1)
1.282.0-1.4· noarch · tumbleweedFixed · Fixed:
1.282.0-1.1dsa · perl-CGI-Simple · opensuse · tumbleweed
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2025_15625-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2025-40927]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2025-40927]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2025-40927]
- [https://osv.dev/vulnerability/openSUSE-SU-2025:15625-1]
- [https://security-tracker.debian.org/tracker/CVE-2025-40927]
- [https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-40927.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2025/wid-sec-w-2025-2012.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]