-Infinity
0
Severity
5.5
Race Condition
AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

GNU Screen is vulnerable to a Time-of-Check/Time-of-Use (TOCTOU) race condition in the hardcopy file handler. Due to checking write permissions using the real user ID and subsequently opening the file using the effective user ID, a local unprivileged attacker can atomically replace the target path with a symbolic link pointing to an arbitrary system file. Successfully exploiting this race condition allows the attacker to write to arbitrary files with root privileges, leading to local privilege escalation

This issue was fixed in version 5.0.2.

First published (updated )
Severity
2.1
Use After Free
AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:L/SI:L/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

GNU Screen is vulnerable to a Use-After-Free in the utf8handlecomb() function in encoding.c. Due to improper error handling during memory allocation failure, the global combchars pointer is freed but not reset to NULL. When a subsequent combining Unicode character arrives at the terminal, the function dereferences the freed pointer. An attacker who controls terminal content sent to the screen session, such as via a rogue SSH server or crafted escape sequences, can exploit this vulnerability to perform heap grooming and achieve arbitrary code execution.

This issue was fixed in version 5.0.2.

First published (updated )
Severity
4.6
Buffer Overflow
AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:L/SI:L/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

GNU screen is vulnerable to a global buffer overflow in the SendCmdMessage() function within attacher.c. Due to the use of an unchecked sprintf() call when appending the STY environment variable to the global SocketPath buffer. The vulnerability occurs when GNU screen is executed in an environment where the HOME and STY environment variables contain attacker-controlled values that are sufficiently long. Successful exploitation may result in an application crash or potentially arbitrary code execution.

This issue was fixed in version 5.0.2.

First published (updated )
Severity
4.8
Divide by Zero
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

(GNU mtools through 4.0.50 contains a divide-by-zero vulnerability that ...)

1 / 2
Source: OSV
First published (updated )

-------- Forwarded Message -------- Subject: GNU Screen v.5.0.3 is released Date: Wed, 25 Nov 2026 00:27:46 +0100 From: Alex Naumov <alexandernaumov () opensuse org> To: screen-devel () gnu org, screen-users () gnu org, info-gnu () gnu org

I'm glad to announce the new GNU Screen release.

