public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-MIME-tools] epel8: Update to 5.522
@ 2026-10-28 14:06 Paul Howarth
0 siblings, 0 replies; only message in thread
From: Paul Howarth @ 2026-10-28 14:06 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/perl-MIME-tools
Branch : epel8
Commit : edaa90e5a6ecad74a8f2a90a8cef90bbac2c8d2f
Author : Paul Howarth <paul@city-fan.org>
Date : 2026-10-28T14:05:49+00:00
Stats : +55/-4 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/perl-MIME-tools/c/edaa90e5a6ecad74a8f2a90a8cef90bbac2c8d2f?branch=epel8
Log:
Update to 5.522
- New upstream release 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
---
diff --git a/perl-MIME-tools.spec b/perl-MIME-tools.spec
index d9e8ef8..910551b 100644
--- a/perl-MIME-tools.spec
+++ b/perl-MIME-tools.spec
@@ -1,6 +1,6 @@
Summary: Modules for parsing and creating MIME entities in Perl
Name: perl-MIME-tools
-Version: 5.520
+Version: 5.522
Release: 1%{?dist}
License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/MIME-tools
@@ -40,10 +40,12 @@ BuildRequires: perl(Digest::MD5)
BuildRequires: perl(Exporter)
BuildRequires: perl(IO::Socket::INET)
BuildRequires: perl(lib)
+BuildRequires: perl(strict)
BuildRequires: perl(Test::Deep)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage)
+BuildRequires: perl(warnings)
# ================ Dependencies ======================
Requires: perl(Convert::BinHex)
@@ -135,6 +137,55 @@ TEST_POD_COVERAGE=0 make test
%{_mandir}/man3/MIME::Words.3*
%changelog
+* Wed Oct 28 2026 Paul Howarth <paul@city-fan.org> - 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
+
* Thu Oct 22 2026 Paul Howarth <paul@city-fan.org> - 5.520-1
- Update to 5.520
- MIME::Parser used O(N^2) CPU time and memory parsing a MIME message nested
@@ -143,8 +194,8 @@ TEST_POD_COVERAGE=0 make test
- 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 when parsing
- it; this could break DKIM
+ - 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
diff --git a/sources b/sources
index 87a38ec..5a3cb9d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (MIME-tools-5.520.tar.gz) = 7d9eaae8389add61f85a9c55db42c1eea9b0b6fd8c13645599cb549160545f58e93030fb9ba2d0452825c7b3a77c994247c8b6ec43c4e352c8821e80f383640d
+SHA512 (MIME-tools-5.522.tar.gz) = ced238b1b40b855edcf803cc86b95d92a2fd88002fa07c8ef2e590e32340239f603b631ed97116d4d165e0b6fb0430a4d72f92f9ce19ff6cab2b085b42a6b1a8
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-28 14:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-28 14:06 [rpms/perl-MIME-tools] epel8: Update to 5.522 Paul Howarth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox