CVE-2026-120635
Deferred Deferred - Pending Action

HTTP Request Smuggling in Perl CGI

Vulnerability report for CVE-2026-120635, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-04

Last updated on: 2026-11-04

Assigner: CPANSec

Description

CGI versions before 5.00 for Perl allow form fields to be smuggled past proxies and WAFs via multipart parsing that differs from the RFCs. The multipart/form-data parser matches the boundary anywhere rather than at the start of a line, uses the boundary without its leading -- for some client-supplied User-Agent values, finds the Content-Disposition name and filename inside the quoted values of other parameters, and corrupts parts when the boundary nears the 4096-byte read size.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-04
Last Modified
2026-11-04
Generated
2026-11-08
AI Q&A
2026-11-04
EPSS Evaluated
2026-11-06
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
leejo cgi.pm to 5.00 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-436 Product A handles inputs or steps differently than Product B, which causes A to perform incorrect actions based on its perception of B's state.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in CGI.pm for Perl involves improper parsing of multipart form data. The parser incorrectly matches boundaries anywhere in the body instead of at the start of a line, omits the required '--' prefix for certain User-Agents, extracts parameters from quoted values, and fails when boundaries near the 4096-byte read size. These flaws allow attackers to smuggle form fields past proxies and WAFs.

Detection Guidance

Detecting this vulnerability requires checking for improper multipart form data parsing in CGI.pm versions before 5.00. Inspect Perl applications using CGI.pm for multipart handling. Review server logs for malformed requests with boundaries not starting with '--' or boundaries near 4096 bytes. Test with crafted requests containing boundaries in field values or quoted parameters.

Impact Analysis

Attackers could exploit this to bypass security controls like WAFs or proxies, smuggling malicious form fields into applications. This might enable unauthorized actions, data exfiltration, or other attacks depending on the application's functionality.

Compliance Impact

This vulnerability could undermine compliance with GDPR and HIPAA by allowing unauthorized data smuggling through improper multipart form parsing. Attackers could bypass security controls like WAFs or proxies to inject malicious form fields, potentially exfiltrating sensitive data or manipulating input handling in ways that violate data protection requirements.

Mitigation Strategies

Update CGI.pm to version 5.00 or later to address multipart parsing issues and ensure RFC 2046 compliance.

Review and test multipart form data handling in your applications to confirm proper boundary and header parsing.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-120635. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...