List of fixes: Fix use-after-free in FreeWindow() when a window has several Fix uninitialized buffer with padding escapes Restore rendition attribute modifiers (bug #67154) Fix off-by-one in resize CheckMaxSize guard Encoding fixes Manpage: correct rendition syntax and examples Security: add SocketPath size check

Release (official tarball) will be available soon for download: https://ftp.gnu.org/pub/gnu/screen/

Please report any bugs or regressions. Thanks to everyone who contributed to this release.

Special thanks to Peter Dey who helped me with this release.

Cheers, Alex

Severity
7.5
AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

This vulnerability allows remote attackers to execute arbitrary code on affected installations of GNU Inetutils FTP Client. User interaction is required to exploit this vulnerability in that the target must interact with a malicious FTP server. The specific flaw exists within the processing of filenames. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of the current user.

1 / 2
Source: ZDI
First published (updated )
Severity
7.5
AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

This vulnerability allows remote attackers to execute arbitrary code on affected installations of GNU Inetutils FTP Client. User interaction is required to exploit this vulnerability in that the target must interact with a malicious FTP server. The specific flaw exists within the processing of filenames. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of the current user.

1 / 2
Source: ZDI
First published (updated )
Advisory
ZDI-26-1044
Severity
5.9
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

This vulnerability allows remote attackers to create a denial-of-service condition on affected installations of GNU Inetutils. Authentication is not required to exploit this vulnerability. The specific flaw exists within the processing of announce requests. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to create a denial-of-service condition on the system.

1 / 2
Source: ZDI
First published (updated )
Advisory
ZDI-26-1043
Severity
5.9
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

This vulnerability allows remote attackers to create a denial-of-service condition on affected installations of GNU Inetutils. Authentication is not required to exploit this vulnerability. The specific flaw exists within the processing of announce requests. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to create a denial-of-service condition on the system.

1 / 2
Source: ZDI
First published (updated )
Severity
7.5
OS Command Injection, Command Injection
AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

GNU Inetutils FTP Client File Retrieval Command Injection Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of GNU Inetutils FTP Client. User interaction is required to exploit this vulnerability in that the target must interact with a malicious FTP server.

The specific flaw exists within the processing of filenames. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of the current user. Was ZDI-CAN-29119.

1 / 3
Source: NVD
First published (updated )
Severity
5.9
Buffer Overflow
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

GNU Inetutils talkd Stack-based Buffer Overflow Denial-of-Service Vulnerability. This vulnerability allows remote attackers to create a denial-of-service condition on affected installations of GNU Inetutils. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the processing of announce requests. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to create a denial-of-service condition on the system. Was ZDI-CAN-29120.

1 / 3
Source: NVD
First published (updated )
Severity
6.6
Buffer Overflow
AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H

A flaw was found in parted. A heap-based buffer overflow can occur when processing a specially crafted FAT32 filesystem due to an integer calculation error during buffer allocation. A local attacker could exploit this by enticing a user or automated service to open a malicious filesystem image, resulting in an application crash leading to a Denial of Service (DoS) or potential memory corruption.

First published (updated )
Severity
5.5
Buffer Overflow
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

A flaw was found in parted. A heap-based buffer overflow exists in libparted's file system resizing logic when handling FAT16 volumes. By convincing a user or administrator to resize a specially crafted FAT16 file system image with malformed directory metadata, an attacker can trigger an oversized read into a fixed-size memory buffer. This issue causes memory corruption, resulting in an application crash and a denial of service (DoS).

First published (updated )
Severity
3.7
Double Free
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L

The glob functions in the GNU C Library versions 2.44 and earlier may free the same heap block twice when a memory allocation fails while glob prepends the directory name to the names it matched. The names already rewritten are freed, but their pointers stay in the result vector, and the error path frees them again with globfree.

The allocation must fail after at least one name has been rewritten, so the issue can only be reached when the process is already close to its memory limit, for example under an address space limit (RLIMITAS) or on a 32-bit system. The attacker needs control to make the result large enough to make the program or service run out of memory, either by controlling the glob pattern and having knowledge of the filesystem layout or through other means. This issue affects all architectures and ABIs supported by the GNU C Library.

1 / 3
Source: MITRE
First published (updated )

The following security advisories have been published:

GLIBC-SA-2026-0032: ===================

Double free after allocation failure in glob

The glob functions in the GNU C Library versions 2.44 and earlier may free the same heap block twice when a memory allocation fails while glob prepends the directory name to the names it matched. The names already rewritten are freed, but their pointers stay in the result vector, and the error path frees them again with globfree.

The allocation must fail after at least one name has been rewritten, so the issue can only be reached when the process is already close to its memory limit, for example under an address space limit (RLIMITAS) or on a 32-bit system. The attacker needs control to make the result large enough to make the program or service run out of memory, either by controlling the glob pattern and having knowledge of the filesystem layout or through other means. This issue affects all architectures and ABIs supported by the GNU C Library.

CVE-Id: CVE-2026-126765 Public-Date: 2026-11-11 Vulnerable-Commit: 28f540f45bbacd939bfd07f213bcad2bf730b1bf (1.09) Reported-By: Jack Doan <me () jackdoan com> CVSS: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L - 3.7

https://github.com/bminor/bash/security/advisories/GHSA-1989-sh3ll-bash

https://bash2shell.io/

CVE-2026-17445

All GNU Bash versions back to 1.04 allow anyone with terminal or stdin access to spawn an interactive shell.

Impact: Successful exploitation enables an attacker to execute arbitrary commands, traverse directories, and launch subprocesses with the privileges of the current user.

Mitigation: No patches are planned

Affected systems can be remediated by setting all user shells to /sbin/nologin.

// This is satire. Now let's get back to real \2shells

First published (updated )
Social
reddit
Severity
7.8
Code Injection
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

GNU Emacs 31.1 contains a code injection vulnerability in its handling of directory-local variables. A crafted .dir-locals.el can supply a (REGEXP FUNCTION t) entry in auto-mode-alist; when a matching file is opened, Emacs calls FUNCTION before set-auto-mode--dir-local-valid-p validates it, executing arbitrary Emacs Lisp with the privileges of the Emacs process. (Emacs 30.2 is unaffected.)

First published (updated )

The following security advisories have been published:

GLIBC-SA-2026-0029: =================== CP949 decoder may read past input

Converting crafted CP949 input to UTF-8 character encoding and ignoring invalid characters, in the GNU C Library version 2.1 or later may result in the converter reading past the end of the input buffer, causing the calling application to crash.

When the CP949 decoder encounters an invalid input byte sequence like '\xa2\xe8' it ends up advancing the pointer tracking the read buffer position twice. If //IGNORE is set on the destination encoding and this sequence is at the end of the input buffer, the decoder may then end up reading past the bounds of the input buffer. To exploit this, the target iconv function needs to set //IGNORE on the destination of the conversion and the input and encoding needs to be attacker controlled.

CVE-Id: CVE-2026-121757 Public-Date: 2020-11-17 Vulnerable-Commit: 918b9d72a9980efd4622bd25506da9531a952dbe (2.0.92-117) CVSS: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H - 5.9 Reported-By: Dickson Wu (SEAL & CertiK)

GLIBC-SA-2026-0030: =================== ISO-2022-CN-EXT decoder may read past input

Converting crafted ISO-2022-CN-EXT input to UTF-8 character encoding, in the GNU C Library version 2.2 through 2.44 may result in the converter reading past the end of the input buffer, causing the calling application to crash.

When the ISO-2022-CN-EXT decoder encounters an invalid input byte sequence like '\x0e' it ends up advancing the pointer tracking the read buffer position twice. If this sequence is at the end of the input buffer, the decoder may then end up reading past the bounds of the input buffer. To exploit this, the input and encoding needs to be attacker controlled.

CVE-Id: CVE-2026-121758 Public-Date: 2020-10-21 Vulnerable-Commit: c0d99958f9f329400d25040b3d422fa937522b65 (2.1.93-124) Fix-Commit: 170ee485fa89b95c3bb7d5606c9812c6c100c9be (2.45) CVSS: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H - 5.9 Reported-By: Ksawery Radziwiłowicz

GLIBC-SA-2026-0031: =================== IBM1390/IBM1399 encoders may read past input

Converting crafted input from UCS-4 to IBM1390 or IBM1399 character encoding, in the GNU C Library version 2.3.3 and later may result in the converter reading past the end of the input buffer, causing the calling application to crash.

When converting from UCS-4, these encoders may encounter a combining base such as U+00E6 and jump ahead by 4 bytes to check the next UCS-4 code point. The check for end of buffer however does not account for this, which may result in a buffer overread if the following code point has less than 4 bytes remaining. Exploitation of this bug not only requires attacker control of input and encoding, but also strict control over layout of the input in memory.

CVE-Id: CVE-2026-124024 Public-Date: 2020-10-29 Vulnerable-Commit: 0ecb606cb6cf65de1d9fc8a919bceb4be476c602 (2.3.3-1501) CVSS: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H - 5.9 Reported-By: slaythemole

Notes: ======

Published advisories are available directly in the project git repository: https://sourceware.org/git/?p=glibc.git;a=tree;f=advisories;hb=HEAD

Severity
5.9
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Converting crafted input from UCS-4 to IBM1390 or IBM1399 character encoding, in the GNU C Library version 2.3.3 and later may result in the converter reading past the end of the input buffer, causing the calling application to crash.

When converting from UCS-4, these encoders may encounter a combining base such as U+00E6 and jump ahead by 4 bytes to check the next UCS-4 code point. The check for end of buffer however does not account for this, which may result in a buffer overread if the following code point has less than 4 bytes remaining. Exploitation of this bug not only requires attacker control of input and encoding, but also strict control over layout of the input in memory.

1 / 4
Source: NVD
First published (updated )
Severity
5.9
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Converting crafted ISO-2022-CN-EXT input in the GNU C Library version 2.2 through 2.44 may result in the converter reading past the end of the input buffer, causing the calling application to crash.

When the ISO-2022-CN-EXT decoder encounters an invalid input byte sequence like '\x0e' it ends up advancing the pointer tracking the read buffer position twice. If this sequence is at the end of the input buffer, the decoder may then end up reading past the bounds of the input buffer. To exploit this, the input and encoding needs to be attacker controlled.

1 / 5
Source: MITRE
First published (updated )
Severity
5.9
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Converting crafted CP949 input to UTF-8 character encoding and ignoring invalid characters, in the GNU C Library version 2.1 or later may result in the converter reading past the end of the input buffer, causing the calling application to crash.

When the CP949 decoder encounters an invalid input byte sequence like '\xa2\xe8' it ends up advancing the pointer tracking the read buffer position twice. If //IGNORE is set on the destination encoding and this sequence is at the end of the input buffer, the decoder may then end up reading past the bounds of the input buffer. To exploit this, the target iconv function needs to set //IGNORE on the destination of the conversion and the input and encoding needs to be attacker controlled.

1 / 3
Source: NVD
First published (updated )
Severity
5.5
Buffer Overflow
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

A flaw was found in cpio. A local user can cause a Denial of Service (DoS) by triggering a stack-based buffer overflow when creating archives in tar or ustar formats. When archiving files owned by users or groups with names exceeding 32 characters, cpio copies these names into fixed-size memory without verifying their length. This unbounded copy corrupts stack memory and causes the application to crash.

1 / 3
Source: NVD
First published (updated )
Severity
4
Buffer Overflow

A flaw was found in GNU cpio through version 2.15. A stack-based buffer overflow exists in src/tar.c:writeouttarheader() via settarfname().

When generating archives using the ustar or tar formats (e.g., cpio -o -H ustar), settarfname() uses unbounded strcpy() calls to copy user and group names obtained from getpwuid() and getgrgid() into the 32-byte fixed-size tarhdr->uname and tarhdr->gname fields within struct tarheader on the stack. If a file being archived is owned by a user or group whose name exceeds 32 characters (common in LDAP, Active Directory, or container environments), strcpy() overflows the destination buffer and corrupts adjacent stack variables.

First published (updated )
Severity
1

A flaw was found in GNU cpio through version 2.15. An out-of-bounds read vulnerability exists in src/copyin.c:fromascii() when parsing newc and crc format archive headers.

The loop in fromascii() that skips leading whitespace dereferences the buffer pointer (buf) prior to validating whether the pointer has reached the end boundary (buf == end). When parsing the final field (cchksum, offset 102..109) of struct newasciiheader, an all-spaces value causes the loop to read one byte past asciiheader[110] on the stack of readinnewascii(). If subsequent stack memory contains spaces, the pointer continues advancing into adjacent stack data and decodes those bytes into parsed header values (such as cchksum or cnamesize).

First published (updated )

The following security advisories have been published:

GLIBC-SA-2026-0027: =================== scanf %s and %[ one-byte buffer overflow in wide character conversion

Calling the wide scanf family of functions (swscanf, fwscanf, wscanf, vswscanf, vfwscanf and vwscanf) with a %s or %[ conversion without the 'l' length modifier in the GNU C Library version 2.2 to version 2.44 writes an extra null byte one past the end of the destination buffer when the converted multibyte string and its terminator exactly fill that buffer.

Such a conversion stores each wide input character into the caller's char array as a multibyte sequence produced by wcrtomb. To emit the sequence that returns to the initial shift state, vfwscanfinternal finishes with wcrtomb (buf, L'\0', &state), which also stores the terminating null byte; that byte is copied to the destination. The code then appends a second null byte unconditionally, so a buffer sized for the converted string and a single terminator, as the C standard requires the caller to provide, is written one byte past its end. The overflowing byte is always a null byte.

The impact is limited. The narrow scanf functions, the wide conversions with the 'l' modifier into a wchart array, and the 'a'/'m' (allocation) modifier are all unaffected; only the uncommon idiom of a wide scanf storing into a narrow char array through %s or %[ is vulnerable, and the overwrite only occurs when the converted input and its terminating null byte exactly fill the destination array.

CVE-Id: CVE-2026-115819 Public-Date: 2026-11-11 Vulnerable-Commit: d64b6ad07585b8a37e5fecc9a47fcee766d52ede (2.2) CVSS: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L - 4.8 Reported-By: Russell Miller <rmiller () duskglow com>

GLIBC-SA-2026-0028 =================== Double free after allocation failure in regcomp and regexec

The regcomp and regexec functions in the GNU C Library version 2.3 to version 2.44 may read freed memory and free the same heap block twice when a memory allocation fails while a regular expression is compiled or matched. The redfaaddnode (the NFA node table) and buildrangeexp (bracket ranges) grow several arrays with consecutive realloc calls and store the new pointers only after all of them succeed. When a later call fails, the pattern buffer keeps pointers to blocks that were already freed, and the error cleanup frees them again. In regexec, the back-reference cache (matchctxaddentry) frees its array when a realloc fails but keeps the pointer, which is freed again on the error path.

An attacker does not need to supply a crafted regular expression: patterns large enough to grow these arrays are common. The failure has to hit a specific allocation, though, so the issue can only be reached when the system is already under memory pressure. An attacker who supplies the pattern or the subject string has little control over which allocation fails, so the expected impact is a crash of the process. This issue affects all architectures and ABIs supported by the GNU C Library.

CVE-Id: CVE-2026-100290 Public-Date: 2026-09-08 Vulnerable-Commit: 3b0bdc723579a7c6df2cace0115a6ca0977d73f9 (2.2.4-631) Reported-By: Tristan <TristanInSec () gmail com> CVSS: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L - 3.7

X3r0Day discovered that Emacs 31.1 did not adequately validate the contents of .dir-locals.el before executing code there.

Emacs 30.2 is unaffected.

A patch from Stefan Monnier is attached and will be included in our upcoming 31.2 release.

For full details on the vulnerability please see <https://debbugs.gnu.org/82213>.

-- >8 -- From: Stefan Monnier <monnier () iro umontreal ca>

diff --git a/lisp/files.el b/lisp/files.el index 4cb1ac67629..eec547657d5 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -3565,44 +3565,42 @@ magic-mode-regexp-match-limit "Upper limit on magic-mode-alist' regexp matches. Also applies to magic-fallback-mode-alist'.") -(defun set-auto-mode--find-matching-alist-entry (alist name case-insensitive) +(defun set-auto-mode--from-matching-alist-entry ( alist name case-insensitive + keep-mode-if-same dir-local) "Find first matching entry in ALIST for file NAME. If CASE-INSENSITIVE, the file system of file NAME is case-insensitive." - (let (mode) - (while name - (let ((newmode - (if case-insensitive - ;; Filesystem is case-insensitive. - (let ((case-fold-search t)) - (assoc-default name alist 'string-match)) - ;; Filesystem is case-sensitive. - (or - ;; First match case-sensitively. - (let ((case-fold-search nil)) - (assoc-default name alist 'string-match)) - ;; Fallback to case-insensitive match. - (and auto-mode-case-fold - (let ((case-fold-search t)) - (assoc-default name alist 'string-match))))))) - (when newmode - (when mode - ;; We had already found a mode but in a (REGEXP MODE t) - ;; entry, so we still have to run MODE. Let's do it now. - ;; FIXME: It's kind of ugly to run the function here. - ;; An alternative could be to return a list of functions and - ;; callers. - (set-auto-mode-0 mode t)) - (setq mode newmode)) - (if (and newmode - (not (functionp newmode)) - (consp newmode) - (cadr newmode)) - ;; It's a (REGEXP MODE t): Keep looking but remember the MODE. - (setq mode (car newmode) - name (substring name 0 (match-beginning 0))) - (setq name nil)))) - mode)) + (let (was-set) + (while + (let ((newmode + (if case-insensitive + ;; Filesystem is case-insensitive. + (let ((case-fold-search t)) + (assoc-default name alist 'string-match)) + ;; Filesystem is case-sensitive. + (or + ;; First match case-sensitively. + (let ((case-fold-search nil)) + (assoc-default name alist 'string-match)) + ;; Fallback to case-insensitive match. + (and auto-mode-case-fold + (let ((case-fold-search t)) + (assoc-default name alist 'string-match)))))) + ;; Extract MODE from (REGEXP MODE t) entries. + (mode-t (when (and (not (functionp newmode)) + (consp newmode) + (cadr newmode)) + (setq name (substring name 0 (match-beginning 0))) + (car newmode))) + (mode (or mode-t newmode))) + (when newmode + (if (and dir-local + (not (set-auto-mode--dir-local-valid-p mode))) + (message "Ignoring invalid mode %S'" mode) + (set-auto-mode-0 mode keep-mode-if-same) + (setq was-set t)) + mode-t))) + was-set)) (defun set-auto-mode--apply-alist (alist keep-mode-if-same dir-local) "Helper function for set-auto-mode'. @@ -3614,8 +3612,7 @@ set-auto-mode--apply-alist DIR-LOCAL non-nil means this call is via directory-locals, and extra checks should be done." (if buffer-file-name - (let (mode - (name buffer-file-name) + (let ((name buffer-file-name) (remote-id (file-remote-p buffer-file-name)) (case-insensitive-p (file-name-case-insensitive-p buffer-file-name))) @@ -3625,15 +3622,8 @@ set-auto-mode--apply-alist (when (and (stringp remote-id) (string-match (regexp-quote remote-id) name)) (setq name (substring name (match-end 0)))) - (setq mode (set-auto-mode--find-matching-alist-entry - alist name case-insensitive-p)) - (when (and dir-local mode - (not (set-auto-mode--dir-local-valid-p mode))) - (message "Ignoring invalid mode %S'" mode) - (setq mode nil)) - (when mode - (set-auto-mode-0 mode keep-mode-if-same) - t)))) + (set-auto-mode--from-matching-alist-entry + alist name case-insensitive-p keep-mode-if-same dir-local)))) (defun set-auto-mode--dir-local-valid-p (mode) "Say whether MODE can be used in a .dir-local.el auto-mode-alist'." -- Sean Whitton

Severity
4.2
Buffer Overflow
AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L

A flaw was found in libstdc++. When a byte-by-byte write operation fails during file stream processing, the library may still append data into the internal memory buffer. An attacker capable of inducing repeated write failures in an affected service can trigger a buffer overflow, potentially resulting in a Denial of Service (DoS) or memory corruption.

1 / 2
Source: NVD
First published (updated )
Severity
6.5
Buffer Overflow
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H

A flaw was found in GCC libstdc++. When an application extracts data into a bitset from a wide-character stream, internal stack memory allocation fails to properly account for character size and alignment. An attacker capable of supplying crafted input to an affected application could trigger a stack-based buffer overflow leading denial of service (DoS).

First published (updated )
Severity
4

Converting crafted BIG-HKSCS input to UCS-4 or the internal wide character encoding, for example with iconv, in the GNU C Library version 2.18 through 2.31 may result in the converter making no progress, causing the calling application to hang.

First published (updated )
Buffer Overflow

Stack buffer overflow in parsetsvdefinition (gdb/tracepoint.c), called from remotetarget::uploadtracestatevariables during startremote1, before the ? packet. The parser sizes its destination with alloca(strlen(line)) based on the current qTfV trace-state-variable reply, then advances through three colon-separated fields with unchecked p++. A line such as 1:0:0000 contains only two colons, so the third p++ walks past the line's terminating NUL into stale bytes of the shared, uncleared packet buffer rs->buf (planted, for example, by a long qTStatus reply, which must be answered non-empty for the upload to run at all). hex2bin then decodes strlen(p)/2 stale bytes -- whose length and content the stub controls -- into the small stack buffer, overwriting the stack canary and the return address. This is the same stale-tail pattern as CVE-2026-121995 (parsetracepointdefinition), in the sibling parser for trace state variables; the function, call site and fix location differ. Verified on gdb-16.3-3.1.el102 (Rocky 10.2): ' stack smashing detected ' abort 5/5 runs with a symbolized stack stackchkfail <- parsetsvdefinition (tracepoint.c) <- uploadtracestatevariables <- startremote1 <- open1, and an ASan rebuild of the distro source reports dynamic-stack-buffer-overflow in hex2bin <- parsetsvdefinition. Negative controls (short stale tail; well-formed three-colon line) do not crash. Present and unfixed in upstream master (f735688fc, 2026-11-05); the same code exists at least back to the GDB 10.2 release tree. Reported by Pulkit Singh Singaria (x3ero0) via PSIRTSUPT-29860.

First published (updated )

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203