---
id: CVE-2026-14612
title: >-
  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
summary: >-
  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 …
severity: medium
cvss: 4.2
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L'
cwe:
  - CWE-787
published: '2026-07-03'
updated: '2026-07-03'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-14612'
references:
  - url: 'https://access.redhat.com/security/cve/CVE-2026-14612'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2496879'
    label: secalert@redhat.com
tags:
  - nvd
ingestedAt: '2026-07-04T10:56:04.354Z'
epss: 0.00226
epssPercentile: 0.11924
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
