Commit Graph

92 Commits

Author SHA1 Message Date
RHEL Packaging Agent
e86a577c2e Fix CVE-2026-55693: out-of-bounds write in tree_count_words()
Backport upstream commit a80874d9b84a to fix CVE-2026-55693,
an out-of-bounds write in tree_count_words() triggered by
crafted spell files. The patch adds depth bounds checks to
tree_count_words() and sug_filltree() in src/spellfile.c,
preventing writes past the MAXWLEN-sized depth arrays. A
test case is included. The mkdir 'R' flag was adapted for
Vim 8.2 compatibility.

CVE: CVE-2026-55693
Upstream patches:
 - a80874d9b8.patch
Resolves: RHEL-194065

This commit was backported by Ymir, a Red Hat Enterprise Linux software maintenance AI agent.

Assisted-by: Ymir
2026-07-31 16:21:06 +02:00
RHEL Packaging Agent
fef027391d Fix CVE-2026-57455: Out-of-bounds write with soundfold()
Backport upstream commit 497f931f to fix CVE-2026-57455, an
out-of-bounds write in spell_soundfold_sofo(). The fix adds
a bounds check (ri < MAXWLEN - 1) to the copy loop so that
input longer than MAXWLEN cannot overflow the stack buffer.

The test was adapted for Vim 8.2 compatibility by replacing
defer/writefile 'D' flag with explicit call delete() at
function end.

CVE: CVE-2026-57455
Upstream patches:
 - 497f931f85.patch
Resolves: RHEL-191362

This commit was backported by Ymir, a Red Hat Enterprise Linux software maintenance AI agent.

Assisted-by: Ymir
2026-07-31 16:20:15 +02:00
RHEL Packaging Agent
35ece7d48c Fix CVE-2026-59856: potential command execution in PHP omni-completion
Backport upstream patch 9.2.0736 (commit 43afc581) to fix
CVE-2026-59856 — potential arbitrary command execution via
crafted class names in PHP omni-completion.

The fix modifies runtime/autoload/phpcomplete.vim to properly
escape the class name with string() before inserting it into
the search() pattern run via win_execute(). Includes new test
file test_plugin_phpcomplete.vim with regression tests. The
Make_all.mak hunk was adapted for Vim 8.2's test list layout.

CVE: CVE-2026-59856
Upstream patches:
 - 43afc581a3.patch
Resolves: RHEL-201196

This commit was backported by Ymir, a Red Hat Enterprise Linux software maintenance AI agent.

Assisted-by: Ymir
2026-07-31 16:18:50 +02:00
RHEL Packaging Agent
ba1ed15145 Fix CVE-2026-59858: arbitrary Ex command execution in C omni-completion
Backport upstream patch fixing CVE-2026-59858, where a
crafted tags file could execute arbitrary Ex commands during
C omni-completion (struct/union member completion via
ccomplete.vim).

