Fedora alert FEDORA-2026-ad8dfeadc9 (perl-Cpanel-JSON-XS)
| From: | updates--- via package-announce <package-announce@lists.fedoraproject.org> | |
| To: | package-announce@lists.fedoraproject.org | |
| Subject: | [SECURITY] Fedora 45 Update: perl-Cpanel-JSON-XS-4.80-1.fc45 | |
| Date: | Sat, 31 Oct 2026 19:03:13 +0000 | |
| Message-ID: | <20261031190313.9B1AB184489F@bastion01.rdu3.fedoraproject.org> | |
| Archive-link: | Article |
-------------------------------------------------------------------------------- Fedora Update Notification FEDORA-2026-ad8dfeadc9 2026-10-31 18:23:01.959873+00:00 -------------------------------------------------------------------------------- Name : perl-Cpanel-JSON-XS Product : Fedora 45 Version : 4.80 Release : 1.fc45 URL : https://metacpan.org/release/Cpanel-JSON-XS Summary : JSON::XS for Cpanel, fast and correct serializing Description : This module converts Perl data structures to JSON and vice versa. Its primary goal is to be correct and its secondary goal is to be fast. To reach the latter goal it was written in C. -------------------------------------------------------------------------------- Update Information: Current upstream release, with multiple security fixes, updates for performance and correctness. -------------------------------------------------------------------------------- ChangeLog: * Thu Oct 15 2026 Paul Howarth <paul@city-fan.org> - 4.80-1 - Update to 4.80 - Security fixes: - CVE-2026-110672 decode: free the hash key on "Duplicate keys not allowed" and on a missing ':' (leak) - CVE-2026-110673 decode: charge allow_tags "(" nesting against max_depth (stack overflow) - CVE-2026-110674 decode: look bare keys up as UTF-8, so the duplicate check no longer misses or crashes on non-ASCII keys - CVE-2026-110675 decode: validate bare hash keys as UTF-8 like quoted keys (malformed keys) - CVE-2026-110676 encode: compact allow_bignum Math::BigFloat values with huge exponents (30MB from 12 bytes) - CVE-2026-110677 decode: fix the dupkeys_as_arrayref reference counts (leaked every array) - CVE-2026-110678 incr_parse: apply max_size to the buffered text in every context - CVE-2026-110680 encode: bound the canonical key snapshot for growing tied or shared hashes (overflow) - CVE-2026-110681 new: clone the callbacks and buffer SVs on ithread clone instead of sharing the parent's pointers - CVE-2026-110682 incr_parse: reject a top-level number, true, false or null unless allow_nonref was set explicitly, as chunking changes their value; strings, arrays and objects are unchanged - CVE-2026-110684 encode: release the temporary references when stringifying overloaded objects (leak) - CVE-2026-110685 decode_tag: free the tag and its arguments when THAW dies (leak) - CVE-2026-110686 decode: keep the filter callbacks alive while they run (use-after-free when a filter removes itself) - CVE-2026-110687 canonical: sort byte-string keys as Latin-1 - CVE-2026-110688 incr_parse: validate UTF-8 only up to the end of the decoded text (quadratic CPU) - Add version markers to all module files (GH#260) - Use utf8n_to_uvchr on Perl 5.32 and later to avoid the deprecated utf8n_to_uvuni API (GH#260) - Add schema-based validation for decoded JSON (GH#238): - Cpanel::JSON::XS::Type now provides check_type($data, $schema[, $found_type]), which validates an already-decoded perl structure against a type spec built from the existing encoder building blocks (JSON_TYPE_* / json_type_arrayof / json_type_hashof / json_type_anyof), plus the new json_type_optional() for hash keys that may be absent, and short scalar type name sugar ('Str', 'Int', 'Float', 'Bool', 'Null', 'Any', and nullable 'Str?' etc.) so a schema reads as "just a hash of keys and types", as requested; unlike the encoder's hash type spec, a plain hashref schema is closed: unknown keys and missing required keys are reported - New $json->decode_and_validate($json_text, $schema) method decodes and croaks with all mismatches if validation fails, using decode()'s own type introspection as ground truth to avoid perl's usual dual-var/stringified-number ambiguity - json_type_optional() and the nullable '?' type-name suffixes ('Str?', 'Int?', 'Float?', 'Bool?') give schemas an explicit way to declare a key/value as optional instead of demanding a complete type specification for every key - The encoder now also understands json_type_optional() directly (it unwraps to the wrapped type, since encode() only ever sees keys that are actually present): the exact same type spec built for check_type()/ decode_and_validate() can now be handed to encode() as-is, instead of croaking with "no type was specified for hash key '...'" for every optional key; encoding stays strict by default otherwise: a hash key with no entry at all in the type spec still croaks (GH#242) - eg/bench_large.pl: old encode: 20.5–22.9/s decode: 16.2–16.5/s for 4.53 new encode: 21.1–22.5/s decode: 15.7–16.3/s for 4.80 -------------------------------------------------------------------------------- References: [ 1 ] Bug #2556460 - CVE-2026-110676 perl-Cpanel-JSON-XS: Memory and CPU exhaustion via allow_bignum exponent encoding [fedora-all] https://bugzilla.redhat.com/show_bug.cgi?id=2556460 [ 2 ] Bug #2556462 - CVE-2026-110682 perl-Cpanel-JSON-XS: Input chunking in incr_parse alters decoded values [fedora-all] https://bugzilla.redhat.com/show_bug.cgi?id=2556462 [ 3 ] Bug #2556464 - CVE-2026-110673 perl-Cpanel-JSON-XS: Stack exhaustion via nested tagged values under allow_tags [fedora-all] https://bugzilla.redhat.com/show_bug.cgi?id=2556464 [ 4 ] Bug #2556465 - CVE-2026-110672 perl-Cpanel-JSON-XS: Memory leak in decode_hv when rejecting objects [fedora-all] https://bugzilla.redhat.com/show_bug.cgi?id=2556465 [ 5 ] Bug #2556468 - CVE-2026-110681 perl-Cpanel-JSON-XS: Use of parent interpreter scalars in cloned threads [fedora-all] https://bugzilla.redhat.com/show_bug.cgi?id=2556468 [ 6 ] Bug #2556469 - CVE-2026-110680 perl-Cpanel-JSON-XS: Out-of-bounds write during canonical encoding [fedora-all] https://bugzilla.redhat.com/show_bug.cgi?id=2556469 [ 7 ] Bug #2556472 - CVE-2026-110674 perl-Cpanel-JSON-XS: Type confusion via duplicate non-ASCII bare keys [fedora-all] https://bugzilla.redhat.com/show_bug.cgi?id=2556472 [ 8 ] Bug #2556474 - CVE-2026-110675 perl-Cpanel-JSON-XS: Acceptance of malformed UTF-8 in bare hash keys [fedora-all] https://bugzilla.redhat.com/show_bug.cgi?id=2556474 [ 9 ] Bug #2556476 - CVE-2026-110678 perl-Cpanel-JSON-XS: Memory exhaustion in incr_parse bypasses max_size [fedora-all] https://bugzilla.redhat.com/show_bug.cgi?id=2556476 [ 10 ] Bug #2556478 - CVE-2026-110688 perl-Cpanel-JSON-XS: Quadratic CPU usage in incr_parse [fedora-all] https://bugzilla.redhat.com/show_bug.cgi?id=2556478 [ 11 ] Bug #2556481 - CVE-2026-110686 perl-Cpanel-JSON-XS: Use-after-free in decode_hv filter callbacks [fedora-all] https://bugzilla.redhat.com/show_bug.cgi?id=2556481 [ 12 ] Bug #2556482 - CVE-2026-110685 perl-Cpanel-JSON-XS: Memory leak in decode_tag when THAW method dies [fedora-all] https://bugzilla.redhat.com/show_bug.cgi?id=2556482 [ 13 ] Bug #2556485 - CVE-2026-110677 perl-Cpanel-JSON-XS: Memory leak in decode_hv under dupkeys_as_arrayref [fedora-all] https://bugzilla.redhat.com/show_bug.cgi?id=2556485 [ 14 ] Bug #2556487 - CVE-2026-110687 perl-Cpanel-JSON-XS: Incorrect canonical sorting of byte-string keys in utf16_cmp [fedora-all] https://bugzilla.redhat.com/show_bug.cgi?id=2556487 [ 15 ] Bug #2556488 - CVE-2026-110684 perl-Cpanel-JSON-XS: Memory leak in encode_stringify when encoding overloaded objects [fedora-all] https://bugzilla.redhat.com/show_bug.cgi?id=2556488 -------------------------------------------------------------------------------- This update can be installed with the "dnf" update program. Use su -c 'dnf upgrade --advisory FEDORA-2026-ad8dfeadc9' at the command line. For more information, refer to the dnf documentation available at http://dnf.readthedocs.io/en/latest/command_ref.html#upgr... All packages are signed with the Fedora Project GPG key. More details on the GPG keys used by the Fedora Project can be found at https://fedoraproject.org/keys --------------------------------------------------------------------------------
Attachment: None (type=text/plain)
-- _______________________________________________ package-announce mailing list -- package-announce@lists.fedoraproject.org To unsubscribe send an email to package-announce-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-cond... List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/package-ann... Do not reply to spam, report it: https://forge.fedoraproject.org/infra/tickets/issues/new
