{"id":"CLSA-2026-1789390312","summary":"Fix of 5 CVEs","details":"   * SECURITY UPDATE: out-of-bounds read via a positional field width or\n     precision in printf/sprintf\n     - debian/patches/CVE-2023-4156.patch: reject a negative positional index\n       in format_tree() in builtin.c. The digit run of a `%*N$' specifier is\n       accumulated into an int, so a sufficiently long N wraps it negative;\n       the existing guard tested only val \u003e= num_args, letting the negative\n       value reach the_args[val] and read before the start of the argument\n       array\n     - CVE-2023-4156\n   * SECURITY UPDATE: use-after-free in getline from a two-way pipe\n     - debian/patches/CVE-2026-40467.patch: stop do_getline_redir() in io.c\n       from releasing redir_exp immediately after redirect(), since the\n       two-way-pipe error path still reads redir_exp-\u003estptr/stlen through\n       is_non_fatal_redirect(). The DEREF is moved to each control-flow path\n       after the node's last use\n     - CVE-2026-40467\n   * SECURITY UPDATE: heap buffer overflow in sub()/gsub() on 32-bit\n     architectures\n     - debian/patches/CVE-2026-40468.patch: widen the sofar accumulator in\n       do_sub() in builtin.c from int to size_t so the running offset into the\n       replacement buffer cannot overflow while the buffer itself is sized\n       with size_t arithmetic. The upstream commit's second hunk, widening i\n       to int64_t in parse_escape() in node.c, is carried verbatim for\n       fidelity; it is inert here, as that function's octal and hex loops are\n       bounded at 0777 and 0xFF and it returns int\n     - CVE-2026-40468\n   * SECURITY UPDATE: integer overflow in the sub()/gsub() replacement size\n     computation on 32-bit architectures\n     - debian/patches/CVE-2026-40469.patch: compute the ampersand expansion in\n       do_sub() in builtin.c as a uint64_t and fatal out with \"replacement\n       expansion too large\" when the result would exceed SIZE_MAX, instead of\n       wrapping and under-allocating the destination buffer\n     - CVE-2026-40469\n   * SECURITY UPDATE: stack buffer overflow in the readdir extension\n     - debian/patches/CVE-2026-40553.patch: build the path in ftype() in\n       extension/readdir.c with a bounded snprintf() and reject the entry when\n       the result would be truncated, replacing the unbounded strcpy()/strcat()\n       pair that overflowed fname[] for a sufficiently long directory or entry\n       name\n     - CVE-2026-40553","modified":"2026-11-27T16:30:05.373378190Z","published":"2026-09-14T12:52:12Z","upstream":["CVE-2023-4156","CVE-2026-40467","CVE-2026-40468","CVE-2026-40469","CVE-2026-40553"],"references":[{"type":"ADVISORY","url":"https://errata.tuxcare.com/els_os/debian11els/CLSA-2026-1789390312.html"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-4156"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40467"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40468"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40469"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40553"}],"affected":[{"package":{"name":"gawk","ecosystem":"TuxCare:Debian:11","purl":"pkg:deb/tuxcare/gawk?distro=debian-11"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:5.1.0-1+tuxcare.els1"}]}],"database_specific":{"source":"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/debian11els/CLSA-2026-1789390312.json"}}],"schema_version":"1.9.2"}