Patch 1 (upstream 6b611b0d) escapes the typeref field with
escape(typename, '/\') before interpolating it into the
:vimgrep pattern.

Patch is adapted to the legacy Vimscript style used
in the RHEL 8.2 codebase. A new test file
test_plugin_ccomplete.vim is added covering both injection
vectors and normal typeref completion.

CVE: CVE-2026-59858
Upstream patches:
 - 6b611b0d15.patch
Resolves: RHEL-203984

This commit was backported by Ymir, a Red Hat Enterprise Linux software maintenance AI agent.

Assisted-by: Ymir
2026-07-31 16:16:41 +02:00
Zdenek Dohnal
e7e02f6acf CVE-2026-47167 vim: Code Injection in cucumber filetype plugin
Resolves: RHEL-185873
2026-07-16 16:05:47 +02:00
Zdenek Dohnal
5ba4711ff3 CVE-2026-46483 vim: command injection in tar plugin
Resolves: RHEL-178242
2026-07-16 15:11:07 +02:00
Zdenek Dohnal
6f2fb33b27 CVE-2026-34982 vim: arbitrary command execution via modeline sandbox bypass
Resolves: RHEL-164967
2026-05-27 13:08:35 +02:00
Zdenek Dohnal
e09f6f8758 CVE-2026-41411 vim: Command injection via backticks in tag files
Resolves: RHEL-171496
2026-05-21 13:48:07 +02:00
Zdenek Dohnal
c0350e9140 add comments describing changes from upstream in last 3 patches
Related: RHEL-170137
2026-05-21 11:48:49 +02:00
Zdenek Dohnal
cfc5a4abc6 CVE-2026-35177 vim: Vim zip.vim plugin: Arbitrary file overwrite via path traversal bypass
Resolves: RHEL-170137
2026-05-20 15:54:21 +02:00
Zdenek Dohnal
11866d958e Resolves: RHEL-159631 vim: Vim: Arbitrary code execution via command injection in glob() function 2026-04-13 18:27:43 +02:00
Zdenek Dohnal
a2de4f9dc2 remove -O0 from FLAGS
Related: RHEL-155438
2026-03-27 10:11:43 +01:00
Zdenek Dohnal
27eba146f1 RHEL-155423 CVE-2026-28421 vim: Vim: Denial of service and information disclosure via crafted swap file
Resolves: RHEL-155423
2026-03-19 19:36:22 +01:00
Zdenek Dohnal
8203ae04cd RHEL-155438 CVE-2026-28417 vim: Vim: Arbitrary code execution via OS command injection in the netrw plugin
Resolves: RHEL-155438
2026-03-19 19:33:55 +01:00
Zdenek Dohnal
134732a8be RHEL-147941 CVE-2026-25749 vim: Heap Overflow in Vim
Resolves: RHEL-147941
2026-02-10 18:15:24 +01:00
Zdenek Dohnal
a87691e37b RHEL-143726 sudo not able to spawn "vi" command when NOEXEC is used to prevent escaping to shell
Resolves: RHEL-143726
2026-02-04 09:55:17 +01:00
Zdenek Dohnal
7e98f6e9ae Fix changelog
Related: RHEL-112009
2025-09-17 16:10:56 +02:00
Zdenek Dohnal
bab340a43f RHEL-112009 CVE-2025-53906 vim: Vim path traversal
Resolves: RHEL-112009
2025-09-17 14:45:16 +02:00
Zdenek Dohnal
9c9be9bb71 RHEL-112005 CVE-2025-53905 vim: Vim path traversial
Resolves: RHEL-112005
2025-09-17 14:41:32 +02:00
Zdenek Dohnal
1c67b891cf Switch tests to Centos Stream 2025-06-03 08:38:39 +02:00
Zdenek Dohnal
99204e95ee RHEL-2159 vim: Heap Use After Free in function ins_compl_get_exp in vim/vim
Resolves: RHEL-2159
2025-02-25 14:17:22 +01:00
Zdenek Dohnal
2bba9e8166 RHEL-40602 CVE-2021-3903 vim heap-based buffer overflow vulnerability
Resolves: RHEL-40602
2024-08-05 16:39:07 +02:00
František Hrdina
8365096b6f Update fmf plans and gating 2024-07-02 11:47:25 +02:00
František Hrdina
548ea55057 RHEL-351 - Enhanced TMT testing for centos-stream
Resolves: RHEL-351
2023-04-04 14:51:59 +02:00
Zdenek Dohnal
7c674cf9b0 CVE-2022-47024 vim: no check if the return value of XChangeGC() is NULL
Resolves: CVE-2022-47024
2023-02-09 17:14:22 +01:00
Zdenek Dohnal
f77538d02c CVE-2022-1927 vim: buffer over-read in utf_ptr2char() in mbyte.c
Resolves: CVE-2022-1927
2022-06-13 16:32:30 +02:00
Zdenek Dohnal
bac1f99e54 CVE-2022-1897 vim: out-of-bounds write in vim_regsub_both() in regexp.c
Resolves: CVE-2022-1897
2022-06-13 14:59:14 +02:00
Zdenek Dohnal
e4ba274723 CVE-2022-1785 vim: Out-of-bounds Write
Resolves: CVE-2022-1785
2022-06-13 07:53:12 +02:00
Zdenek Dohnal
e53ef5204f CVE-2022-1629 vim: buffer over-read
Resolves: CVE-2022-1629
2022-05-25 10:41:36 +02:00
Zdenek Dohnal
9eda475105 CVE-2022-1621 vim: heap buffer overflow
Resolves: CVE-2022-1621
2022-05-24 13:37:53 +02:00
Zdenek Dohnal
bdc81b4f5c CVE-2022-1420 vim: Out-of-range Pointer Offset
Resolves: CVE-2022-1420
2022-04-25 16:41:45 +02:00
Zdenek Dohnal
70b0772976 CVE-2022-1154 vim: use after free in utf_ptr2char
Resolves: CVE-2022-1154
2022-04-25 15:55:02 +02:00
Zdenek Dohnal
13ff67f4d3 CVE-2022-0943 vim: Heap-based Buffer Overflow occurs in vim
Resolves: CVE-2022-0943
2022-03-28 21:13:04 +02:00
Zdenek Dohnal
27c905a9a9 CVE-2022-0554 vim: Use of Out-of-range Pointer Offset in vim prior
Resolves: CVE-2022-0554
2022-03-28 19:01:13 +02:00
Zdenek Dohnal
4704df36f2 CVE-2022-0714 vim: buffer overflow [rhel-9]
Resolves: CVE-2022-0714
2022-02-24 14:31:35 +01:00
Zdenek Dohnal
e2ec7ae719 CVE-2022-0629 vim: Stack-based Buffer Overflow in vim prior to 8.2
Resolves: CVE-2022-0629
2022-02-23 15:30:22 +01:00
Zdenek Dohnal
fa96bd974d CVE-2022-0572 vim: heap overflow in ex_retab() may lead to crash
Resolves: CVE-2022-0572
2022-02-16 10:44:26 +01:00
Zdenek Dohnal
33c9a2555d CVE-2022-0392 vim: heap-based buffer overflow in getexmodeline() in ex_getln.c
Resolves: CVE-2022-0392
2022-02-10 11:30:02 +01:00
Zdenek Dohnal
9084c65312 CVE-2022-0443 vim: heap-use-after-free in enter_buffer() of src/buffer.c
Resolves: CVE-2022-0443
2022-02-10 09:01:01 +01:00
Zdenek Dohnal
b3c80bdcc6 CVE-2022-0413 vim: use after free in src/ex_cmds.c
Resolves: CVE-2022-0413
2022-02-10 08:29:33 +01:00
Zdenek Dohnal
34033283f8 CVE-2022-0408 vim: Stack-based Buffer Overflow in spellsuggest.c
Resolves: CVE-2022-0408
2022-02-09 16:14:10 +01:00
Zdenek Dohnal
76e4c51c35 CVE-2022-0417 vim: heap-based-buffer-overflow in ex_retab() of src/indent.c
Resolves: CVE-2022-0417
2022-02-09 11:56:23 +01:00
Zdenek Dohnal
71d1d36ac8 CVE-2022-0368 vim: Out-of-bounds Read in vim
Resolves: CVE-2022-0368
2022-02-09 09:55:42 +01:00
Zdenek Dohnal
7b787a70b7 CVE-2022-0361 vim: Heap-based Buffer Overflow in GitHub repository
Resolves: CVE-2022-0361
2022-02-08 14:32:49 +01:00
Zdenek Dohnal
604cf01a29 CVE-2022-0319 vim: heap-based out-of-bounds read
Resolves: CVE-2022-0319
2022-02-08 14:12:11 +01:00
Zdenek Dohnal
319be2ae2d CVE-2022-0359 vim: heap-based buffer overflow in init_ccline() in ex_getln.c
Resolves: CVE-2022-0359
2022-01-27 18:41:20 +01:00
Zdenek Dohnal
b3a7cde64b CVE-2022-0318 vim: heap-based buffer overflow in utf_head_off() in mbyte.c
Resolves: CVE-2022-0318
2022-01-27 18:20:40 +01:00
Zdenek Dohnal
f5e8ebfed2 CVE-2022-0261 vim: Heap-based Buffer Overflow in block_insert() in src/ops.c
Resolves: CVE-2022-0261
2022-01-27 17:54:47 +01:00
Zdenek Dohnal
520837ecc5 CVE-2021-4192 vim: vulnerable to Use After Free
Resolves: CVE-2021-4192
2022-01-13 12:28:55 +01:00
Zdenek Dohnal
b7a801e714 CVE-2021-4193 vim: vulnerable to Out-of-bounds Read
Resolves: CVE-2021-4193
2022-01-13 10:49:55 +01:00