CVE-2026-14612: FreeIPA ipa-otpd off-by-one errors in OAuth2 handler

CVE-2026-14612 · Severity: medium · CVSS 4.2 · Published 2026-07-03

FreeIPA is an open-source identity management solution used to manage users, policies, and trust relationships in Linux environments. A security flaw in its one-time password daemon (ipa-otpd) could allow an attacker who controls a linked identity provider to crash the service. This would prevent users from logging in using external identity providers, potentially disrupting business operations and authentication services.

Technologies: FreeIPA Project FreeIPA, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9. Vendors: FreeIPA Project, Red Hat.

Quick answers

Is CVE-2026-14612 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-14612 being exploited in the wild.
How severe is CVE-2026-14612?
Medium severity, with a CVSS score of 4.2, published 3 July 2026.
Which products and versions are affected?
Red Hat Enterprise Linux 10 affected; Red Hat Enterprise Linux 7 affected; Red Hat Enterprise Linux 8 affected; Red Hat Enterprise Linux 9 affected.
Is there a fix for CVE-2026-14612?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-14612 attacked?
It is attacked over the network, in an operating system.
Am I affected by CVE-2026-14612?
Check whether you run FreeIPA Project FreeIPA, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 7 or one of the others listed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

Two off-by-one vulnerabilities exist in the `ipa-otpd` daemon within `daemons/ipa-otpd/oauth2.c`. The first is an out-of-bounds write (CWE-787) where a null terminator is placed one byte past a fixed 10240-byte buffer when a response exactly matches the buffer size. The second is an out-of-bounds read (CWE-125) during `memchr` operations while parsing the response. An attacker must control or man-in-the-middle a configured external OAuth2/OIDC Identity Provider (IdP) and wait for a user to initiate a device authorization flow. Successful exploitation typically results in a denial of service (crash) of the `ipa-otpd` daemon.

Affected products

  • FreeIPA FreeIPA
  • Red Hat Enterprise Linux 7 affected
  • Red Hat Enterprise Linux 8 affected
  • Red Hat Enterprise Linux 9 affected
  • Red Hat Enterprise Linux 10 affected

Timeline

  • 2026-07-03: disclosed: Vulnerability reported and confirmed via Red Hat Bugzilla
  • 2026-07-03: advisory: CVE-2026-14612 published by Red Hat

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.