# CVE-2023-52512: pinctrl: nuvoton: wpcm450: fix out of bounds write

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2024-03-02T21:52:23.932Z
- Modified: 2026-06-17T06:42:54.190Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

pinctrl: nuvoton: wpcm450: fix out of bounds write

Write into 'pctrl->gpio_bank' happens before the check for GPIO index
validity, so out of bounds write may happen.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

(As written by CVE List.)

## Affected

- Linux Linux: from a1d1e0e3d80a870cc37a6c064994b89e963d2b58 before 6c18c386fd13dbb3ff31a1086dabb526780d9bda; from a1d1e0e3d80a870cc37a6c064994b89e963d2b58 before c9d7cac0fd27c74dd368e80dc4b5d0f9f2e13cf8; from a1d1e0e3d80a870cc37a6c064994b89e963d2b58 before 87d315a34133edcb29c4cadbf196ec6c30dfd47b; 5.18 (not affected: before 5.18; from 6.1.59 up to 6.1.*; from 6.5.8 up to 6.5.*; from 6.6 up to *)
- linux linux_kernel: from 5.18 before 6.1.59; from 6.2 before 6.5.8; 6.6

## References

- <https://git.kernel.org/stable/c/6c18c386fd13dbb3ff31a1086dabb526780d9bda> (patch)
- <https://git.kernel.org/stable/c/c9d7cac0fd27c74dd368e80dc4b5d0f9f2e13cf8> (patch)
- <https://git.kernel.org/stable/c/87d315a34133edcb29c4cadbf196ec6c30dfd47b> (patch)

## Sources

- CVE List: [CVE-2023-52512](https://www.cve.org/CVERecord?id=CVE-2023-52512), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-52512](https://nvd.nist.gov/vuln/detail/CVE-2023-52512), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-52512 · Whole record: https://cve.day/CVE-2023-52512.json · Rebuilt by cve.day 2026-11-25T22:58:33.157Z
