CVE-2025-38198

Local kernel memory corruption via negative framebuffer index

Published Jul 4, 2025 · Updated Jul 14, 2026

Improper array-index validation in Linux kernel fbcon allows local users to corrupt kernel memory through the store_modes sysfs node. fbcon_info_from_console uses a -1 con2fb_map entry directly to index fbcon_registered_fb instead of rejecting an unregistered console. A local user must reach the writable framebuffer sysfs attribute; the resulting out-of-bounds kernel access can compromise confidentiality, integrity, and availability.

CVSS severity7.8
High
EPSS probability0.17%
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

Improper array-index validation in Linux kernel fbcon allows local users to corrupt kernel memory through the store_modes sysfs node. fbcon_info_from_console uses a -1 con2fb_map entry directly to index fbcon_registered_fb instead of rejecting an unregistered console. A local user must reach the writable framebuffer sysfs attribute; the resulting out-of-bounds kernel access can compromise confidentiality, integrity, and availability.

The record

CVE
CVE-2025-38198
Published
Jul 4, 2025
Updated
Jul 14, 2026
Vendor
Siemens
Product
SIPLUS S7-1500 CPU 1518-4 PN/DP MFP
Classifications
CWE-129, T1068
Attack vector
local
Privileges
authenticated

Timeline

How it unfolded

  1. Jul 4, 2025CVE publishedPublication date reported by the CVE source.
  2. Jul 14, 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=409d6c95f9c68bb7046410a3502e26e454a1e636 <519ba75728ee8cd561dce25fc52a2ec5c47171dc; version=409d6c95f9c68bb7046410a3502e26e454a1e636 <54b28f7c567dd659e5f9562f518e4d7f3f6a367b; version=409d6c95f9c68bb7046410a3502e26e454a1e636 <b3237d451bf3a4490cb1a76f3b7c91d9888f1c4b; version=409d6c95f9c68bb7046410a3502e26e454a1e636 <cedc1b63394a866bf8663a3e40f4546f1d28c8d8; version=409d6c95f9c68bb7046410a3502e26e454a1e636 <f28f1f578cd810779d01999c60618cda14c281dd; version=5.19
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

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-129Improper Validation of Array Index
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