Skip to content
OpenAdvisories
Medium · 4.2 CVE-2026-14612 EUVD-2026-41554GHSA-fr6j-mfcv-pgmf

Freeipa: ipa: idm: freeipa: off-by-one buffer overflows in ipa-otpd oauth2.c during oauth2 device authorization

Published Jul 3, 2026 · Updated Nov 6, 2026 · Assigned by redhat

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.

Affected products

VendorProductAffectedFixed
Red Hat Red Hat Enterprise Linux 10 — —
Red Hat Red Hat Enterprise Linux 6 — —
Red Hat Red Hat Enterprise Linux 7 — —
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 9 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 freeipa No fix yet —
Debian 13 freeipa No fix yet —
Debian 12 freeipa No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 freeipa No fix yet —
Ubuntu 26.04 LTS freeipa No fix yet —
Ubuntu 25.10 freeipa No fix yet —
Ubuntu 24.04 LTS freeipa No fix yet —
Ubuntu 22.04 LTS freeipa No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS freeipa No fix yet —
Ubuntu 18.04 LTS freeipa No fix yet —
Ubuntu Pro 16.04 LTS freeipa No fix yet —
Ubuntu Pro 14.04 LTS freeipa No fix yet —

References