Affected versions
Ubuntu16.04:LTS/patch
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu18.04:LTS/patch
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu20.04:LTS/patch
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu22.04:LTS/patch
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu24.04:LTS/patch
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu26.04:LTS/patch
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu26.10/patch
- Affected versions
- *
- Fixed version
- Not reported
UbuntuPro:14.04:LTS/patch
- Affected versions
- *
- Fixed version
- Not reported
Description
A flaw was found in GNU patch. An attacker can achieve arbitrary file creation outside the intended working directory by enticing a user or automated workflow to apply a specially crafted patch file. Due to missing validation during automatic patch reversal, absolute file paths in patch headers are accepted rather than rejected. Consequently, the utility can create files in arbitrary locations with the permissions of the executing user.

