CVE-2026-124540 Affecting libjson-xs-perl package, versions <4.050-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.41% (36th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-LIBJSONXSPERL-22550066
  • published15 Nov 2026
  • disclosed14 Nov 2026

Introduced: 14 Nov 2026

NewCVE-2026-124540  (opens in a new tab)

How to fix?

Upgrade Debian:unstable libjson-xs-perl to version 4.050-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libjson-xs-perl package and not the libjson-xs-perl package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

JSON::XS versions before 4.05 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.