# JLSEC-2026-18: GNU patch through 2.7.6 contains a free(pline[pend]) Double Free vulnerability in the function anotherhunk in pch.c that can cause a denial…

- Severity: Medium 5.5 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-03-31T16:50:26.988Z
- Modified: 2026-07-25T18:23:48.154Z
- Related: CVE-2019-20633

## Description

GNU patch through 2.7.6 contains a free(`p_line`[`p_end`]) Double Free vulnerability in the function `another_hunk` in pch.c that can cause a denial of service via a crafted patch file. NOTE: this issue exists because of an incomplete fix for CVE-2018-6952.

(As written by Julia Security Advisories.)

## Affected

- patch_jll (Julia): before 2.8.0+0

## Every score

- Julia Security Advisories: CVSS:2.0 `AV:N/AC:M/Au:N/C:N/I:N/A:P`
- Julia Security Advisories: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`

## References

- <https://savannah.gnu.org/bugs/index.php?56683> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-18](https://osv.dev/vulnerability/JLSEC-2026-18), CC-BY-4.0, modified 2026-07-25

---

Page: https://cve.day/JLSEC-2026-18 · Whole record: https://cve.day/JLSEC-2026-18.json · Rebuilt by cve.day 2026-11-25T22:56:26.025Z
