Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2025-40182

7.8 · HIGH
Published Nov 12, 2025 EPSS 0.14% (4th pctl)

Overview

CVE-2025-40182 is a high-severity vulnerability. It was published on November 12, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

In the Linux kernel, the following vulnerability has been resolved:

crypto: skcipher - Fix reqsize handling

Commit afddce13ce81d ("crypto: api - Add reqsize to crypto_alg")

introduced cra_reqsize field in crypto_alg struct to replace type

specific reqsize fields. It looks like this was introduced specifically

for ahash and acomp from the commit description as subsequent commits

add necessary changes in these alg frameworks.

However, this is being recommended for use in all crypto algs [1]

instead of setting reqsize using crypto_*_set_reqsize(). Using

cra_reqsize in skcipher algorithms, hence, causes memory

corruptions and crashes as the underlying functions in the algorithm

framework have not been updated to set the reqsize properly from

cra_reqsize. [2]

Add proper set_reqsize calls in the skcipher init function to

properly initialize reqsize for these algorithms in the framework.

[1]: https://lore.kernel.org/linux-crypto/[email protected]/

[2]: https://gist.git

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently Asked Questions

What is CVE-2025-40182?

CVE-2025-40182 is a high-severity vulnerability. It was published on November 12, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2025-40182?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2025-40182?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-40182?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-40182 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.