# CVE-2021-3761: OctoRPKI lacks contextual out-of-bounds check when validating RPKI ROA maxLength values

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2021-09-09 · Modified: 2024-09-17
- Aliases: UBUNTU-CVE-2021-3761, DEBIAN-CVE-2021-3761, GHSA-c8xp-8mf3-62h9, GO-2022-0246
- Record: https://cvemate.com/vulnerability/CVE-2021-3761 · JSON: https://cvemate.com/vulnerability/CVE-2021-3761/json

## Description

```text
Any CA issuer in the RPKI can trick OctoRPKI prior to 1.3.0 into emitting an invalid VRP "MaxLength" value, causing RTR sessions to terminate. An attacker can use this to disable RPKI Origin Validation in a victim network (for example AS 13335 - Cloudflare) prior to launching a BGP hijack which during normal operations would be rejected as "RPKI invalid". Additionally, in certain deployments RTR session flapping in and of itself also could cause BGP routing churn, causing availability issues.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 1.216%, percentile 69.587%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- cloudflare octorpki: ≥ unspecified, \< 1.3.0 \| \< 1.3.0
- debian cfrpki (Debian): \< 1.3.0-1
- ubuntu cfrpki (Ubuntu): \< 1.4.2-1
- debian debian\_linux: 11.0
- github.com/cloudflare cfrpki (Go): \< 1.3.0

## References

- <https://github.com/cloudflare/cfrpki/security/advisories/GHSA-c8xp-8mf3-62h9>
- <https://www.debian.org/security/2022/dsa-5041>
- <https://ubuntu.com/security/CVE-2021-3761>
- <https://github.com/cloudflare/cfrpki/commit/a8db4e009ef217484598ba1fd1c595b54e0f6422>
- <https://www.cve.org/CVERecord?id=CVE-2021-3761>
- <https://security-tracker.debian.org/tracker/CVE-2021-3761>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-3761>
- <https://github.com/cloudflare/cfrpki/pull/90>
- <https://github.com/cloudflare/cfrpki/releases/tag/v1.3.0>
- <https://pkg.go.dev/vuln/GO-2022-0246>

---

Data as of 2026-12-05T11:03:17.909Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
