---
title: "CVE-2021-45261"
canonical_url: "https://pkgseek.com/security/CVE-2021-45261"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2021-45261

An Invalid Pointer vulnerability exists in GNU patch 2.7 via the another_hunk function, which causes a Denial of Service.

CVE-2021-45261 is rated MEDIUM (5.5), with 5 indexed affected package builds across 3 distributions.

- **Severity / Score**: MEDIUM (5.5)
- **Affected builds**: 5
- **Affected distros**: 3
- **Distros with fixed_in**: openSUSE

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | patch | 2.8-2+deb13u1 | — |
| openSUSE | 15.6 | patch | 2.7.6-150000.5.6.1 | 2.7.6-150000.5.9.1 |
| Ubuntu | focal | patch | 2.7.6-6 | — |
| Ubuntu | jammy | patch | 2.7.6-7build2 | — |
| Ubuntu | noble | patch | 2.7.6-7build3 | — |
