CVE-2025-40929: RURBAN Cpanel::JSON::XS · Heap-based Buffer Overflow
Affects RURBAN Cpanel::JSON::XSSource CVE Database V5
Not known to be exploited · CVSS 5.6 Medium.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 39% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:LExploitation evidence
Disclosed: evidence found.
CVE published 8 Sep 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| RURBAN Cpanel::JSON::XS | Affected
| Fixed in– |
AI-suggested
1. Upgrade Cpanel::JSON::XS to version 4.40 or later as soon as the patch is available to eliminate the integer buffer overflow vulnerability. 2. Implement strict input validation and sanitization for all JSON data received from untrusted sources to reduce the risk of malicious payloads triggering the overflow. 3. Employ application-layer sandboxing or containerization to isolate JSON parsing components, limiting the blast radius of potential crashes or exploits. 4. Monitor application logs and network traffic for unusual JSON parsing errors or crashes that could indicate exploitation attempts. 5. Conduct code audits and penetration testing focusing on JSON handling routines in Perl applications to identify and remediate similar vulnerabilities. 6. Maintain an up-to-date inventory of Perl modules and dependencies to ensure timely patch management. 7. Consider deploying Web Application Firewalls (WAFs) with custom rules to detect and block suspicious JSON payloads targeting this vulnerability. 8. Educate developers and system administrators about secure JSON parsing practices and the importance of timely updates.
Description
Cpanel::JSON::XS before version 4.40 for Perl has an integer buffer overflow causing a segfault when parsing crafted JSON, enabling denial-of-service attacks or other unspecified impact
References
- metacpan.org/release/RURBAN/Cpanel-JSON-XS-4.39/source/XS.xs (opens in a new tab)
- metacpan.org/release/RURBAN/Cpanel-JSON-XS-4.40/changes (opens in a new tab)
- github.com/rurban/Cpanel-JSON-XS/commit/378236219eaa35742c3962ecbdee364903b0a1f2.patch (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/09/msg00034.html (opens in a new tab)
- openwall.com/lists/oss-security/2025/09/08/1 (opens in a new tab)