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.
Advisories

No advisories yet.

Fixes

Solution

HTTP::Session2 has been deprecated since version 1.11, users are recommended to migrate to a different solution.


Workaround

Upgrade to version 1.10 or later. Use a session storage module that offers protection against command injections, such as Cache::Memcached::Fast::Safe.

History

Wed, 18 Mar 2026 19:30:00 +0000

Type Values Removed Values Added
First Time appeared Tokuhirom http\
Weaknesses NVD-CWE-noinfo
CPEs cpe:2.3:a:tokuhirom:http\:\:session2:*:*:*:*:*:perl:*:*
Vendors & Products Tokuhirom http\

Tue, 03 Mar 2026 21:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 02 Mar 2026 12:15:00 +0000

Type Values Removed Values Added
First Time appeared Tokuhirom
Tokuhirom http::session2
Vendors & Products Tokuhirom
Tokuhirom http::session2

Sat, 28 Feb 2026 01:30:00 +0000

Type Values Removed Values Added
References

Fri, 27 Feb 2026 20:30:00 +0000

Type Values Removed Values Added
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.
Title 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
Weaknesses CWE-20
References

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2026-03-03T20:22:20.829Z

Reserved: 2026-02-26T11:50:05.854Z

Link: CVE-2018-25160

cve-icon Vulnrichment

Updated: 2026-02-28T00:15:29.050Z

cve-icon NVD

Status : Analyzed

Published: 2026-02-27T21:16:03.590

Modified: 2026-03-18T19:25:49.570

Link: CVE-2018-25160

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-03-02T12:05:00Z

Weaknesses