---
id: CVE-2026-110685
title: >-
  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
summary: >-
  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 T…
severity: none
cwe:
  - CWE-401
product: Cpanel-JSON-XS
affected:
  - Cpanel-JSON-XS < 4.80
published: '2026-10-19'
updated: '2026-10-19'
sourceUpdated: '2026-10-19T18:12:17.344Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-110685'
references:
  - url: >-
      https://github.com/rurban/Cpanel-JSON-XS/commit/9ab010221c069a7af9ef7463454ecd3b8ace9c58.patch
  - url: 'https://metacpan.org/release/RURBAN/Cpanel-JSON-XS-4.80/changes'
tags:
  - cve.org
ingestedAt: '2026-10-19T18:35:50.143Z'
---

## Overview

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.

## Affected

- `Cpanel-JSON-XS < 4.80`

## Remediation

Upgrade to Cpanel-JSON-XS 4.80 or later.
