# CVE-2026-14612: Freeipa: ipa: idm: freeipa: off-by-one buffer overflows in ipa-otpd oauth2.c during oauth2 device authorization

- Severity: Medium 4.2 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L`
- 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.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-07-03T15:11:02.173Z
- Modified: 2026-11-25T16:17:47.917Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## Description

Two off-by-one errors in the FreeIPA ipa-otpd daemon's OAuth2 device authorization handler can cause out-of-bounds memory access when processing an oversized response from a configured external OAuth2/OIDC Identity Provider. An attacker who controls or can man-in-the-middle the IdP endpoint may be able to trigger ipa-otpd to write or read one byte past the end of a fixed-size buffer. Exploitation requires FreeIPA to be configured with an external IdP, attacker control or MITM of that IdP, and a user to initiate the OAuth2 device authorization flow. The most likely impact is limited denial of service affecting the ipa-otpd daemon.

(As written by CVE List.)

## Affected

- ipa: no versions given
- idm:client/ipa: no versions given
- idm:DL1/ipa: no versions given

## References

- <https://access.redhat.com/security/cve/CVE-2026-14612> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2496879> (issue-tracking)

## Sources

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

---

Page: https://cve.day/CVE-2026-14612 · Whole record: https://cve.day/CVE-2026-14612.json · Rebuilt by cve.day 2026-11-25T23:18:04.305Z
