CVE-2025-40912
Linux Debian vulnerability analysis and mitigation

Overview

CryptX for Perl before version 0.065 contains a dependency vulnerability related to malformed unicode handling. The vulnerability was discovered and disclosed on June 11, 2025. The affected component is the embedded tomcrypt library, which may be susceptible to CVE-2019-17362 (NVD, Ubuntu).

Technical details

The vulnerability stems from improper detection of invalid UTF-8 sequences in the derdecodeutf8_string function within the tomcrypt library. The vulnerability has received a CVSS v3.1 Base Score of 9.8 (CRITICAL) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, indicating a critical severity level with network attack vector, low attack complexity, and no required privileges or user interaction (NVD, Wiz).

Impact

The vulnerability can allow context-dependent attackers to cause a denial of service through out-of-bounds read and crash conditions. Additionally, attackers may potentially read information from other memory locations when processing specially crafted DER-encoded data (Github Issue).

Mitigation and workarounds

The primary mitigation is to upgrade CryptX to version 0.065 or later, which contains the fixed version of the tomcrypt library (NVD).

Additional resources


SourceThis report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-59030HIGH7.5
  • Linux DebianLinux Debian
  • pdns-recursor
NoYesDec 09, 2025
CVE-2025-59029MEDIUM5.3
  • Linux DebianLinux Debian
  • pdns-recursor
NoYesDec 09, 2025
CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-modules-internal
NoYesDec 09, 2025
CVE-2025-40343N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel
NoYesDec 09, 2025
CVE-2025-40342N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel-matched
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management