CVE-2025-40928
published high CVSS 3.1 · 7.5JSON::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
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MLEHMANN | — | JSON-XSJSON::XS · 0 to < 4.04 · Other versions: unaffected | Affected | Not stated | CPANSec |
| Amazon Linux | AL2 | Release evaluationALAS2-2025-3005 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1200 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 10 | perl-JSON-XS | Advisory build | 1:4.04-1.el10_0 | ALSA-2025:17119 |
| Debian | bookworm | libjson-xs-perl | Advisory build | 4.040-1~deb12u1 | DSA-5999-1 |
| Oracle Linux | 10 | perl-JSON-XSaarch64 | Advisory build | 1:4.04-1.el10_0 | ELSA-2025-17119 |
| Red Hat Enterprise Linux | RHEL-10 | perl-JSON-XSaarch64 | Advisory build | 1:4.04-1.el10_0 | RHSA-2025:17119 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-JSON-XSaarch64 | Advisory build | 4.40.0-1.1 | OPENSUSE-SU-2025:15535-1 |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | jammy | libjson-xs-perl | Advisory build | 4.040-0ubuntu0.22.04.1 | USN-7750-1 |
| Amazon Linux | AL2 | perl-JSON-XSaarch64 | Listed in advisory | Not stated | ALAS2-2025-3005 |
| Rocky Linux | 10 | perl-JSON-XSaarch64 | Listed in advisory | Not stated | RLSA-2025:17119 |
| AlmaLinux | 8 | perl-JSON-XS | Advisory build | 1:3.04-4.el8_10 | ALSA-2025:17163 |
| AlmaLinux | 9 | perl-JSON-XS | Advisory build | 1:4.04-1.el9_6 | ALSA-2025:17162 |
| Debian | bullseye | libjson-xs-perl | Advisory build | 4.030-1+deb11u1 | DLA-4317-1 |
| Debian | trixie | libjson-xs-perl | Advisory build | 4.040-1~deb13u1 | DSA-5999-1 |
| Oracle Linux | 10 | perl-JSON-XSx86_64 | Advisory build | 1:4.04-1.el10_0 | ELSA-2025-17119 |
| Oracle Linux | 8 | perl-JSON-XSaarch64 | Advisory build | 1:3.04-4.el8_10 | ELSA-2025-17163 |
| Oracle Linux | 8 | perl-JSON-XSx86_64 | Advisory build | 1:3.04-4.el8_10 | ELSA-2025-17163 |
| Oracle Linux | 9 | perl-JSON-XSaarch64 | Advisory build | 1:4.04-1.el9_6 | ELSA-2025-17162 |
| Oracle Linux | 9 | perl-JSON-XSx86_64 | Advisory build | 1:4.04-1.el9_6 | ELSA-2025-17162 |
| Red Hat Enterprise Linux | RHEL-10 | perl-JSON-XSppc64le | Advisory build | 1:4.04-1.el10_0 | RHSA-2025:17119 |
| Red Hat Enterprise Linux | RHEL-10 | perl-JSON-XSs390x | Advisory build | 1:4.04-1.el10_0 | RHSA-2025:17119 |
| Red Hat Enterprise Linux | RHEL-10 | perl-JSON-XSsrc | Advisory build | 1:4.04-1.el10_0 | RHSA-2025:17119 |
| Red Hat Enterprise Linux | RHEL-10 | perl-JSON-XSx86_64 | Advisory build | 1:4.04-1.el10_0 | RHSA-2025:17119 |
| Red Hat Enterprise Linux | RHEL-10 | perl-JSON-XS-debuginfoaarch64 | Advisory build | 1:4.04-1.el10_0 | RHSA-2025:17119 |
| Red Hat Enterprise Linux | RHEL-10 | perl-JSON-XS-debuginfoppc64le | Advisory build | 1:4.04-1.el10_0 | RHSA-2025:17119 |
| Red Hat Enterprise Linux | RHEL-10 | perl-JSON-XS-debuginfos390x | Advisory build | 1:4.04-1.el10_0 | RHSA-2025:17119 |
| Red Hat Enterprise Linux | RHEL-10 | perl-JSON-XS-debuginfox86_64 | Advisory build | 1:4.04-1.el10_0 | RHSA-2025:17119 |
| Red Hat Enterprise Linux | RHEL-10 | perl-JSON-XS-debugsourceaarch64 | Advisory build | 1:4.04-1.el10_0 | RHSA-2025:17119 |
| Red Hat Enterprise Linux | RHEL-10 | perl-JSON-XS-debugsourceppc64le | Advisory build | 1:4.04-1.el10_0 | RHSA-2025:17119 |
| Red Hat Enterprise Linux | RHEL-10 | perl-JSON-XS-debugsources390x | Advisory build | 1:4.04-1.el10_0 | RHSA-2025:17119 |
| Red Hat Enterprise Linux | RHEL-10 | perl-JSON-XS-debugsourcex86_64 | Advisory build | 1:4.04-1.el10_0 | RHSA-2025:17119 |
| Red Hat Enterprise Linux | RHEL-8 | perl-JSON-XSaarch64 | Advisory build | 1:3.04-4.el8_10 | RHSA-2025:17163 |
| Red Hat Enterprise Linux | RHEL-8 | perl-JSON-XSppc64le | Advisory build | 1:3.04-4.el8_10 | RHSA-2025:17163 |
| Red Hat Enterprise Linux | RHEL-8 | perl-JSON-XSs390x | Advisory build | 1:3.04-4.el8_10 | RHSA-2025:17163 |
| Red Hat Enterprise Linux | RHEL-8 | perl-JSON-XSsrc | Advisory build | 1:3.04-4.el8_10 | RHSA-2025:17163 |
| Red Hat Enterprise Linux | RHEL-8 | perl-JSON-XSx86_64 | Advisory build | 1:3.04-4.el8_10 | RHSA-2025:17163 |
| Red Hat Enterprise Linux | RHEL-8 | perl-JSON-XS-debuginfoaarch64 | Advisory build | 1:3.04-4.el8_10 | RHSA-2025:17163 |
| Red Hat Enterprise Linux | RHEL-8 | perl-JSON-XS-debuginfoppc64le | Advisory build | 1:3.04-4.el8_10 | RHSA-2025:17163 |
| Red Hat Enterprise Linux | RHEL-8 | perl-JSON-XS-debuginfos390x | Advisory build | 1:3.04-4.el8_10 | RHSA-2025:17163 |
| Red Hat Enterprise Linux | RHEL-8 | perl-JSON-XS-debuginfox86_64 | Advisory build | 1:3.04-4.el8_10 | RHSA-2025:17163 |
| Red Hat Enterprise Linux | RHEL-8 | perl-JSON-XS-debugsourceaarch64 | Advisory build | 1:3.04-4.el8_10 | RHSA-2025:17163 |
| Red Hat Enterprise Linux | RHEL-8 | perl-JSON-XS-debugsourceppc64le | Advisory build | 1:3.04-4.el8_10 | RHSA-2025:17163 |
| Red Hat Enterprise Linux | RHEL-8 | perl-JSON-XS-debugsources390x | Advisory build | 1:3.04-4.el8_10 | RHSA-2025:17163 |
| Red Hat Enterprise Linux | RHEL-8 | perl-JSON-XS-debugsourcex86_64 | Advisory build | 1:3.04-4.el8_10 | RHSA-2025:17163 |
| Red Hat Enterprise Linux | RHEL-9 | perl-JSON-XSaarch64 | Advisory build | 1:4.04-1.el9_6 | RHSA-2025:17162 |
| Red Hat Enterprise Linux | RHEL-9 | perl-JSON-XSppc64le | Advisory build | 1:4.04-1.el9_6 | RHSA-2025:17162 |
| Red Hat Enterprise Linux | RHEL-9 | perl-JSON-XSs390x | Advisory build | 1:4.04-1.el9_6 | RHSA-2025:17162 |
| Red Hat Enterprise Linux | RHEL-9 | perl-JSON-XSsrc | Advisory build | 1:4.04-1.el9_6 | RHSA-2025:17162 |
| Red Hat Enterprise Linux | RHEL-9 | perl-JSON-XSx86_64 | Advisory build | 1:4.04-1.el9_6 | RHSA-2025:17162 |
| Red Hat Enterprise Linux | RHEL-9 | perl-JSON-XS-debuginfoaarch64 | Advisory build | 1:4.04-1.el9_6 | RHSA-2025:17162 |
| Red Hat Enterprise Linux | RHEL-9 | perl-JSON-XS-debuginfoppc64le | Advisory build | 1:4.04-1.el9_6 | RHSA-2025:17162 |
| Red Hat Enterprise Linux | RHEL-9 | perl-JSON-XS-debuginfos390x | Advisory build | 1:4.04-1.el9_6 | RHSA-2025:17162 |
| Red Hat Enterprise Linux | RHEL-9 | perl-JSON-XS-debuginfox86_64 | Advisory build | 1:4.04-1.el9_6 | RHSA-2025:17162 |
| Red Hat Enterprise Linux | RHEL-9 | perl-JSON-XS-debugsourceaarch64 | Advisory build | 1:4.04-1.el9_6 | RHSA-2025:17162 |
| Red Hat Enterprise Linux | RHEL-9 | perl-JSON-XS-debugsourceppc64le | Advisory build | 1:4.04-1.el9_6 | RHSA-2025:17162 |
| Red Hat Enterprise Linux | RHEL-9 | perl-JSON-XS-debugsources390x | Advisory build | 1:4.04-1.el9_6 | RHSA-2025:17162 |
| Red Hat Enterprise Linux | RHEL-9 | perl-JSON-XS-debugsourcex86_64 | Advisory build | 1:4.04-1.el9_6 | RHSA-2025:17162 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-JSON-XSppc64le | Advisory build | 4.40.0-1.1 | OPENSUSE-SU-2025:15535-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-JSON-XSs390x | Advisory build | 4.40.0-1.1 | OPENSUSE-SU-2025:15535-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-JSON-XSx86_64 | Advisory build | 4.40.0-1.1 | OPENSUSE-SU-2025:15535-1 |
| Ubuntu | noble | libjson-xs-perl | Advisory build | 4.040-0ubuntu0.24.04.1 | USN-7750-1 |
| Amazon Linux | AL2 | perl-JSON-XSi686 | Listed in advisory | Not stated | ALAS2-2025-3005 |
| Amazon Linux | AL2 | perl-JSON-XSsrc | Listed in advisory | Not stated | ALAS2-2025-3005 |
| Amazon Linux | AL2 | perl-JSON-XSx86_64 | Listed in advisory | Not stated | ALAS2-2025-3005 |
| Amazon Linux | AL2023 | perl-JSON-XSaarch64 | Listed in advisory | Not stated | ALAS2023-2025-1200 |
| Amazon Linux | AL2023 | perl-JSON-XSnoarch | Listed in advisory | Not stated | ALAS2023-2025-1200 |
| Amazon Linux | AL2023 | perl-JSON-XSsrc | Listed in advisory | Not stated | ALAS2023-2025-1200 |
| Amazon Linux | AL2023 | perl-JSON-XSx86_64 | Listed in advisory | Not stated | ALAS2023-2025-1200 |
| Rocky Linux | 10 | perl-JSON-XSppc64le | Listed in advisory | Not stated | RLSA-2025:17119 |
| Rocky Linux | 10 | perl-JSON-XSs390x | Listed in advisory | Not stated | RLSA-2025:17119 |
| Rocky Linux | 10 | perl-JSON-XSsrc | Listed in advisory | Not stated | RLSA-2025:17119 |
| Rocky Linux | 10 | perl-JSON-XSx86_64 | Listed in advisory | Not stated | RLSA-2025:17119 |
| Rocky Linux | 10 | perl-JSON-XS-debuginfoaarch64 | Listed in advisory | Not stated | RLSA-2025:17119 |
| Rocky Linux | 10 | perl-JSON-XS-debuginfoppc64le | Listed in advisory | Not stated | RLSA-2025:17119 |
| Rocky Linux | 10 | perl-JSON-XS-debuginfos390x | Listed in advisory | Not stated | RLSA-2025:17119 |
| Rocky Linux | 10 | perl-JSON-XS-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2025:17119 |
| Rocky Linux | 10 | perl-JSON-XS-debugsourceaarch64 | Listed in advisory | Not stated | RLSA-2025:17119 |
| Rocky Linux | 10 | perl-JSON-XS-debugsourceppc64le | Listed in advisory | Not stated | RLSA-2025:17119 |
| Rocky Linux | 10 | perl-JSON-XS-debugsources390x | Listed in advisory | Not stated | RLSA-2025:17119 |
| Rocky Linux | 10 | perl-JSON-XS-debugsourcex86_64 | Listed in advisory | Not stated | RLSA-2025:17119 |
| Rocky Linux | 8 | perl-JSON-XSaarch64 | Listed in advisory | Not stated | RLSA-2025:17163 |
| Rocky Linux | 8 | perl-JSON-XSsrc | Listed in advisory | Not stated | RLSA-2025:17163 |
| Rocky Linux | 8 | perl-JSON-XSx86_64 | Listed in advisory | Not stated | RLSA-2025:17163 |
| Rocky Linux | 8 | perl-JSON-XS-debuginfoaarch64 | Listed in advisory | Not stated | RLSA-2025:17163 |
| Rocky Linux | 8 | perl-JSON-XS-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2025:17163 |
| Rocky Linux | 8 | perl-JSON-XS-debugsourceaarch64 | Listed in advisory | Not stated | RLSA-2025:17163 |
| Rocky Linux | 8 | perl-JSON-XS-debugsourcex86_64 | Listed in advisory | Not stated | RLSA-2025:17163 |
| Rocky Linux | 9 | perl-JSON-XSaarch64 | Listed in advisory | Not stated | RLSA-2025:17162 |
| Rocky Linux | 9 | perl-JSON-XSppc64le | Listed in advisory | Not stated | RLSA-2025:17162 |
| Rocky Linux | 9 | perl-JSON-XSs390x | Listed in advisory | Not stated | RLSA-2025:17162 |
| Rocky Linux | 9 | perl-JSON-XSsrc | Listed in advisory | Not stated | RLSA-2025:17162 |
| Rocky Linux | 9 | perl-JSON-XSx86_64 | Listed in advisory | Not stated | RLSA-2025:17162 |
| Rocky Linux | 9 | perl-JSON-XS-debuginfoaarch64 | Listed in advisory | Not stated | RLSA-2025:17162 |
| Rocky Linux | 9 | perl-JSON-XS-debuginfoppc64le | Listed in advisory | Not stated | RLSA-2025:17162 |
| Rocky Linux | 9 | perl-JSON-XS-debuginfos390x | Listed in advisory | Not stated | RLSA-2025:17162 |
| Rocky Linux | 9 | perl-JSON-XS-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2025:17162 |
| Rocky Linux | 9 | perl-JSON-XS-debugsourceaarch64 | Listed in advisory | Not stated | RLSA-2025:17162 |
| Rocky Linux | 9 | perl-JSON-XS-debugsourceppc64le | Listed in advisory | Not stated | RLSA-2025:17162 |
| Rocky Linux | 9 | perl-JSON-XS-debugsources390x | Listed in advisory | Not stated | RLSA-2025:17162 |
| Rocky Linux | 9 | perl-JSON-XS-debugsourcex86_64 | Listed in advisory | Not stated | RLSA-2025:17162 |
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
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MLEHMANN | JSON::XS | 0 to < 4.04 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
1- CWE-122 CWE-122 Heap-based Buffer Overflow
References
4Provider assertions
3CPANSec · cna
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
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8c5ef47ce97000e474c20b5796344115695cac0dcacf6c56be64428089a60aea
- Ingested
- 23 Sep 2026, 08:48:23 UTC
- Source record
- Official CVE record