CVE-2026-14612 Freeipa: ipa: idm: freeipa: off-by-one buffer overflows in ipa-otpd oauth2.c during oauth2 device authorization
An attacker controlling an external IdP can trigger a buffer overflow in FreeIPA's ipa-otpd daemon, causing a denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-14612?
CVE-2026-14612 is a medium-severity memory corruption vulnerability in Red Hat Enterprise Linux 10, published on 3 Jul 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-787
Which versions are affected by CVE-2026-14612?
How do I fix CVE-2026-14612?
No fix has been published for CVE-2026-14612 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2026-14612 being exploited?
There is no known exploitation of CVE-2026-14612 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2026-14612, GHSA-fr6j-mfcv-pgmf, UBUNTU-CVE-2026-14612.