Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify FreeIPA deployment with external IdP configured
-
DeliveryGain control of or MITM IdP endpoint
-
ExploitWait for user to initiate OAuth2 device authorization flow
-
ExecutionServe oversized IdP authorization response
-
PersistTrigger off-by-one write past fixed buffer in ipa-otpd
-
ImpactCrash daemon, disrupting OTP and IdP-based authentication
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Three conditions must be simultaneously satisfied: (1) FreeIPA must be explicitly configured with an external OAuth2/OIDC Identity Provider - this is a non-default, administrator-provisioned configuration; standard FreeIPA deployments using only built-in OTP are not affected; (2) the attacker must control the external IdP endpoint (e.g., compromised or malicious IdP) or successfully perform a man-in-the-middle attack on the network path between the ipa-otpd daemon and the IdP, which drives the AC:H rating; (3) a legitimate FreeIPA user must actively initiate the OAuth2 device authorization flow, providing the required user interaction (UI:R). Exploitation is further limited to the one-byte overwrite boundary, which significantly constrains the reliability and impact achievable beyond daemon denial of service. Environments without external IdP configuration are entirely unexposed. |
| Impact | The CVSS 3.1 score of 4.2 (Medium) accurately reflects a constrained attack surface: high attack complexity (AC:H) requires the attacker to either compromise the external IdP or establish a man-in-the-middle position on the network path between ipa-otpd and the IdP, and user interaction (UI:R) is mandatory - a legitimate user must actively initiate the OAuth2 device authorization flow. The network vector (AV:N) reflects the attacker's network position rather than ease of exploitation. Impact is bounded to limited integrity (I:L) and availability (A:L) with no confidentiality impact (C:N); the vendor description itself qualifies the most likely outcome as limited denial of service, which is consistent with a one-byte boundary overwrite. No EPSS score was provided in the available intelligence. The absence of a CISA KEV entry and no identified proof-of-concept code both support a low urgency rating for most environments. The prerequisite of a non-default external IdP configuration further narrows the realistic vulnerable population to a subset of FreeIPA deployments. CVSS I:L may overstate realistic integrity risk given the one-byte constraint, but is a defensible conservative assessment. |
| Exploit ScenarioDerived | An attacker with a man-in-the-middle position between the FreeIPA server and its configured external OAuth2/OIDC IdP endpoint intercepts the device authorization response and replaces it with a crafted oversized payload. When a legitimate user initiates the OAuth2 device flow - for example, during an MFA login attempt - ipa-otpd processes the malicious response, triggers the off-by-one write, and most likely crashes, disrupting OTP and IdP-based authentication for all users until the daemon restarts. No public proof-of-concept exploit has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 03, 2026
Two off-by-one errors in FreeIPA's ipa-otpd daemon expose RHEL 6 through 10 deployments configured with an external OAuth2/OIDC Identity Provider to out-of-bounds memory access during the device authorization flow. An attacker who controls or can man-in-the-middle the configured IdP endpoint can serve an oversized authorization response, triggering CWE-787 writes or reads one byte past a fixed-size buffer boundary. The most probable outcome is denial of service of the ipa-otpd daemon; no public exploit has been identified and the vulnerability is not listed in the CISA KEV catalog.
RemediationAI
Apply the Red Hat-released errata for ipa-otpd once available via standard RHEL subscription channels; consult https://access.redhat.com/security/cve/CVE-2026-14612 for the specific advisory and updated package version, which was not confirmed in the available data at time of analysis. As an immediate compensating control, administrators should assess whether external IdP integration for the device authorization flow is actively required; if not, removing the external IdP configuration from FreeIPA (using 'ipa idp-del' or clearing IdP references from user accounts) eliminates the attack surface entirely - the trade-off is loss of OAuth2/OIDC SSO capability for affected users. For environments that must retain external IdP integration, restricting the network path between ipa-otpd and the IdP endpoint to a trusted, TLS-authenticated channel with certificate pinning mitigates the MITM prerequisite. No exact fix version was independently confirmed from the available data.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exists in the ipa-otpd daemon's handler for the OAuth2 device authorization flow (RFC 8628), which FreeIPA uses to integrate with external OAuth2/OIDC Identity Providers for multi-factor authentication. Two off-by-one fencepost errors (CWE-787, Out-of-bounds Write) in the response-parsing logic fail to correctly bound a fixed-size buffer when the IdP returns an oversized payload, permitting reads or writes of exactly one byte beyond the buffer's end. Affected products are confirmed via CPE as FreeIPA shipped within Red Hat Enterprise Linux 6, 7, 8, 9, and 10 (cpe:2.3:a:red_hat:red_hat_enterprise_linux_*). The root cause class CWE-787 typically arises from length-minus-one calculation errors and can produce memory corruption or process crashes depending on what data occupies the adjacent byte.
Know when Red Hat Enterprise Linux 10 gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L
MITM or IdP-control prerequisite drives AC:H; user-initiated flow requires UI:R; no privileges needed on FreeIPA system itself (PR:N); one-byte write supports I:L conservatively, daemon crash supports A:L.
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Affected Products (CPE)CVE.org
More in Red Hat Enterprise Linux 10
View allHeap corruption via double-free in 389-ds-base's LDAP control parsing allows an unauthenticated remote attacker to crash
Remote code execution in Cockpit's web interface allows unauthenticated attackers to execute arbitrary commands on the h
Remote code execution in Samba's printing subsystem allows remote attackers to inject arbitrary shell commands via craft
Ghostscript can execute arbitrary shell commands with the privileges of its process when it renders a crafted PostScript
Use-after-free in librsvg during rendering of crafted SVG documents with nested XInclude directives and duplicate entity
A signed integer overflow vulnerability exists in the libtiff library's putcontig8bitYCbCr44tile function that leads to
The system CA trust store shipped in Red Hat's ca-certificates RPM packages includes eMudhra root authorities that signe
Authentication bypass in 389 Directory Server (shipped as Red Hat Directory Server 11-13 and within RHEL 6-10) lets remo
Remote code execution and privilege escalation in HPLIP (HP Linux Imaging and Printing) affects the hpcups print filter
Unauthenticated privilege escalation in FreeIPA (Red Hat Identity Management) allows a remote attacker to gain genuine a
A heap buffer overflow exists in libsoup's WebSocket permessage-deflate compression path: when a very large outbound mes
Remote code execution in libarchive on 32-bit systems allows unauthenticated attackers to execute arbitrary code via spe
EUVD-2026-41554
GHSA-fr6j-mfcv-pgmf
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB