Alpine: multiple perl-cpanel-json-xs packages: security update to 4.82-r0

critical Tenable Cloud Security Plugin ID 499374

Description

There are packages installed that are affected by multiple vulnerabilities referenced in the following CVEs:

- Cpanel::JSON::XS versions before 4.80 for Perl leak the decoded arguments of a tagged value when its THAW
method dies in decode_tag. With allow_tags, a tagged value's class name and argument array are decoded and
passed to the class's THAW method. Both are released only after THAW returns, so a THAW that dies leaves
the whole decoded argument structure allocated. Each rejected document leaks data of a size the sender
chooses, so a process that catches the error and keeps running exhausts its memory. (CVE-2026-110685)

- Cpanel::JSON::XS versions before 4.80 for Perl leak the decoded key of an object rejected for a duplicate
key or a missing colon in decode_hv. A quoted key of 24 or more bytes, or one containing a non-ASCII byte
or an escape sequence, is decoded into a new scalar. Nothing frees that scalar when the object is rejected
for a missing ':' after the key or, from 4.09, for a duplicate key. Duplicate keys are an error unless
allow_dupkeys, dupkeys_as_arrayref or relaxed is set. A process that keeps running after a failed decode
retains one key per rejected document, with its size chosen by the sender. Repeated requests exhaust
process memory. (CVE-2026-110672)

- Cpanel::JSON::XS versions before 4.80 for Perl allow stack exhaustion via nested tagged values under
allow_tags in decode_tag. With allow_tags, "(" starts a tagged value. Its tag and value are decoded
recursively, and each can start another tagged value. Unlike arrays and objects, this nesting is not
counted against max_depth. A run of "(" bytes exhausts the C stack and triggers an uncatchable
segmentation fault regardless of max_depth. (CVE-2026-110673)

- Cpanel::JSON::XS versions from 4.33 before 4.80 for Perl miss duplicate non-ASCII bare keys, allowing type
confusion under dupkeys_as_arrayref in decode_hv. With allow_barekey, which relaxed enables, a bare key
containing a non-ASCII byte is stored as UTF-8 but looked up as raw bytes, so a repeated key escapes the
duplicate-key check and replaces the earlier value. From 4.41, under dupkeys_as_arrayref, a bare repeat
replaces the array that collects a key's values with a plain value, and the next quoted repeat pushes onto
that value as if it were an array. A JSON integer there is dereferenced as a pointer. Untrusted JSON
decoded with relaxed and dupkeys_as_arrayref can crash the process or dereference an address chosen by a
JSON number. (CVE-2026-110674)

- Cpanel::JSON::XS versions from 4.33 before 4.80 for Perl accept malformed UTF-8 in bare hash keys under
allow_barekey in decode_hv. With utf8 and allow_barekey, which relaxed enables, a quoted key is validated
as UTF-8 but a bare key's bytes are stored as a UTF-8 flagged string without any check. Malformed UTF-8,
control bytes and backslashes reach the decoded hash, while malformed UTF-8 and control bytes in a quoted
key or a value are rejected. Later operations on the key, including lc, uc or encoding the hash again, die
with a malformed UTF-8 error. (CVE-2026-110675)

Solution

Update the perl-cpanel-json-xs library and its related packages to version 4.82-r0 or later.

See Also

https://security.alpinelinux.org/vuln/CVE-2026-110672

https://security.alpinelinux.org/vuln/CVE-2026-110673

https://security.alpinelinux.org/vuln/CVE-2026-110674

https://security.alpinelinux.org/vuln/CVE-2026-110675

https://security.alpinelinux.org/vuln/CVE-2026-110676

https://security.alpinelinux.org/vuln/CVE-2026-110677

https://security.alpinelinux.org/vuln/CVE-2026-110678

https://security.alpinelinux.org/vuln/CVE-2026-110680

https://security.alpinelinux.org/vuln/CVE-2026-110681

https://security.alpinelinux.org/vuln/CVE-2026-110682

https://security.alpinelinux.org/vuln/CVE-2026-110684

https://security.alpinelinux.org/vuln/CVE-2026-110685

https://security.alpinelinux.org/vuln/CVE-2026-110686

https://security.alpinelinux.org/vuln/CVE-2026-110687

https://security.alpinelinux.org/vuln/CVE-2026-110688

Plugin Details

Severity: Critical

ID: 499374

Version: Revision 1.2

Type: Local

Published: 12/4/2026

Updated: 12/4/2026

Supported Sensors: Agentless Assessment

Risk Information

VPR

Risk Factor: Medium

Score: 5.8

Percentile: 95.86

CVSS v2

Risk Factor: High

Base Score: 9.4

Temporal Score: 7

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:N/A:C

CVSS Score Source: CVE-2026-110685

CVSS v3

Risk Factor: Critical

Base Score: 9.1

Temporal Score: 7.9

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 10/15/2026

Reference Information

CVE: CVE-2026-110672, CVE-2026-110673, CVE-2026-110674, CVE-2026-110675, CVE-2026-110676, CVE-2026-110677, CVE-2026-110678, CVE-2026-110680, CVE-2026-110681, CVE-2026-110682, CVE-2026-110684, CVE-2026-110685, CVE-2026-110686, CVE-2026-110687, CVE-2026-110688