CVE-2021-45261
CVE-2021-45261 is a medium-severity vulnerability in Gnu Patch with a CVSS 3.x base score of 5.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-763.
Key facts
- Severity: Medium (CVSS 3.x base score 5.5)
- CVSS v2: 4.3
- EPSS exploit prediction: 1% (49th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-763
- Affected product: Gnu Patch
- Published:
- Last modified:
Description
An Invalid Pointer vulnerability exists in GNU patch 2.7 via the another_hunk function, which causes a Denial of Service.
Frequently asked questions
- What is CVE-2021-45261?
- An Invalid Pointer vulnerability exists in GNU patch 2.7 via the another_hunk function, which causes a Denial of Service.
- How severe is CVE-2021-45261?
- CVE-2021-45261 has a CVSS 3.x base score of 5.5, rated medium severity. It is exploitable over local access with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2021-45261 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (49th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2021-45261?
- CVE-2021-45261 affects Gnu Patch. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2021-45261?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2021-45261 published?
- CVE-2021-45261 was published on 2021-12-22 and last updated on 2026-06-17.
References
Affected products (1)
- cpe:2.3:a:gnu:patch:2.7:*:*:*:*:*:*:*
More vulnerabilities in Gnu Patch
- CVE-2018-20969 — High (CVSS 7.8): do_ed_script in pch.c in GNU patch through 2.7.6 does not block strings beginning with a ! character. NOTE: this is the…
- CVE-2019-13638 — High (CVSS 7.8): GNU patch through 2.7.6 is vulnerable to OS shell command injection that can be exploited by opening a crafted patch…
- CVE-2018-1000156 — High (CVSS 7.8): GNU Patch version 2.7.6 contains an input validation vulnerability when processing patch files, specifically the…
- CVE-2015-1396 — High (CVSS 7.5): A Directory Traversal vulnerability exists in the GNU patch before 2.7.4. A remote attacker can write to arbitrary…
- CVE-2018-6952 — High (CVSS 7.5): A double free exists in the another_hunk function in pch.c in GNU patch through 2.7.6.
- CVE-2018-6951 — High (CVSS 7.5): An issue was discovered in GNU patch through 2.7.6. There is a segmentation fault, associated with a NULL pointer…
All CVEs affecting Gnu Patch →
Other CWE-763 vulnerabilities
- CVE-2026-52993 — Critical (CVSS 9.8): In the Linux kernel, the following vulnerability has been resolved: tipc: fix double-free in…
- CVE-2025-14233 — Critical (CVSS 9.8): Invalid free in CPCA file deletion processing on Small Office Multifunction Printers and Laser Printers(*) which may…
- CVE-2024-44852 — Critical (CVSS 9.8): Open Robotics Robotic Operating System 2 ROS2 navigation2 v.humble was discovered to contain a segmentation violation…
- CVE-2021-42377 — Critical (CVSS 9.8): An attacker-controlled pointer free in Busybox's hush applet leads to denial of service and possible code execution…
- CVE-2021-30473 — Critical (CVSS 9.8): aom_image.c in libaom in AOMedia before 2021-04-07 frees memory that is not located on the heap.
- CVE-2021-24028 — Critical (CVSS 9.8): An invalid free in Thrift's table-based serialization can cause the application to crash or potentially result in code…