CVE-2025-40928 Integer overflow in JSON::XS
An integer buffer overflow in the JSON::XS Perl library allows attackers to cause a denial of service via crafted JSON input.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-40928?
CVE-2025-40928 is a high-severity vulnerability in MLEHMANN JSON::XS, published on 8 Sep 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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
Weakness: CWE-122
Which versions are affected by CVE-2025-40928?
Linux distribution packages (19)
perl-JSON-XS AlmaLinux:10 | All versions | 1:4.04-1.el10_0 |
perl-JSON-XS AlmaLinux:8 | All versions | 1:3.04-4.el8_10 |
perl-JSON-XS AlmaLinux:9 | All versions | 1:4.04-1.el9_6 |
perl-JSON-XS Red Hat:enterprise_linux:10.0 | All versions | 1:4.04-1.el10_0 |
perl-JSON-XS-debuginfo Red Hat:enterprise_linux:10.0 | All versions | 1:4.04-1.el10_0 |
perl-JSON-XS-debugsource Red Hat:enterprise_linux:10.0 | All versions | 1:4.04-1.el10_0 |
perl-JSON-XS Red Hat:enterprise_linux:8::crb | All versions | 1:3.04-4.el8_10 |
perl-JSON-XS-debuginfo Red Hat:enterprise_linux:8::crb | All versions | 1:3.04-4.el8_10 |
perl-JSON-XS-debugsource Red Hat:enterprise_linux:8::crb | All versions | 1:3.04-4.el8_10 |
perl-JSON-XS Red Hat:enterprise_linux:9::crb | All versions | 1:4.04-1.el9_6 |
perl-JSON-XS-debuginfo Red Hat:enterprise_linux:9::crb | All versions | 1:4.04-1.el9_6 |
perl-JSON-XS-debugsource Red Hat:enterprise_linux:9::crb | All versions | 1:4.04-1.el9_6 |
perl-JSON-XS Red Hat:rhel_eus:9.4::crb | All versions | 1:4.03-5.el9_4.1 |
perl-JSON-XS-debuginfo Red Hat:rhel_eus:9.4::crb | All versions | 1:4.03-5.el9_4.1 |
perl-JSON-XS-debugsource Red Hat:rhel_eus:9.4::crb | All versions | 1:4.03-5.el9_4.1 |
perl-JSON-XS Rocky Linux:10 | All versions | 1:4.04-1.el10_0 |
perl-JSON-XS Rocky Linux:8 | All versions | 1:3.04-4.el8_10 |
perl-JSON-XS Rocky Linux:9 | All versions | 1:4.04-1.el9_6 |
perl-JSON-XS openSUSE:Tumbleweed | All versions | 4.40.0-1.1 |
How do I fix CVE-2025-40928?
Upgrade to a fixed version.
Is CVE-2025-40928 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-40928 exists.
Sources
Also known as ALSA-2025:17119, ALSA-2025:17162, ALSA-2025:17163, AZL-67076, AZL-67079, DEBIAN-CVE-2025-40928 and 20 more.