# CVE-2025-40928: JSON::XS before version 4.04 for Perl has an integer buffer overflow causing a segfault when parsing crafted JSON, enabling denial-of-service attacks or other unspecified impact

CVE-2025-40928 is fixed in 5 products on 1 platform, first by libjson-xs-perl 4.040-0ubuntu0.22.04.1, released September 8, 2025. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2025-40928
- Priority: High
- CVSS: 7.5 (Important)
- EPSS: 0.0067
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Sep 8, 2025
- Vendor advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-40928

## Description

JSON::XS before version 4.04 for Perl has an integer buffer overflowcausing a segfault when parsing crafted JSON, enabling denial-of-serviceattacks or other unspecified impact

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libjson-xs-perl Debian 11.6 (bullseye) | 4.030-1+deb11u1 | [DLA-4317-1](https://patchblox.com/security/data/fix/linux/dla-4317-1.md) | Sep 30, 2025 |
| Linux | libjson-xs-perl Debian 12.15 (bookworm) | 4.040-1~deb12u1 | [DSA-5999-1](https://patchblox.com/security/data/fix/linux/dsa-5999-1.md) | Sep 11, 2025 |
| Linux | libjson-xs-perl Debian 13.5 (trixie) | 4.040-1~deb13u1 | [DSA-5999-1](https://patchblox.com/security/data/fix/linux/dsa-5999-1.md) | Sep 11, 2025 |
| Linux | libjson-xs-perl Debian 14 | 4.030-3 | [DEBIAN-CVE-2025-40928](https://patchblox.com/security/data/fix/linux/debian-cve-2025-40928.md) | Sep 8, 2025 |
| Linux | libjson-xs-perl Ubuntu 22.04.1 LTS (jammy) | 4.040-0ubuntu0.22.04.1 | [libjson-xs-perl 4.040-0ubuntu0.22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libjson-xs-perl-4.040-0ubuntu0.22.04.1.md) | Sep 8, 2025 |
| Linux | libjson-xs-perl Ubuntu 24.04.5 LTS (noble) | 4.040-0ubuntu0.24.04.1 | [libjson-xs-perl 4.040-0ubuntu0.24.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libjson-xs-perl-4.040-0ubuntu0.24.04.1.md) | Sep 8, 2025 |
| Linux | libjson-xs-perl Ubuntu 25.04 (plucky) | 4.040-0ubuntu0.25.04.1 | [libjson-xs-perl 4.040-0ubuntu0.25.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-libjson-xs-perl-4.040-0ubuntu0.25.04.1.md) | Jan 16, 2026 |
| Linux | libjson-xs-perl Ubuntu 25.10 (questing) | 4.040-1 | [libjson-xs-perl 4.040-1](https://patchblox.com/security/data/fix/linux/ubuntu-questing-libjson-xs-perl-4.040-1.md) | Sep 8, 2025 |
| Linux | libjson-xs-perl Ubuntu 26.04.1 LTS (resolute) | 4.040-1 | [libjson-xs-perl 4.040-1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libjson-xs-perl-4.040-1.md) | Sep 8, 2025 |
| Linux | perl-JSON-XS RHEL 10 | 4.04-1.el10_0 | [RHSA-2025:17119](https://patchblox.com/security/data/fix/linux/rhsa-2025-17119.md) | Sep 8, 2025 |
| Linux | perl-JSON-XS RHEL 8 | 1:3.04-4.el8_10 | [RHSA-2025:17163](https://patchblox.com/security/data/fix/linux/rhsa-2025-17163.md) | Oct 1, 2025 |
| Linux | perl-JSON-XS RHEL 9 | 1:4.04-1.el9_6 | [RHSA-2025:17162](https://patchblox.com/security/data/fix/linux/rhsa-2025-17162.md) | Oct 1, 2025 |
| Linux | perl-JSON-XS almalinux 10 | 1:4.04-1.el10_0 | [ALSA-2025:17119](https://patchblox.com/security/data/fix/linux/alsa-2025-17119.md) | Sep 30, 2025 |
| Linux | perl-JSON-XS almalinux 8 | 1:3.04-4.el8_10 | [ALSA-2025:17163](https://patchblox.com/security/data/fix/linux/alsa-2025-17163.md) | Oct 1, 2025 |
| Linux | perl-JSON-XS almalinux 9 | 1:4.04-1.el9_6 | [ALSA-2025:17162](https://patchblox.com/security/data/fix/linux/alsa-2025-17162.md) | Oct 1, 2025 |
| Linux | perl-JSON-XS amzn 2023 | 1:4.03-3.amzn2023.0.3 | [ALAS2023-2025-1200](https://patchblox.com/security/data/fix/linux/alas2023-2025-1200.md) | Sep 17, 2025 |
| Linux | perl-JSON-XS ol 10 | 1:4.04-1.el10_0 | [ELSA-2025-17119](https://patchblox.com/security/data/fix/linux/elsa-2025-17119.md) | Sep 30, 2025 |
| Linux | perl-JSON-XS ol 8 | 1:3.04-4.el8_10 | [ELSA-2025-17163](https://patchblox.com/security/data/fix/linux/elsa-2025-17163.md) | Oct 1, 2025 |
| Linux | perl-JSON-XS ol 9 | 1:4.04-1.el9_6 | [ELSA-2025-17162](https://patchblox.com/security/data/fix/linux/elsa-2025-17162.md) | Oct 1, 2025 |
| Linux | perl-JSON-XS rocky 10 | 1:4.04-1.el10_0 | [RLSA-2025:17119](https://patchblox.com/security/data/fix/linux/rlsa-2025-17119.md) | Oct 7, 2025 |
| Linux | perl-JSON-XS rocky 8 | 1:3.04-4.el8_10 | [RLSA-2025:17163](https://patchblox.com/security/data/fix/linux/rlsa-2025-17163.md) | Oct 3, 2025 |
| Linux | perl-JSON-XS rocky 9 | 1:4.04-1.el9_6 | [RLSA-2025:17162](https://patchblox.com/security/data/fix/linux/rlsa-2025-17162.md) | Oct 10, 2025 |
| Linux | perl-JSON-XS-debuginfo amzn 2023 | 1:4.03-3.amzn2023.0.3 | [ALAS2023-2025-1200](https://patchblox.com/security/data/fix/linux/alas2023-2025-1200.md) | Sep 17, 2025 |
| Linux | perl-JSON-XS-debugsource amzn 2023 | 1:4.03-3.amzn2023.0.3 | [ALAS2023-2025-1200](https://patchblox.com/security/data/fix/linux/alas2023-2025-1200.md) | Sep 17, 2025 |
| Linux | perl-JSON-XS-tests amzn 2023 | 1:4.03-3.amzn2023.0.3 | [ALAS2023-2025-1200](https://patchblox.com/security/data/fix/linux/alas2023-2025-1200.md) | Sep 17, 2025 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
