Home / libwww-perl / HTTP-Daemon / CVE-2022-31081
CVE-2022-31081: is it exploited, and which versions of libwww-perl HTTP-Daemon are affected and fixed?
CVE-2022-31081 is a HTTP request smuggling vulnerability in libwww-perl HTTP-Daemon. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:09 UTC). Affected: HTTP-Daemon < 6.15 (CVE record by GitHub_M). Fixed in 6.15 (NVD). Severity: High (7.3, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:47 UTC.
What is CVE-2022-31081?
Inconsistent Interpretation of HTTP Requests ('HTTP Request Smuggling') in HTTP::Daemon
HTTP::Daemon is a simple http server class written in perl. Versions prior to 6.15 are subject to a vulnerability which could potentially be exploited to gain privileged access to APIs or poison intermediate caches. It is uncertain how large the risks are, most Perl based applications are served on top of Nginx or Apache, not on the `HTTP::Daemon`. This library is commonly used for local development and tests. Users are advised to update to resolve this issue. Users unable to upgrade may add additional request handling logic as a mitigation. After calling `my $rqst = $conn->get_request()` one could inspect the returned `HTTP::Request` object. Querying the 'Content-Length' (`my $cl = $rqst->header('Content-Length')`) will show any abnormalities that should be dealt with by a `400` response. Expected strings of 'Content-Length' SHOULD consist of either a single non-negative integer, or, a comma separated repetition of that number. (that is `42` or `42, 42, 42`). Anything else MUST be rejected.
From the CVE record by GitHub_M, last updated April 22, 2025, 17:54 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| libwww-perl | HTTP-Daemon | < 6.15 |
As the CVE record by GitHub_M states it, last updated April 22, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| http\ | \ | daemon_project | application |
| debian | debian linux | 10.0 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 04:44 UTC.
How severe is CVE-2022-31081?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L | GitHub_M |
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N | NVD |
| Medium 6.4 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2022-31081 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, April 22, 2025)
- EPSS
- 2.39% probability of exploitation activity in the next 30 days, percentile 84.5 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-444 Inconsistent Interpretation of HTTP Requests
Where are the vendor advisories and references?
- https://portswigger.net/research/http-desync-attacks-request-smuggling-reborn
- https://github.com/libwww-perl/HTTP-Daemon/security/advisories/GHSA-cg8c-pxmv-w7cf
- https://github.com/libwww-perl/HTTP-Daemon/commit/8dc5269d59e2d5d9eb1647d82c449ccd880f7fd0
- https://github.com/libwww-perl/HTTP-Daemon/commit/e84475de51d6fd7b29354a997413472a99db70b2
- https://cwe.mitre.org/data/definitions/444.html
- https://datatracker.ietf.org/doc/html/rfc7230#section-9.5
- http://metacpan.org/release/HTTP-Daemon/
- [debian-lts-announce] 20220930 [SECURITY] [DLA 3127-1] libhttp-daemon-perl security update mailing-list
- FEDORA-2023-c230cc08c4 vendor-advisory
- FEDORA-2023-424636c7cb vendor-advisory
- FEDORA-2023-748e811334 vendor-advisory
When was it published, and where is the official record?
- Reserved
- May 18, 2022
- Published
- June 27, 2022, 00:00 UTC
- CVE record updated
- April 22, 2025, 17:54 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 04:44 UTC
- Last checked
- CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:47 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2022-31081
Is CVE-2022-31081 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 2.39% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of libwww-perl HTTP-Daemon are affected by CVE-2022-31081?
HTTP-Daemon < 6.15, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2022-31081?
6.15, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-31081?
High (7.3, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2022-31081?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.