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.
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
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| libjson-xs-perl · Debian 11.6 (bullseye) | 4.030-1+deb11u1 | DLA-4317-1 | Sep 30, 2025 |
| libjson-xs-perl · Debian 12.15 (bookworm) | 4.040-1~deb12u1 | DSA-5999-1 | Sep 11, 2025 |
| libjson-xs-perl · Debian 13.5 (trixie) | 4.040-1~deb13u1 | DSA-5999-1 | Sep 11, 2025 |
| libjson-xs-perl · Debian 14 | 4.030-3 | DEBIAN-CVE-2025-40928 | Sep 8, 2025 |
| libjson-xs-perl · Ubuntu 22.04.1 LTS (jammy) | 4.040-0ubuntu0.22.04.1 | libjson-xs-perl 4.040-0ubuntu0.22.04.1 | Sep 8, 2025 |
| libjson-xs-perl · Ubuntu 24.04.5 LTS (noble) | 4.040-0ubuntu0.24.04.1 | libjson-xs-perl 4.040-0ubuntu0.24.04.1 | Sep 8, 2025 |
| libjson-xs-perl · Ubuntu 25.04 (plucky) | 4.040-0ubuntu0.25.04.1 | libjson-xs-perl 4.040-0ubuntu0.25.04.1 | Jan 16, 2026 |
| libjson-xs-perl · Ubuntu 25.10 (questing) | 4.040-1 | libjson-xs-perl 4.040-1 | Sep 8, 2025 |
| libjson-xs-perl · Ubuntu 26.04.1 LTS (resolute) | 4.040-1 | libjson-xs-perl 4.040-1 | Sep 8, 2025 |
| perl-JSON-XS · RHEL 10 | 4.04-1.el10_0 | RHSA-2025:17119 | Sep 8, 2025 |
| perl-JSON-XS · RHEL 8 | 1:3.04-4.el8_10 | RHSA-2025:17163 | Oct 1, 2025 |
| perl-JSON-XS · RHEL 9 | 1:4.04-1.el9_6 | RHSA-2025:17162 | Oct 1, 2025 |
| perl-JSON-XS · almalinux 10 | 1:4.04-1.el10_0 | ALSA-2025:17119 | Sep 30, 2025 |
| perl-JSON-XS · almalinux 8 | 1:3.04-4.el8_10 | ALSA-2025:17163 | Oct 1, 2025 |
| perl-JSON-XS · almalinux 9 | 1:4.04-1.el9_6 | ALSA-2025:17162 | Oct 1, 2025 |
| perl-JSON-XS · amzn 2023 | 1:4.03-3.amzn2023.0.3 | ALAS2023-2025-1200 | Sep 17, 2025 |
| perl-JSON-XS · ol 10 | 1:4.04-1.el10_0 | ELSA-2025-17119 | Sep 30, 2025 |
| perl-JSON-XS · ol 8 | 1:3.04-4.el8_10 | ELSA-2025-17163 | Oct 1, 2025 |
| perl-JSON-XS · ol 9 | 1:4.04-1.el9_6 | ELSA-2025-17162 | Oct 1, 2025 |
| perl-JSON-XS · rocky 10 | 1:4.04-1.el10_0 | RLSA-2025:17119 | Oct 7, 2025 |
| perl-JSON-XS · rocky 8 | 1:3.04-4.el8_10 | RLSA-2025:17163 | Oct 3, 2025 |
| perl-JSON-XS · rocky 9 | 1:4.04-1.el9_6 | RLSA-2025:17162 | Oct 10, 2025 |
| perl-JSON-XS-debuginfo · amzn 2023 | 1:4.03-3.amzn2023.0.3 | ALAS2023-2025-1200 | Sep 17, 2025 |
| perl-JSON-XS-debugsource · amzn 2023 | 1:4.03-3.amzn2023.0.3 | ALAS2023-2025-1200 | Sep 17, 2025 |
| perl-JSON-XS-tests · amzn 2023 | 1:4.03-3.amzn2023.0.3 | ALAS2023-2025-1200 | Sep 17, 2025 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
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.