Cpanel::JSON::XS memory exhaustion when encoding exponents under allow_bignum
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA.
Summary
Cpanel::JSON::XS versions before 4.80 for Perl allow memory exhaustion when encoding decoded numbers. With allow_bignum, a JSON number with an exponent decodes to a Math::BigFloat that stores the exponent cheaply, but encoding it untyped or as JSON_TYPE_FLOAT writes the full decimal form with one digit per unit of exponent, so the 12-byte text [1e30000000] encodes to 30 MB (CWE-405). An unauthenticated remote attacker can exhaust memory and CPU by supplying untrusted JSON that is decoded with allow_bignum and encoded again.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
Description from the CNA
Cpanel::JSON::XS versions before 4.80 for Perl allow memory exhaustion by encoding exponent notation as full decimal digits under allow_bignum. With allow_bignum, a JSON number with a fraction or exponent decodes to a Math::BigFloat, which stores the exponent separately and so decodes cheaply. Encoding it untyped or as JSON_TYPE_FLOAT writes the plain decimal form with one digit per unit of exponent. Nothing bounds the exponent, so the 12-byte text [1e30000000] encodes to 30 MB. Untrusted JSON decoded with allow_bignum and encoded again can exhaust memory and CPU.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | Cpanel-JSON-XS | before 4.80 | 4.80 | Patch available | CNA |
- Cpanel-JSON-XS Vendor— Affected before 4.80 Fixed in 4.80 Patch available CNA
Remediation
Upgrade Cpanel-JSON-XS to version 4.80 or later.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
- Fix · CNA Cpanel-JSON-XS Fixed in 4.80
Vendor assessments
Timeline
- 2026-10-20 Threatist record created from CVE-2026-110676
- 2026-10-20 Alias added: GHSA-qgf5-7gf3-jg2g
- 2026-10-20 Affected versions changed · Red Hat
- 2026-10-21 CVSS score added · Red Hat
- 2026-10-29 CVSS score added · CISA ADP
- 2026-10-29 CISA SSVC decision points changed
References
Sources
- CVE-2026-110676 · CVE Program
- CVE-2026-110676 · NVD
- FIRST EPSS
- GHSA-qgf5-7gf3-jg2g · GitHub Advisory Database · CC BY 4.0
- CVE-2026-110676 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences