-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

- -------------------------------------------------------------------------
Debian LTS Advisory DLA-4945-1                [email protected]
https://www.debian.org/lts/security/                        Simon Quigley
November 27, 2026                             https://wiki.debian.org/LTS
- -------------------------------------------------------------------------

Package        : patch
Version        : 2.7.6-7+deb12u1
CVE ID         : CVE-2026-115207

GNU patch applies a diff to a set of files. An attacker who can get a
user or an automated job to apply a crafted patch with patch's -p0
option could create a new file at an arbitrary absolute path, with
attacker-chosen contents and the privileges of that user.

CVE-2026-115207

    When patch reversed a hunk automatically, either in batch mode (-t)
    or after the user answered yes to "Assume -R?", or when -R was used
    on a patch that creates a file, it did not check the file name
    first. A crafted patch could name an absolute path, and patch would
    create the file there. A git-style header could also make the new
    file executable or a symbolic link.

For Debian 12 bookworm, this problem has been fixed in version
2.7.6-7+deb12u1.

We recommend that you upgrade your patch packages.

For the detailed security status of patch please refer to
its security tracker page at:
https://security-tracker.debian.org/tracker/patch

Further information about Debian LTS security advisories, how to apply
these updates to your system, and frequently asked questions can be
found at: https://wiki.debian.org/LTS
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEXHq+og+GMEWcyMi14n8s+EWML6QFAmsKAfUACgkQ4n8s+EWM
L6RPTw//TSHIA2EOZPfk8oq5hrSLYfD3MNICim3kuvDq8Rs1tz4MaXx3l/ivT4pf
Fq9c7i4A566TAyf3+EHl0zEvB939b8mBbaEPKCikIfjHtWTmSUQT9AxpxUoIvrXY
/U20yjLxIvrLxwYHp009IES3WmoGMKU+HNu32AHE8bEPU8+ONwI7cNc18VqcQq5s
UYA36w6iRHMMoWMlGhj6ajUbwd6mt+Ex8SQ/Qix8PLUUdyijTeIcDo+yK+EfTNeH
wEzBJUYGtXEmXgU6OavnC8HrhMwgD2jxBf42VfMAuC6g2l+1pALqeyg7UyKoz4r0
+irPAQo9KeqsBOG17NBoaRboQjtUurG4ezpYvqaKCZejsH+Y0mtLOlZ6W7DZbXN3
NCP2RDWmEMCi+MoKZAUNzEY5DaA8AEmJRwp+TmswIUEeI/zCWzq8gRAtS1JAnL6f
6w6LJNXVHHytUJc+cYV20Pk0anmmueMNnaAumymB17NHMXIPtNLyCg/PR3a/P/py
Du+9IN0ZuqarNP7G78pyU72jZdT9YKRp79dRsWHFMdj+yXH7PQ/tH2Ip8ciXEg1R
Wwr75vBD19iznRbwE3NiXA9fEI4BY087wg0ExweLojxlwZ6ZOjos+mhy3sSN6nGl
NpTNtYgprn7JBW6FY8CFHbIRreDd/n1dzA5ABUQzR+7FhZzUdhI=
=ekm4
-----END PGP SIGNATURE-----

Reply via email to