CVE-2018-25160 Details
Description
HTTP::Session2 versions through 1.09 for Perl does not validate the format of user provided session ids, enabling code injection or other impact depending on session backend. For example, if an application uses memcached for session storage, then it may be possible for a remote attacker to inject memcached commands in the session id value.
A code injection vulnerability has been identified in HTTP::Session2 for Perl, affecting versions through 1.09. The issue arises because the library does not properly validate user-provided session IDs. This lack of validation can lead to code injection or other impacts, depending on the session storage backend used. For instance, if memcached is employed for session storage, a remote attacker might inject memcached commands through the session ID.
Users are advised to upgrade to HTTP::Session2 version 1.10 or later, and to use a session storage module that protects against command injection, such as Cache::Memcached::Fast::Safe. However, since HTTP::Session2 has been deprecated, users should migrate to a different solution.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 3, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/tokuhirom/HTTP-Session2/commit/813838f6d08034b6a265a70e53b59b941b5d3e6d.patch | CPANSec | Patch |
| https://metacpan.org/pod/Cache::Memcached::Fast::Safe | CPANSec | Third Party Advisory |
| https://metacpan.org/release/TOKUHIROM/HTTP-Session2-1.10/source/Changes | CPANSec | ProductRelease Notes |
| http://www.openwall.com/lists/oss-security/2026/02/27/13 | CVE | Mailing ListThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
| CWE-20 | Improper Input Validation | CPANSec |
Affected Products
| Product | Versions |
|---|---|
| tokuhirom http::session2 | <= 1.09 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | CPANSec |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 18, 2026 | Initial Analysis | [email protected] |
| Mar 3, 2026 | CVE Modified | CISA-ADP |
| Feb 28, 2026 | CVE Modified | CVE |
| Feb 27, 2026 | New CVE Received | CPANSec |