External risk intelligence

JSONXS Perl Buffer Overflow Vulnerability.

CVE advisorySeverity: CRITICAL (CVSS 9.1)

CVE-2026-129113

JSON::XS is a library for Perl used to process JSON data. While it can be used in internet-facing web applications or APIs that ingest JSON, it is a low-level dependency integrated into various software components rather than a standalone service or appliance. Exposure depends entirely on whether a specific application uses this library to parse untrusted input from the internet.

Halo Surface Signal: 3 out of 5 — possibly public-facing.

External exposure likelihood

Horizon Alert

Summary of the vulnerability and why it matters

This advisory details a critical vulnerability in a widely used Perl module for processing JSON data. The issue could allow an attacker to trigger a denial-of-service condition, impacting the availability of applications that use this module. The main concern is confirming relevance and exposure to our systems.

  • A software flaw affects JSON data processing.
  • Critical vulnerability could cause service disruptions.
  • Confirm if our applications use this module.

Attack Path

How an attacker could exploit the issue

An attacker could send specially crafted input to a JSON parser that uses the affected JSON::XS library. This could cause the parser to mismanage its internal buffer, potentially leading to a crash or denial of service.

  • No special access required.
  • Malicious JSON input.
  • Denial of service risk.

Live Threat

Current exploitation, exposure, and threat context

This vulnerability could allow an attacker to cause a denial of service by sending specially crafted input to a Perl application that uses JSON::XS for JSON parsing. When the incremental parser encounters an error and attempts to recover, it may corrupt its internal buffer, leading to a crash.

  • Application availability.
  • Malicious input to parser.
  • Service crash, denial of service.

Operational Fix

Recommended remediation, mitigation, and detection steps

This vulnerability resides in the JSON::XS library for Perl, impacting applications that parse JSON input. Owners of applications utilizing this library must identify their presence, confirm exposure to untrusted input, and assess business criticality. Coordination with development teams or the Perl ecosystem maintainers will be necessary for remediation planning.

  • Application owners and platform teams.
  • Verify applications parsing external JSON input.
  • Plan remediation during the next maintenance window.

Supplementary metadata

Validate whether this threat affects your internet-facing exposure.

Halo Threat Intelligence helps prioritize remediation with Halo Surface Signal and H/A/L/O context. Start exposure validation with a free external attack surface trial.

Frequently asked questions

What is JSON::XS and how is it used?

JSON::XS is a high-performance C-based module for the Perl programming language. It is used by developers to serialize and deserialize JSON data, essentially acting as the translator that allows Perl programs to read and write JSON formatted information.

What does CWE-191 mean for CVE-2026-129113?

CWE-191 refers to an Integer Underflow or Wraparound. In this case, the JSON::XS parser incorrectly calculates the size of its internal memory buffer after encountering specific numeric input. This causes the buffer length to wrap around to an invalid value, leading to a memory error.

How does an attacker trigger this vulnerability?

An attacker triggers this by sending specially crafted, malformed JSON input to an application using the affected library. The bug does not trigger with standard, well-formed JSON; it specifically exploits the library's error-recovery mechanism when it encounters confusing numeric sequences.

Is my system at risk according to Halo Surface Signal?

Halo Surface Signal notes that risk depends on whether your application uses this library to parse untrusted input directly from the internet. Because JSON::XS is a low-level dependency, you are primarily at risk if your public-facing APIs or web services process JSON payloads supplied by external users.

How should I respond to this threat?

Start by auditing your Perl-based applications to identify dependencies on the JSON::XS module. Once identified, evaluate if these components process untrusted external data. If so, coordinate with your development team to update the library to a patched version.

References