CVE-2025-40928 Affecting libjson-xs-perl package, versions <4.040-1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.14% (34th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2510-LIBJSONXSPERL-15742090
  • published21 Mar 2026
  • disclosed8 Sept 2025

Introduced: 8 Sep 2025

CVE-2025-40928  (opens in a new tab)

How to fix?

Upgrade Ubuntu:25.10 libjson-xs-perl to version 4.040-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libjson-xs-perl package and not the libjson-xs-perl package as distributed by Ubuntu. See How to fix? for Ubuntu:25.10 relevant fixed versions and status.

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

CVSS Base Scores

version 3.1