CVE-2025-39931
Last modified
CVE-2025-39931 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: crypto: af_alg - Set merge to zero early in af_alg_sendmsg If an error causes af_alg_sendmsg to abort, ctx->merge may contain a garbage value from the previous loop. This may then trigger a crash on the next entry into af_alg_sendmsg when it attempts to do a merge that can't be done. Fix this by setting ctx->merge to zero near the start of the loop.. EPSS estimates a 0.14% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: crypto: af_alg - Set merge to zero early in af_alg_sendmsg If an error causes af_alg_sendmsg to abort, ctx->merge may contain a garbage value from the previous loop. This may then trigger a crash on the next entry into af_alg_sendmsg when it attempts to do a merge that can't be done. Fix this by setting ctx->merge to zero near the start of the loop.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 2.6.38, < 6.1.154 | — |
| Linux | Linux Kernel | >= 6.2, < 6.6.108 | — |
| Linux | Linux Kernel | >= 6.7, < 6.12.49 | — |
| Linux | Linux Kernel | >= 6.13, < 6.16.9 | — |
| Linux | Linux Kernel | 6.17 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-39931?
How severe is CVE-2025-39931?
How do I fix CVE-2025-39931?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-39926In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-39927In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2025-39928In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-39929In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-3993A vulnerability was found in TOTOLINK N150RT 3.4.0-B20190525…8.8
- CVE-2025-39930In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-39932In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-39933In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-39934In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-39935In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-39936In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-39937In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2025-39931?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
