---
id: CVE-2022-3616
aliases:
  - GHSA-pmw9-567p-68pc
  - GO-2022-1089
title: OctoRPKI crashes when max iterations is reached
summary: OctoRPKI crashes when max iterations is reached
severity: medium
cvss: 5.4
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:H'
vendor: cloudflare
product: github.com/cloudflare/cfrpki
ecosystem: go
affected:
  - github.com/cloudflare/cfrpki < 1.4.4
patched:
  - github.com/cloudflare/cfrpki 1.4.4
published: '2022-10-31'
updated: '2026-07-08'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-pmw9-567p-68pc'
references:
  - url: >-
      https://github.com/cloudflare/cfrpki/security/advisories/GHSA-pmw9-567p-68pc
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2022-3616'
  - url: >-
      https://github.com/cloudflare/cfrpki/commit/5f64bcd13477b29cd7ddff6fff3c65dfac3423ca
  - url: 'https://github.com/cloudflare/cfrpki'
tags:
  - osv
  - go
epss: 0.00431
epssPercentile: 0.3692
ingestedAt: '2026-07-09T18:56:36.681Z'
---

## Overview

### Impact
Attackers can create long chains of CAs that would lead to OctoRPKI exceeding its max iterations parameter. In consequence it would cause the program to crash, preventing it from finishing the validation and leading to a denial of service. Credits to Donika Mirdita and Haya Shulman - Fraunhofer SIT, ATHENE, who discovered and reported this vulnerability.

### Specific Go Packages Affected
github.com/cloudflare/cfrpki/cmd/octorpki

### Patches
This issue is fixed in v1.4.4

### Workarounds
None.

## Affected packages

- `github.com/cloudflare/cfrpki < 1.4.4`

## Remediation

Upgrade to a patched release:

- `github.com/cloudflare/cfrpki 1.4.4`
