ELBA-2026-605533

ELBA-2026-605533 - perl-MIME-tools Bug Fix update

Type:BUG
Impact:NA
Release Date:2026-11-06

Description


[5.522-1]
- Update to 5.522
- parse_params: Flag a parameter list that could not be parsed
- Detect additional ambiguous parse situations when parameter names contain
illegal characters
- Fixes: CVE-2026-116264 invalid parameter hides boundary/filename
- parse_params: Check the boundary after RFC 2231 reassembly
- Another ambiguous-parse case was missed (trailing space after boundary
was not detected for RFC-2231-encoded boundaries)
- Fixes: CVE-2026-116265 RFC 2231 boundary skips ambiguity checks
- parse_params: Stricter checking for encoded boundaries; earlier versions
would miss some cases
- Fixes: CVE-2026-116266 boundary changed by decoding not flagged
- Cap the indentation levels in the Results: structure; otherwise,
specially-crafted messages could consume large amounts of memory
- Fixes: CVE-2026-116267 indent stored per message per level
- parse_params: Stop a comment match at the next parenthesis; otherwise,
specially-crafted messages could cause the regex back-tracker to consume
large amounts of CPU time
- Note that MIME::Parser does not correctly parse ((nested comments)) and
has never done so
- Fixes: CVE-2026-116268 unclosed '(' comments backtrack CPU exhaustion
- parse_params: Re-encode filename* values without charset tricks
- Specially-crafted messages could trick recommended_filename() into
returning an empty string instead of a plausible filename
- Fixes: CVE-2026-116269 RFC 2231 language tag empties filename
- decode_mimewords: Do not copy the input into each error; otherwise,
specially-crafted messages could consume large amounts of memory
- Fixes: CVE-2026-116270 each bad '=?' copies the input into
- FileUnder: Do not reuse an existing generated directory; otherwise,
attackers might be able to use symbolic links to get files created in
unexpected locations
- Fixes: CVE-2026-116271 FileUnder reuses a pre-created directory
- parse_params: Flag comments other readers do not skip
- Specially-crafted messages could create ambiguous messages without
setting the ambiguous_parse flag
- Fixes: CVE-2026-116272 comment hides a duplicate boundary
- Call whine() rather than error() if max_parts or max_depth is exceeded
during a parse; this lets us return undef rather than throwing an exception
if ignore_errors() is set to 0
- Change to defaults: max_parts is now set to 1000 and max_depth to 64 rather
than being unlimited; this should not affect most real-world uses of
MIME::tools, but you may need to increase these values or set them to -1
(unlimited) if you run into trouble (* NOTE INCOMPATIBILITY *)
- Fixes: CVE-2026-116273 max_parts and max_depth unlimited
- Do not signal an ambiguous parse if we have filename='' or name=''
- Update author names in META.yml
- Add git repo to META.yml

[5.520-1]
- Update to 5.520
- MIME::Parser used O(N^2) CPU time and memory parsing a MIME message nested
N levels deep, and a smallish specially-crafted message could DOS the
computer by making it consume enormous amounts of memory and CPU time
- The parser was modified to use O(N) time and memory in this case
- Additionally, a new MIME::Parser::max_depth() function was added to limit
the nesting depth before declaring a parse failure
- MIME::Parser would ignore multiple blank lines in a message preamble when
parsing it; this could break DKIM
- If a MIME boundary includes trailing whitespace, we mark the parse as
ambiguous

[5.519-1]
- Update to 5.519
- Some (buggy) software creates base64-encoded parts as a concatenation of
multiple base64-encoded streams, and some client software decodes each
stream separately and concatenates the results; duplicate this behavior in
MIME::tools to prevent it from being used as a mechanism to sneak
dangerous content past a security scanner

[5.518-1]
- Update to 5.518
- Add tests for encoded 'boundary=XXX' parameters and set the ambiguous-parse
flag if any are found
- MIME::tools chooses to decode encoded boundary parameters, whilst MUA
behaviors differ; Claws-Mail decodes them while Thunderbird does not
- Don't ignore invalid whitespace after 'boundary=XXX' parameter
- Ignore comments between tokens; a header parameter can be written
foo(comment)=bar and it's the same as foo=bar

[5.517-1]
- Update to 5.517
- Handle MIME parameters of the form param= better (i.e. a parameter with no
value at all); it's treated the same as param='' rather than aborting the
parse
- Diagnose additional types of malformed MIME as ambiguous; specifically, an
empty boundary parameter like boundary= or boundary='' is treated as
ambiguous

[5.515-1]
- Update to 5.515
- Fix the 'version' setting in META.yml (no functional changes)

[5.514-1]
- Update to 5.514
- Move the guts of the ambiguous_content method to MIME::Head
- Add MIME::Entity->ambiguous_content that returns true if this entity or
any of its parts, recursively, has a MIME::Head whose ambiguous_content
method returns true
- Keep MIME::Parser->ambiguous_content as a cached version of the most
recently parsed ->ambiguous_content
- Add some missing files to MANIFEST

[5.513-1]
- Update to 5.513
- Add MIME::Parser->ambiguous_content to indicate one of several types of
ambiguous MIME content that could be security risks
- Add the '@duplicate_parameters' pseudo-parameter to let caller detect
duplicate MIME parameters on a MIME header

[5.512-1]
- Update to 5.512
- Use much larger chunk sizes for Base-64 encoding, which reduces both
encoding time and space overhead (CPAN RT#128400, CPAN RT#130110)

[5.511-1]
- Update to 5.511
- Silence a warning if used with a development version of MIME::QuotedPrint
(CPAN RT#149225, CPAN RT#150118)




Updated Packages


Release/ArchitectureFilenamesha256Superseded By AdvisoryChannel Label
Oracle Linux 8 (x86_64) perl-MIME-tools-5.522-1.el8.src.rpm92504452172614574d7363526cb43d73037d105d4a5340e2e914e7b7da375e70-ol8_x86_64_developer_EPEL
perl-MIME-tools-5.522-1.el8.noarch.rpma3d081c4d51abde6f504f051fa033ff2ca516b31e7b34a97ec3dcd6019d7850f-ol8_x86_64_developer_EPEL



This page is generated automatically and has not been checked for errors or omissions. For clarification or corrections please contact the Oracle Linux ULN team

software.hardware.complete