CVE-2025-38079

Local privilege escalation via AF_ALG socket double free

Published Jun 18, 2025 · Updated Aug 5, 2026

Double free in the Linux kernel allows local users to corrupt kernel memory through crafted operations on an AF_ALG hash socket. In hash_accept, a failed crypto_ahash_import frees the accepted socket, after which af_alg_release frees the same socket again. An unprivileged local process can reach the syscall path without user interaction, enabling kernel-memory disclosure, writes, control-flow hijacking, or a kernel panic.

CVSS severity7.8
High
EPSS probability0.18%
Next 30 days · Sep 16, 2026
Known exploitationUnconfirmed
Based on sourced intelligence
Hinoki checkNot available
Coverage for this vulnerability

See if you're affected

Explore vulnerability checks for your environment with Hinoki.

Book a demo

Summary

What happened

Double free in the Linux kernel allows local users to corrupt kernel memory through crafted operations on an AF_ALG hash socket. In hash_accept, a failed crypto_ahash_import frees the accepted socket, after which af_alg_release frees the same socket again. An unprivileged local process can reach the syscall path without user interaction, enabling kernel-memory disclosure, writes, control-flow hijacking, or a kernel panic.

The record

CVE
CVE-2025-38079
Published
Jun 18, 2025
Updated
Aug 5, 2026
Vendor
Siemens
Product
SIPLUS S7-1500 CPU 1518-4 PN/DP MFP
Classifications
CWE-415, T1068
Attack vector
local
Privileges
authenticated

Timeline

How it unfolded

  1. Jun 18, 2025CVE publishedPublication date reported by the CVE source.
  2. Aug 5, 2026Record updatedLatest update available in the CVE record.

Exploitability

Present is not the same as exploitable

Compare your product and version with the public record. A matching version still requires validation against your environment.

Is a vulnerable build present?

Compare these published version ranges with your installed build and any vendor patches.

  1. Affected versionversion=V3.1.5 <*

What conditions does exploitation require?

Attack vectorlocal
Required privilegesauthenticated

What is affected?

Siemens · SIPLUS S7-1500 CPU 1518-4 PN/DP MFPversion=V3.1.5 <*
The Linux Kernel Organization · Linuxversion=2.6.38; version=fe869cdb89c95d060c77eea20204d6c91f233b53 <0346f4b742345d1c733c977f3a7aef5a6419a967; version=fe869cdb89c95d060c77eea20204d6c91f233b53 <134daaba93193df9e988524b5cd2f52d15eb1993; version=fe869cdb89c95d060c77eea20204d6c91f233b53 <2f45a8d64fb4ed4830a4b3273834ecd6ca504896; version=fe869cdb89c95d060c77eea20204d6c91f233b53 <5bff312b59b3f2a54ff504e4f4e47272b64f3633; version=fe869cdb89c95d060c77eea20204d6c91f233b53 <b2df03ed4052e97126267e8c13ad4204ea6ba9b6; version=fe869cdb89c95d060c77eea20204d6c91f233b53 <bf7bba75b91539e93615f560893a599c1e1c98bf; version=fe869cdb89c95d060c77eea20204d6c91f233b53 <c3059d58f79fdfb2201249c2741514e34562b547; version=fe869cdb89c95d060c77eea20204d6c91f233b53 <f0f3d09f53534ea385d55ced408f2b67059b16e4
Siemens · SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPversion=V3.1.5 <*
Siemens · SIMATIC S7-1500 CPU 1518-4 PN/DP MFPversion=V3.1.5 <*

Published CVSS scores

7.8Siemens ProductCERTCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
7.8LinuxCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS describes severity. EPSS estimates exploitation probability.

Attacks

What attackers are doing with it

Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.

Daily unique IPsNo honeypot observations are available for this CVE in the selected window.

No observations available

Sep 10, 2026Sep 16, 2026
Latest reporting daySep 16, 2026
Latest daily unique IPsUnavailable
Prior 30-day averageUnavailable
SourceShadowserver honeypots (KEV)
Vectorlocal
Privilegesauthenticated
Known exploitationUnconfirmed
Public exploitUnconfirmed

Weakness, pattern, technique

CWE-415Double Free
T1068Exploitation for Privilege Escalation

Public exploit references

No public exploit references are available in this record.

Labels summarize the accepted research assessment. They do not indicate a test against your environment.

Technologies

Your stack

See the directory against your own environment.

Your stack

Check the software in your environment

Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.

Book a demo