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

Source: https://junglewise.ai/threats/cve-2026-14612-freeipa-ipa-otpd-off-by-one-errors-in-oauth2-handler  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-03. Updated: 2026-07-03  
License: CC BY 4.0 with a link back

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](https://junglewise.ai/threats/technologies/freeipa), [Red Hat Enterprise Linux 10](https://junglewise.ai/threats/technologies/enterprise-linux-10), [Red Hat Enterprise Linux 7](https://junglewise.ai/threats/technologies/enterprise-linux-7), [Red Hat Enterprise Linux 8](https://junglewise.ai/threats/technologies/enterprise-linux-8), [Red Hat Enterprise Linux 9](https://junglewise.ai/threats/technologies/enterprise-linux-9). Vendors: [FreeIPA Project](https://junglewise.ai/threats/vendors/freeipa-project), [Red Hat](https://junglewise.ai/threats/vendors/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

- [https://access.redhat.com/downloads/content/package-browser/](https://access.redhat.com/downloads/content/package-browser/)
- [https://access.redhat.com/security/cve/CVE-2026-14612](https://access.redhat.com/security/cve/CVE-2026-14612)
- [https://bugzilla.redhat.com/show_bug.cgi?id=2496879](https://bugzilla.redhat.com/show_bug.cgi?id=2496879)

## Related threats

- [Red Hat yggdrasil-worker-package-manager argument injection in APT backend](https://junglewise.ai/threats/cve-2026-18157-red-hat-yggdrasil-worker-package-manager-argument-injection-in)
- [Samba AD DC LDAP filter injection and ACL bypass in Compare requests](https://junglewise.ai/threats/cve-2026-58222-samba-ad-dc-ldap-filter-injection-and-acl-bypass-in-compare)
- [Samba KDC out-of-bounds read in kpasswd service](https://junglewise.ai/threats/cve-2026-58216-samba-kdc-out-of-bounds-read-in-kpasswd-service)
- [Samba internal DNS server denial of service via TKEY cache exhaustion](https://junglewise.ai/threats/cve-2026-58218-samba-internal-dns-server-denial-of-service-via-tkey-cache)
- [Red Hat PCP auth bypass in pmproxy /store endpoint](https://junglewise.ai/threats/cve-2026-16527-red-hat-pcp-auth-bypass-in-pmproxy-store-endpoint)
