# CVE-2025-40114: iio: light: Add check for array bounds in veml6075\_read\_int\_time\_ms

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.31% (percentile 16, 2026-11-28)
- **CWE:** CWE-129
- **Published:** 2025-04-18T07:01:40.964Z
- **Modified:** 2026-06-17T09:21:17.240Z

## Who should check

- Anyone running Linux \>= 3b82f43238aecd73464aeacc9c73407079511533, \< 7a40b52d4442178bee0cf1c36bc450ab951cef0f; \>= 3b82f43238aecd73464aeacc9c73407079511533, \< 18a08b5632809faa671279b3cd27d5f96cc5a3f0; \>= 3b82f43238aecd73464aeacc9c73407079511533, \< 9c40a68b7f97fa487e6c7e67fcf4f846a1f96692; \>= 3b82f43238aecd73464aeacc9c73407079511533, \< ee735aa33db16c1fb5ebccbaf84ad38f5583f3cc
- Anyone running Linux 6.8

## Description

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

iio: light: Add check for array bounds in veml6075\_read\_int\_time\_ms

The array contains only 5 elements, but the index calculated by
veml6075\_read\_int\_time\_index can range from 0 to 7,
which could lead to out-of-bounds access. The check prevents this issue.

Coverity Issue
CID 1574309: (\#1 of 1): Out-of-bounds read (OVERRUN)
overrun-local: Overrunning array veml6075\_it\_ms of 5 4-byte
elements at element index 7 (byte offset 31) using
index int\_index (which evaluates to 7)

This is hardening against potentially broken hardware. Good to have
but not necessary to backport.

## Affected and fixed versions

- Linux: \>= 3b82f43238aecd73464aeacc9c73407079511533, \< 7a40b52d4442178bee0cf1c36bc450ab951cef0f; \>= 3b82f43238aecd73464aeacc9c73407079511533, \< 18a08b5632809faa671279b3cd27d5f96cc5a3f0; \>= 3b82f43238aecd73464aeacc9c73407079511533, \< 9c40a68b7f97fa487e6c7e67fcf4f846a1f96692; \>= 3b82f43238aecd73464aeacc9c73407079511533, \< ee735aa33db16c1fb5ebccbaf84ad38f5583f3cc (cvelist)
- Linux: 6.8 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-40114. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-40114.md
Affected: Linux >= 3b82f43238aecd73464aeacc9c73407079511533, < 7a40b52d4442178bee0cf1c36bc450ab951cef0f; >= 3b82f43238aecd73464aeacc9c73407079511533, < 18a08b5632809faa671279b3cd27d5f96cc5a3f0; >= 3b82f43238aecd73464aeacc9c73407079511533, < 9c40a68b7f97fa487e6c7e67fcf4f846a1f96692; >= 3b82f43238aecd73464aeac…
Fixed in: Linux 7a40b52d4442178bee0cf1c36bc450ab951cef0f, Linux 18a08b5632809faa671279b3cd27d5f96cc5a3f0, Linux 9c40a68b7f97fa487e6c7e67fcf4f846a1f96692

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-40114 being exploited?

There is no confirmed exploitation: CVE-2025-40114 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2025-40114?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-40114?

Linux \>= 3b82f43238aecd73464aeacc9c73407079511533, \< 7a40b52d4442178bee0cf1c36bc450ab951cef0f; \>= 3b82f43238aecd73464aeacc9c73407079511533, \< 18a08b5632809faa671279b3cd27d5f96cc5a3f0; \>= 3b82f43238aecd73464aeacc9c73407079511533, \< 9c40a68b7f97fa487e6c7e67fcf4f846a1f96692; \>= 3b82f43238aecd73464aeacc9c73407079511533, \< ee735aa33db16c1fb5ebccbaf84ad38f5583f3cc; Linux 6.8.

### Is there a fix for CVE-2025-40114?

Yes. Fixed in Linux 7a40b52d4442178bee0cf1c36bc450ab951cef0f, Linux 18a08b5632809faa671279b3cd27d5f96cc5a3f0, Linux 9c40a68b7f97fa487e6c7e67fcf4f846a1f96692. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-40114?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/7a40b52d4442178bee0cf1c36bc450ab951cef0f>
- patch: <https://git.kernel.org/stable/c/18a08b5632809faa671279b3cd27d5f96cc5a3f0>
- patch: <https://git.kernel.org/stable/c/9c40a68b7f97fa487e6c7e67fcf4f846a1f96692>
- patch: <https://git.kernel.org/stable/c/ee735aa33db16c1fb5ebccbaf84ad38f5583f3cc>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-40114>

HTML: <https://flawdb.com/CVE-2025-40114> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-40114>
