Summary
This update for perl-HTTP-Body fixes the following issues:
Changes in perl-HTTP-Body:
Updated to 1.250.0 (1.25):
See /usr/share/doc/packages/perl-HTTP-Body/Changes
- 1.25 2026-11-05 18:47:08+01:00 Europe/Berlin
- SECURITY, CVE-2026-117500: the suffix of an upload's filename is
worked out from its last 255 bytes only, only when $file_temp_suffix
is unset, and for the default $basename_regexp by a string search
instead of the regexp; a filename of many dots ending in a backslash
made the default $basename_regexp take time quadratic in its length
(7 s per part at the 32 KiB header limit, once per part) in the
default configuration (bsc#1288651)
- SECURITY, CVE-2026-117501: a chunked body is framed line by line with
a limit on the chunk-size line ($HTTP::Body::max_chunk_line_size,
1024 bytes), chunk data is passed on as it arrives instead of being
held until the chunk is complete, malformed framing (a line that is
no chunk-size line, a size that does not fit an integer, chunk data
not followed by CRLF) croaks instead of buffering forever, and
nothing after the trailer or after the body parser is done is
kept (bsc#1288652)
- SECURITY, CVE-2026-121006: the trailer of a chunked body is limited
to $HTTP::Body::max_trailer_size bytes (32768) and
$HTTP::Body::max_trailer_lines header lines (100); everything that
followed the last chunk in the same call to add() was parsed with
HTTP::Headers, which takes time quadratic in the number of fields of
one name (6 s for 16 KiB of "a:" lines) (bsc#1289589)
- trailing_headers: a trailer is read up to its blank line also when it
arrives in later calls to add() than the last chunk; it used to be
lost
- XFormsMultipart: a part other than the start part now gets its
temporary file and the NUL strip of RT#123615 like any upload; it used
to be returned by upload without a tempname, its data dropped
- parse_header: a continuation line at the start of a part's header
block is dropped instead of dying, and a line that is no header field
is dropped instead of being stored under a made-up field name
- add: the caller's buffer is no longer modified in place when it
exceeds the Content-Length, so a read-only value is accepted
- Docs: every method of the parser classes is described, add and
length say what they return; the README lists every limit,
$basename_regexp and all runtime prerequisites
- File::Spec is declared as a prerequisite
updated to 1.240.0 (1.24):
See /usr/share/doc/packages/perl-HTTP-Body/Changes
- 1.24 2026-10-26 18:28:01+01:00 Europe/Berlin:
- SECURITY, CVE-2026-116131: urlencoded bodies are limited to
$HTTP::Body::UrlEncoded::max_params fields and multipart bodies to
$HTTP::Body::MultiPart::max_parts parts (1000 each); reported and
patched by CPANSec. (bsc#1288644)
- SECURITY, CVE-2026-116132: the temporary file of an upload that is
still incomplete at DESTROY-time is now always deleted; reported and
patched by CPANSec (also fixes RT#84004) (bsc#1288645)
- SECURITY, CVE-2026-116133: a multipart body without a boundary or with
a malformed delimiter line no longer takes quadratic time; a malformed
delimiter line now croaks, and padding or an epilogue after the close
delimiter is accepted; reported and patched by CPANSec. bsc#1288646
- SECURITY, CVE-2026-116134: a multipart part's header block is limited
to $HTTP::Body::MultiPart::max_header_size bytes (32768) and
$HTTP::Body::MultiPart::max_header_lines lines (100); reported and
patched by CPANSec. (bsc#1288647)
- SECURITY, CVE-2026-116135: mixed-case percent escapes (e.g. %aB) in
urlencoded bodies are decoded instead of being dropped; reported and
patched by CPANSec. (bsc#1288648)
- SECURITY, CVE-2026-116285: the chunk size line of a chunked body is
matched in linear instead of quadratic time (bsc#1288649)
- SECURITY, CVE-2026-116531: a chunked body is now framed independently
of where the reads feeding add() fall; a read that split a chunk could
leave the parser never reaching 'done', hanging a server that reads
until done (bsc#1288650)
- INCOMPATIBLE: add() now croaks when one of the new limits is exceeded.
Raise the variable, or set it to 0 to disable that limit, if your
forms need more. See NOTES in HTTP::Body.
- RT#105021: temp-file write errors in MultiPart and OctetStream now
croak instead of silently truncating the stored body
- RT#123615: a NUL byte in a multipart filename is stripped so it cannot
truncate a path handed on downstream
- Moved repository from Shadowcat git to GitHub (libwww-perl/HTTP-Body)
- Updated all metadata resources to point to GitHub
- Fixed prerequisites: moved Digest::MD5 to test deps, changed HTTP::Headers to HTTP::Message
- Added README.md for GitHub
- Updated support section in documentation
- Moved the POD, POD coverage and Perl::Critic tests to xt/release, so
they run on every release instead of being skipped
Fixed packages 1
| Release | Package | Fixed in |
|---|---|---|
| openSUSE · Leap 16.1 | perl-HTTP-Body | 1.250.0-bp161.1.1 |
Vulnerabilities 10
-
Critical 9.8
HTTP::Body versions before 1.23_01 for Perl drop mixed-case percent escapes from urlencoded form fields instead of decoding them
HTTP::Body versions before 1.23_01 for Perl drop mixed-case percent escapes from urlencoded form fields instead of decoding them. The decode table holds only the all-lowercase and all-uppercase spelling of each hex pair, while the escape pattern matches eithe…
-
Critical 9.1
HTTP::Body versions before 1.23_01 for Perl lose track of chunk boundaries in chunked request bodies when a read ends inside a chunk
HTTP::Body versions before 1.23_01 for Perl lose track of chunk boundaries in chunked request bodies when a read ends inside a chunk. In chunked mode, used when no content length is given, add() treats a chunk as complete once the buffer is as long as the chu…
-
High 7.5
HTTP::Body versions before 1.23_01 for Perl allow CPU exhaustion via quadratic rescanning of a multipart body with a missing or malformed boundary
HTTP::Body versions before 1.23_01 for Perl allow CPU exhaustion via quadratic rescanning of a multipart body with a missing or malformed boundary. Before the first part, and between parts, the multipart parser searches the whole buffered body for the next bo…
-
High 7.5
HTTP::Body versions before 1.23_01 for Perl allow memory exhaustion via an unbounded multipart part header block
HTTP::Body versions before 1.23_01 for Perl allow memory exhaustion via an unbounded multipart part header block. The multipart parser takes everything up to the first blank line after a boundary as the part's header block, with no limit on its size or number…
-
High 7.5
HTTP::Body versions before 1.23_01 for Perl allow CPU exhaustion via quadratic regex backtracking when parsing chunked request bodies
HTTP::Body versions before 1.23_01 for Perl allow CPU exhaustion via quadratic regex backtracking when parsing chunked request bodies. In chunked mode, used when no content length is given, add() matches each chunk-size line with `/^([\da-fA-F]+).*\x0D\x0A/`.…
-
High 7.5
HTTP::Body versions before 1.24_01 for Perl allow CPU exhaustion via regex backtracking on the filename of a multipart upload
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/[^.…
-
High 7.5
HTTP::Body versions before 1.24_01 for Perl allow memory exhaustion via unbounded buffering of chunked request bodies
HTTP::Body versions before 1.24_01 for Perl allow memory exhaustion via unbounded buffering of chunked request bodies. In chunked mode, used when no content length is given, add() holds each chunk in memory until all of it has arrived. A line that is not a ch…
-
High 7.5
HTTP::Body versions before 1.24_02 for Perl parse the trailer in quadratic time
HTTP::Body versions before 1.24_02 for Perl parse the trailer in quadratic time. Everything after the last chunk in the same call to add() is parsed with HTTP::Headers, which takes time quadratic in the number of fields of one name. For example, it takes seve…
-
High 7.1
HTTP::Body versions before 1.23_01 for Perl leave the temporary file of an incomplete multipart upload on disk
HTTP::Body versions before 1.23_01 for Perl leave the temporary file of an incomplete multipart upload on disk. The multipart parser creates a temporary file as soon as a file part starts, but adds it to the upload list only when the part completes. Uploads a…
-
Medium 6.5
HTTP::Body versions before 1.23_01 for Perl allow memory and temporary file exhaustion via an unlimited number of form fields and multipart parts
HTTP::Body versions before 1.23_01 for Perl allow memory and temporary file exhaustion via an unlimited number of form fields and multipart parts. The urlencoded parser splits the whole body on its separators at once, creating one scalar per separator before …
References
-
report
https://bugzilla.suse.com/1288644
-
report
https://bugzilla.suse.com/1288645
-
report
https://bugzilla.suse.com/1288646
-
report
https://bugzilla.suse.com/1288647
-
report
https://bugzilla.suse.com/1288648
-
report
https://bugzilla.suse.com/1288649
-
report
https://bugzilla.suse.com/1288650
-
report
https://bugzilla.suse.com/1288651
-
report
https://bugzilla.suse.com/1288652
-
report
https://bugzilla.suse.com/1289589
-
web
https://www.suse.com/security/cve/CVE-2026-116131
-
web
https://www.suse.com/security/cve/CVE-2026-116132
-
web
https://www.suse.com/security/cve/CVE-2026-116133
-
web
https://www.suse.com/security/cve/CVE-2026-116134
-
web
https://www.suse.com/security/cve/CVE-2026-116135
-
web
https://www.suse.com/security/cve/CVE-2026-116285
-
web
https://www.suse.com/security/cve/CVE-2026-116531
-
web
https://www.suse.com/security/cve/CVE-2026-117500
-
web
https://www.suse.com/security/cve/CVE-2026-117501
-
web
https://www.suse.com/security/cve/CVE-2026-121006