Skip to main content
← All vulnerabilities
CVE-2026-117500EUVD-2026-112276GHSA-W2GQ-C2CX-W9Q6

HTTP::Body versions before 1.24_01 for Perl allow CPU exhaustion via regex backtracking on the filename of a multipart upload

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.24_01
None on Exploit-DB, Metasploit or GitHub

Summary

HTTP::Body, a Perl module for parsing HTTP request bodies, is affected, so applications that handle multipart file uploads with it can be impacted. A remote attacker can send a single crafted upload with a specially constructed filename that makes the parser consume excessive CPU time, potentially slowing or denying service to the application.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original description

HTTP::Body versions before 1.24_01 for Perl allow CPU exhaustion via regex backtracking on the filename of a multipart upload. For every file part, the multipart parser finds the suffix of the uploaded filename by matching the default $basename_regexp, qr/[^.]+(\.[^\\\/]+)$/, against the whole basename. A basename made of many dots and ending in a backslash makes the regex backtrack in time quadratic in its length. A remote attacker can exhaust CPU with one request, as a basename of about 32 KB takes several seconds to match and every file part is matched separately.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • HTTP-Body

    fixed in 1.24_01

References 3

GitHub · libwww-perl/HTTP-Body

metacpan.org