# CVE-2023-30630: Dmidecode before 3.5 allows -dump-bin to overwrite a local file.

- Severity: High 7.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/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.51%, higher than 45% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-04-13T00:00:00.000Z
- Modified: 2026-06-17T05:55:11.853Z
- Weaknesses: CWE-23
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

Dmidecode before 3.5 allows -dump-bin to overwrite a local file. This has security relevance because, for example, execution of Dmidecode via Sudo is plausible. NOTE: Some third parties have indicated the fix in 3.5 does not adequately address the vulnerability. The argument is that the proposed patch prevents dmidecode from writing to an existing file. However, there are multiple attack vectors that would not require overwriting an existing file that would provide the same level of unauthorized privilege escalation (e.g. creating a new file in /etc/cron.hourly).

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- nongnu dmidecode: before 3.5

## Every score

- CISA-ADP: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`

## References

- <https://github.com/adamreiser/dmiwrite> (exploit, third-party-advisory)
- <https://lists.nongnu.org/archive/html/dmidecode-devel/2023-03/msg00003.html> (mailing-list, patch, release-notes, vendor-advisory)
- <https://git.savannah.nongnu.org/cgit/dmidecode.git/commit/?id=d8cfbc808f387e87091c25e7d5b8c2bb348bb206> (not-applicable)
- <https://git.savannah.nongnu.org/cgit/dmidecode.git/commit/?id=6ca381c1247c81f74e1ca4e7706f70bdda72e6f2> (not-applicable)

## Sources

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

---

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