---
id: CVE-2019-14867
aliases:
  - GHSA-7hpj-hfcr-5qwm
  - PYSEC-2019-28
  - PYSEC-2026-636
title: Code injection in FreeIPA
summary: Code injection in FreeIPA
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'
vendor: ipa
product: ipa
ecosystem: pip
affected:
  - 'ipa >= 4.6.2, < 4.6.7'
  - 'ipa >= 4.7.0, < 4.7.4'
  - 'ipa >= 4.8.0, < 4.8.3'
  - 'freeipa >= 4.6.2, < 4.6.7'
  - 'freeipa >= 4.7.0, < 4.7.4'
  - 'freeipa >= 4.8.0, < 4.8.3'
patched:
  - ipa 4.6.7
  - ipa 4.7.4
  - ipa 4.8.3
  - freeipa 4.6.7
  - freeipa 4.7.4
  - freeipa 4.8.3
published: '2021-12-06'
updated: '2026-07-06'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-7hpj-hfcr-5qwm'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2019-14867'
  - url: 'https://access.redhat.com/errata/RHBA-2019:4268'
  - url: 'https://access.redhat.com/errata/RHSA-2020:0378'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14867'
  - url: 'https://github.com/advisories/GHSA-7hpj-hfcr-5qwm'
  - url: >-
      https://github.com/pypa/advisory-database/tree/main/vulns/ipa/PYSEC-2019-28.yaml
  - url: 'https://github.com/pypa/advisory-db/tree/main/vulns/ipa/PYSEC-2019-28.yaml'
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/67SEUWJAJ5RMH5K4Q6TS2I7HIMXUGNKF
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WLFL5XDCJ3WT6JCLCQVKHZBLHGW7PW4T
  - url: 'https://www.freeipa.org/page/Releases/4.6.7'
  - url: 'https://www.freeipa.org/page/Releases/4.7.4'
  - url: 'https://www.freeipa.org/page/Releases/4.8.3'
tags:
  - osv
  - pip
epss: 0.07413
epssPercentile: 0.94163
ingestedAt: '2026-07-08T18:25:47.021Z'
---

## Overview

A flaw was found in IPA, all 4.6.x versions before 4.6.7, all 4.7.x versions before 4.7.4 and all 4.8.x versions before 4.8.3, in the way the internal function ber_scanf() was used in some components of the IPA server, which parsed kerberos key data. An unauthenticated attacker who could trigger parsing of the krb principal key could cause the IPA server to crash or in some conditions, cause arbitrary code to be executed on the server hosting the IPA server.

## Affected packages

- `ipa >= 4.6.2, < 4.6.7`
- `ipa >= 4.7.0, < 4.7.4`
- `ipa >= 4.8.0, < 4.8.3`
- `freeipa >= 4.6.2, < 4.6.7`
- `freeipa >= 4.7.0, < 4.7.4`
- `freeipa >= 4.8.0, < 4.8.3`

## Remediation

Upgrade to a patched release:

- `ipa 4.6.7`
- `ipa 4.7.4`
- `ipa 4.8.3`
- `freeipa 4.6.7`
- `freeipa 4.7.4`
- `freeipa 4.8.3`
