CVE-2025-40928
A public proof of concept exists; no exploitation attested.
- Published2025-09-08
- WeaknessCWE-122
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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
Timeline
dates in UTC- 2025-09-0815:15CVE publishedNVD
Versions per branch
Products declared by the CNA1 product
As CPANSec, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- MLEHMANN JSON::XSother versions: not affected
package JSON-XShttps://cpan.org/modules
Affected- < 4.04fixed in 4.04custom
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2025-09-08
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- libjson-xs-perlUbuntu:26.10all versions · fixed in 4.040-1
- libjson-xs-perlUbuntu:26.04:LTSall versions · fixed in 4.040-1
- libjson-xs-perlUbuntu:25.10all versions · fixed in 4.040-1
- libjson-xs-perlUbuntu:24.04:LTSall versions · fixed in 4.040-0ubuntu0.24.04.1
- libjson-xs-perlUbuntu:22.04:LTSall versions · fixed in 4.040-0ubuntu0.22.04.1
- libjson-xs-perlUbuntu:20.04:LTSall versions · no fixed version listed
- libjson-xs-perlUbuntu:18.04:LTSall versions · no fixed version listed
- libjson-xs-perlUbuntu:16.04:LTSall versions · no fixed version listed
25 more package ranges on OSV.dev
Fix
No fix published by the sources we read yet. NVD record
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2025-09-08
- PoC-in-GitHubno public repository identifiedread 2026-11-17
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-10-23
- CISA-ADPSSVC decisionpoc2025-09-08
- CISA-ADPCVSS 3.17.52025-09-08
- CNAweakness (CWE)CWE-122known since 2026-10-23
- FIRST EPSSEPSS score0.7 %2026-11-16
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- AZL-67076same flawAzure Linux · MIT
- AZL-67079same flawAzure Linux · MIT
- EUVD-2025-27141same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-v8qr-gpx9-78rmsame flawGitHub Advisory Database · CC-BY-4.0
- ALSA-2025:17119advisory covering several CVEsAlmaLinux · MIT
- ALSA-2025:17162advisory covering several CVEsAlmaLinux · MIT
- ALSA-2025:17163advisory covering several CVEsAlmaLinux · MIT
- DLA-4317-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-5999-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2025-0283advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2025-2365advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2025-2366advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2025-2367advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2025-2447advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2025-2448advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2025-2449advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2025:15535-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2025:17119advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:17162advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:17163advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:17430advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2025:17119advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2025:17162advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2025:17163advisory covering several CVEsRocky Linux · BSD-3-Clause
- USN-7750-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Published
- 2025-09-08
- Last Modified
- 2026-06-17
- NVD status
- Deferred
- GitHub Advisory
- GHSA-v8qr-gpx9-78rm
Frequently asked questions
What is CVE-2025-40928?
Is CVE-2025-40928 actively exploited?
What is the CVSS score for CVE-2025-40928?
Running perl-JSON-XS? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2026-129115same productJSON::XS versions from 3.0 before 4.05 for Perl read freed stack memory when a FREEZE result's serialisation grows the Perl stack under allow_tags in encode_rv
- CVE-2026-129114same productJSON::XS versions from 3.04 before 4.05 for Perl write one byte past a heap buffer when appending a one-byte chunk in incr_parse
- CVE-2026-129113same productJSON::XS versions from 4.0_00 before 4.05 for Perl corrupt the incremental buffer length by chopping past its end in incr_skip after a top-level number
- CVE-2026-124541same productJSON::XS versions before 4.05 for Perl leak the decoded part of a rejected long string in decode_str
- CVE-2026-124540same productJSON::XS versions before 4.05 for Perl allow stack exhaustion via nested tagged values under allow_tags in decode_tag
- CVE-2026-124539same productJSON::XS versions before 4.05 for Perl leak the decoded key of an object rejected for a missing colon in decode_hv
- CVE-2026-124536same productJSON::XS versions before 4.05 for Perl allow memory exhaustion by buffering incremental input past max_size after a NUL byte in incr_parse
- CVE-2025-54236KEVsame week
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-v8qr-gpx9-78rm
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- CISA Vulnrichment · CC0-1.0