Skip to content
OpenAdvisories
High · 7.5 CVE-2025-40928 EUVD-2025-27141GHSA-v8qr-gpx9-78rm

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

Published Sep 8, 2025 · Updated Nov 4, 2025 · Assigned by CPANSec

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

Affected products

VendorProductAffectedFixed
MLEHMANN JSON::XS < 4.04 4.04

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libjson-xs-perl 4.030-3 —
Debian 13 libjson-xs-perl 4.040-1~deb13u1 DSA-5999-1
Debian 12 libjson-xs-perl 4.040-1~deb12u1 DSA-5999-1
Debian 11 libjson-xs-perl 4.030-1+deb11u1 DLA-4317-1
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libjson-xs-perl 4.040-1 —
Ubuntu 26.04 LTS libjson-xs-perl 4.040-1 —
Ubuntu 25.10 libjson-xs-perl 4.040-1 —
Ubuntu 24.04 LTS libjson-xs-perl 4.040-0ubuntu0.24.04.1 USN-7750-1
Ubuntu 22.04 LTS libjson-xs-perl 4.040-0ubuntu0.22.04.1 USN-7750-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS libjson-xs-perl No fix yet —
Ubuntu 18.04 LTS libjson-xs-perl No fix yet —
Ubuntu 16.04 LTS libjson-xs-perl No fix yet —
Ubuntu 14.04 LTS libjson-xs-perl No fix yet —
ReleasePackageFixed inAdvisory
RHEL 10 perl-JSON-XS 1:4.04-1.el10_0 RHSA-2025:17119
RHEL 9 perl-JSON-XS 1:4.04-1.el9_6 RHSA-2025:17162
RHEL 8 perl-JSON-XS 1:3.04-4.el8_10 RHSA-2025:17163
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 9.4 EUS perl-JSON-XS 1:4.03-5.el9_4.1 RHSA-2025:17430

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 perl-JSON-XS 1:4.04-1.el10_0 ALSA-2025:17119
AlmaLinux 9 perl-JSON-XS 1:4.04-1.el9_6 ALSA-2025:17162
AlmaLinux 8 perl-JSON-XS 1:3.04-4.el8_10 ALSA-2025:17163

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 perl-JSON-XS 1:4.04-1.el10_0 RLSA-2025:17119
Rocky Linux 9 perl-JSON-XS 1:4.04-1.el9_6 RLSA-2025:17162
Rocky Linux 8 perl-JSON-XS 1:3.04-4.el8_10 RLSA-2025:17163
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed perl-JSON-XS 4.40.0-1.1 openSUSE-SU-2025:15535-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 perl-JSON-XS +1 1:4.03-3.amzn2023.0.3 ALAS2023-2025-1200
Amazon Linux 2 perl-JSON-XS 1:3.01-2.amzn2.0.1 ALAS2-2025-3005

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 perl-JSON-XS 4.04-1 —
Azure Linux 2 (CBL-Mariner) perl-JSON-XS 4.04-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 perl-JSON-XS 1:4.04-1.el10_0 ELSA-2025-17119
Oracle Linux 9 perl-JSON-XS 1:4.04-1.el9_6 ELSA-2025-17162
Oracle Linux 8 perl-JSON-XS 1:3.04-4.el8_10 ELSA-2025-17163

Advisories 20

References