An issue was discovered in GNU patch before 2.7.6. Out-of-bounds access within pch_write_line() in pch.c can possibly lead to DoS via a crafted input file.
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
Link | Tags |
---|---|
https://usn.ubuntu.com/3624-2/ | vendor advisory |
https://usn.ubuntu.com/3624-1/ | vendor advisory |
https://git.savannah.gnu.org/cgit/patch.git/commit/src/pch.c?id=a0d7fe4589651c64bd16ddaaa634030bb0455866 | patch vendor advisory |
http://www.securityfocus.com/bid/103063 | vdb entry third party advisory |
https://access.redhat.com/errata/RHSA-2019:2033 | vendor advisory |