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.

PackageEcosystemFixed in
perl-JSON-XSAmazon Linux1:4.03-3.amzn2023.0.3, 1:3.01-2.amzn2.0.1
JSON-XScpan.org4.04
perl-JSON-XS-testsAmazon Linux1: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

VendorProductVersions
MLEHMANNJSON::XS0
amazon:2perl-JSON-XS0
MLEHMANNJSON::XS0
amazon:2023perl-JSON-XS0
amazon:2023perl-JSON-XS-tests0

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›