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.
Published: 2026-11-03
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Injecting form fields past proxies
Action: Immediate Patch
AI Analysis

Impact

CGI for Perl versions before 5.00 parse multipart/form‑data in a manner that does not adhere to RFC 2046. The parser accepts boundary delimiters that appear anywhere in the payload, may omit the required leading double dashes for certain User‑Agent values, and extracts the name and filename from quoted values of unrelated parameters. When the boundary approaches the 4096‑byte read limit, the parser can corrupt request parts. These deviations allow attackers to construct multipart requests that contain form fields not detected by upstream edge proxies or Web Application Firewalls, effectively injecting data that would normally be rejected. The vulnerability represents a control‑data handling flaw (CWE‑436) and enables the insertion of form fields that bypass upstream controls.

Affected Systems

The LEEJO CGI module for Perl with any release older than 5.00 is affected. Any Perl‑based web application that imports this module directly or indirectly via other libraries or frameworks may be at risk unless it has migrated to a fixed release. Because the module is widely used for parsing form data, many sites that rely on it remain susceptible.

Risk and Exploitability

Exploitation requires only network access to send an HTTP POST request with a crafted multipart body; no credentials or privileged context are needed. The EPSS score is not available and the vulnerability is not included in CISA’s KEV catalog, so the documented prevalence of exploitation is unknown. The likely attack vector is an attacker originating from the network perimeter constructing malicious multipart requests that pass through proxies or WAFs and reach the CGI parser. If such a request is processed, the server may accept injected data that bypasses upstream controls.

Generated by OpenCVE AI on November 4, 2026 at 10:55 UTC.

Remediation

Vendor Solution

Upgrade to CGI 5.00 or later.


OpenCVE Recommended Actions

  • Upgrade the CGI module to version 5.00 or later, which implements RFC‑compliant multipart parsing.
  • Apply the patch commits available in the LEEJO CGI repository to correct the boundary handling logic when upgrading is not immediately possible.
  • Validate multipart boundaries at the application level—reject any request that does not place the boundary string at the start of a line or includes the required leading double dashes.

Generated by OpenCVE AI on November 4, 2026 at 10:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 04 Nov 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-444
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate


Wed, 04 Nov 2026 00:00:00 +0000

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

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2026-11-03T23:40:15.070Z

Reserved: 2026-11-02T17:40:25.384Z

Link: CVE-2026-120635

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-04T00:17:24.730

Modified: 2026-11-04T00:17:24.730

Link: CVE-2026-120635

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-11-03T23:40:15Z

Links: CVE-2026-120635 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-11-04T11:00:15Z

Weaknesses
  • CWE-436

    Interpretation Conflict

  • CWE-444

    Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')