VDB
CVE-2025-40928
CVE-2025-40928
PUBLISHED
CVSS 7.5 HIGH
Reported by cpansec · Published September 8, 2025
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
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| perl-JSON-XS | Amazon Linux | 1:4.03-3.amzn2023.0.3, 1:3.01-2.amzn2.0.1 |
| JSON-XS | cpan.org | 4.04 |
| perl-JSON-XS-tests | Amazon Linux | 1:4.03-3.amzn2023.0.3 |
Risk scores
CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| MLEHMANN | JSON::XS | 0 |
| amazon:2 | perl-JSON-XS | 0 |
| MLEHMANN | JSON::XS | 0 |
| amazon:2023 | perl-JSON-XS | 0 |
| amazon:2023 | perl-JSON-XS-tests | 0 |
Timeline
- Sep 8, 2025 CVE Published
- Sep 9, 2025 EPSS Score (30 in total, the first dated here)
- Nov 4, 2025 CVE Updated
- Jun 2, 2026 Security Advisory (5 in total, the first dated here)
- Jun 8, 2026 Coalition ESS Score
- Aug 10, 2026 Distribution Patch (4 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-40928
vulnetix vdb fixes CVE-2025-40928
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-40928/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart