# CVE-2023-0751: GELI silently omits the keyfile if read from stdin

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- 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.66%, higher than 52% of CVEs (2026-12-02)
- Published: 2023-02-08T19:25:01.118Z
- Modified: 2026-06-17T05:26:13.910Z
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: freebsd

## Description

When GELI reads a key file from standard input, it does not reuse the key file to initialize multiple providers at once resulting in the second and subsequent devices silently using a NULL key as the user key file. If a user only uses a key file without a user passphrase, the master key is encrypted with an empty key file allowing trivial recovery of the master key.

(As written by CVE List.)

## Affected

- FreeBSD FreeBSD: from 13.1-RELEASE before 13.1-RELEASE-p6; from 12.4-RELEASE before 12.4-RELEASE-p1; from 12.3-RELEASE before 12.3-RELEASE-p11; 12.3; 12.4; 13.1

## Every score

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

## References

- <https://security.FreeBSD.org/advisories/FreeBSD-SA-23:01.geli.asc> (mitigation, patch, vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20230316-0004/>

## Sources

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

---

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