Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-110688 Overview
CVE-2026-110688 is an algorithmic complexity vulnerability in Cpanel::JSON::XS versions 4.51 through 4.79 for Perl. The flaw lives in the incr_parse incremental JSON decoder, which re-validates the entire remaining buffer as UTF-8 for every value it processes. Doubling the input quadruples the CPU work, yielding quadratic time complexity [CWE-407].
A remote peer that submits roughly one megabyte of ordinary non-ASCII JSON in a single read can occupy the Perl process for seconds of CPU time. The issue is fixed in Cpanel::JSON::XS version 4.80.
Critical Impact
Unauthenticated peers can trigger multi-second CPU stalls per request, enabling denial-of-service against Perl services that use incr_parse on untrusted input.
Affected Products
- Cpanel::JSON::XS for Perl, versions 4.51 through 4.79
- Perl applications and daemons calling incr_parse on network-sourced JSON
- Downstream distributions and web stacks bundling vulnerable Cpanel::JSON::XS releases
Discovery Timeline
- 2026-10-19 - CVE-2026-110688 published to NVD
- 2026-10-19 - Last updated in NVD database
- Patch commit - 384309f6a297384e69c851b5d64e1c421d9b2dcc landed in the rurban/Cpanel-JSON-XS repository
Technical Details for CVE-2026-110688
Vulnerability Analysis
The Cpanel::JSON::XS decoder validates UTF-8 lazily. When it encounters the first non-ASCII byte inside a string, it scans UTF-8 from that position to the end of the input buffer. For single-shot decode calls, this cost is paid once.
incr_parse behaves differently. It processes a stream of values from a growing buffer and spawns a fresh decoder for each value. Each fresh decoder repeats the full tail-of-buffer UTF-8 validation. If the buffer holds N bytes and contains K values, work scales with N multiplied by K, producing quadratic growth.
An attacker who delivers roughly 1 MB of legitimate non-ASCII JSON in one read forces the parser into seconds of CPU time per request. The condition requires no authentication and no malformed input, only ordinary multi-byte characters.
Root Cause
The decoder state struct dec_t tracked whether UTF-8 validation had run on the remaining buffer, but did not record how far that validation extended. Each incremental value re-ran the scan over the same trailing bytes.
Attack Vector
Any network service that feeds untrusted bytes into incr_parse is reachable. Typical targets include Perl-based HTTP APIs, message brokers, log receivers, and job queue workers that accept JSON payloads from clients or peers.
U32 maxdepth; /* recursion depth limit */
char utf8_checked; /* cjson_utf8_validate ran on the rest of the buffer */
char utf8_trusted; /* ... and the rest of the buffer is valid UTF-8 */
+ char *utf8_end; /* end of what that validation covers */
} dec_t;
Source: GitHub patch commit 384309f
The patch adds a utf8_end pointer so the decoder can remember how far prior validation reached and skip redundant work on subsequent values.
Detection Methods for CVE-2026-110688
Indicators of Compromise
- Sustained single-core CPU saturation in Perl worker processes handling JSON input
- Request latency spikes correlated with inbound payloads containing multi-byte UTF-8 characters
- Repeated large JSON POSTs from a narrow set of client addresses to endpoints backed by Cpanel::JSON::XS
Detection Strategies
- Inventory installed Perl modules and flag hosts running Cpanel::JSON::XS versions 4.51 through 4.79
- Instrument Perl applications to log request size, parse duration, and byte composition for JSON endpoints
- Alert when parse time exceeds a baseline threshold for payloads under a few megabytes
Monitoring Recommendations
- Track per-request CPU time at the web server or reverse proxy layer and page on sudden regressions
- Watch for processes stuck in the cjson_utf8_validate code path via profiling or perf sampling
- Correlate traffic spikes against source IPs and user agents to isolate abusive peers
How to Mitigate CVE-2026-110688
Immediate Actions Required
- Upgrade Cpanel::JSON::XS to version 4.80 or later on every host running Perl services
- Rebuild and redeploy any application bundling the module as a vendored dependency
- Enforce request size limits on JSON endpoints at the proxy or application layer
Patch Information
The fix shipped in Cpanel::JSON::XS4.80. Review the MetaCPAN change log and the upstream GitHub patch commit 384309f for the full code change and expanded test coverage in t/19_incr.t.
Workarounds
- Cap incoming JSON body size to the smallest value acceptable for the application
- Apply per-client rate limits and CPU-time limits on worker processes
- Switch affected endpoints to one-shot decode on bounded buffers instead of incr_parse where feasible
# Upgrade via cpanm on affected hosts
cpanm Cpanel::JSON::XS@4.80
# Verify installed version
perl -MCpanel::JSON::XS -e 'print $Cpanel::JSON::XS::VERSION, "\n"'
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

