vim: upgrade 9.1.2144 -> 9.2.0
I would have a question on future of vim upgrades, CVE patches and LTS backports.
With new LTS branch maintenance, I assume that vim upgrades are no longer accepted as they introduce new features. I think that's positive change in general but it also triggers discussions on items which were accepted in the past. This is one of things needing the discussion.
When the upgrade is now allowed anymore, I think we should stop updating the intermediate versions also on master and do CVE patches instead (like we switched also for ncurses some time ago). That is also reason why I updated ot .0 instead of .0045.
They release approx. every two years and some dates from the past show that it can happen that upgrade is done after out LTS release making us to use a random intermediate tag in future LTS releases.
Alternatively, we could also continue updating vim in LTS like we did in the past. For now, there are two active CVEs in LTS releases.
Please let me know if I need to backport patches now or if vim upgrade would be accepted.
Any thoughts from the maintainers?
Peter
Quoted 125 lines
-----Original Message-----
From: [email protected] <openembedded- [email protected]> On Behalf Of Peter Marko via lists.openembedded.org
Sent: Tuesday, February 24, 2026 17:27
To: [email protected]
Cc: Marko, Peter (FT D EU SK BFS1) <[email protected]>
Subject: [OE-core][PATCH] vim: upgrade 9.1.2144 -> 9.2.0From: Peter Marko <[email protected]>
Solves 9.1.2148 (in 9.1.2148), see [1].
Drop patch merged upstream.Release notes for 9.2, see [2].
Note that almost all changes were already present in our 9.1 updates.[1] https://github.com/vim/vim/security/advisories/GHSA-9w5c-hwr9-hc68
[2] https://www.vim.org/vim-9.2-released.phpSigned-off-by Peter Marko <[email protected]>--- ...001-translation-sv-add-missing-mkdir.patch | 52 ------------------- .../vim/{vim-tiny_9.1.bb => vim-tiny_9.2.bb} | 0 meta/recipes-support/vim/vim.inc | 5 +- .../vim/{vim_9.1.bb => vim_9.2.bb} | 0 4 files changed, 2 insertions(+), 55 deletions(-) delete mode 100644 meta/recipes-support/vim/files/0001-translation-sv-add- missing-mkdir.patch rename meta/recipes-support/vim/{vim-tiny_9.1.bb => vim-tiny_9.2.bb} (100%) rename meta/recipes-support/vim/{vim_9.1.bb => vim_9.2.bb} (100%)(quoted diff) +0
-0mkdir.patch b/meta/recipes-support/vim/files/0001-translation-sv-add-missing- mkdir.patch
deleted file mode 100644
index 37337c3d9d..0000000000meta/recipes-support/vim/files/0001-translation-sv-add-missing-mkdir.patch deleted +0
-20@@ -1,52 +0,0 @@ -From 2dd7e39942f4f7740c3a645148521d3b6b443c41 Mon Sep 17 00:00:00 2001 -From: Ross Burton <[email protected]> -Date: Wed, 11 Feb 2026 14:39:06 +0000 -Subject: [PATCH] translation(sv): add missing mkdir - -The installtutor target doesn't explicitly create the Swedish directory -that it is going to put files into: - - make[1]: Entering directory 'vim-9.1.2128/src' - /bin/sh install-sh -c -d DESTDIR/usr/share/vim/vim91 - chmod 755 DESTDIR/usr/share/vim/vim91 - /bin/sh install-sh -c -d DESTDIR/usr/share/vim/vim91/tutor/en - chmod 755 DESTDIR/usr/share/vim/vim91/tutor/en - /bin/sh install-sh -c -d DESTDIR/usr/share/vim/vim91/tutor/sr - chmod 755 DESTDIR/usr/share/vim/vim91/tutor/sr - /bin/sh install-sh -c -d DESTDIR/usr/share/vim/vim91/tutor/it - chmod 755 DESTDIR/usr/share/vim/vim91/tutor/it - /bin/sh install-sh -c -d DESTDIR/usr/share/vim/vim91/tutor/ru - chmod 755 DESTDIR/usr/share/vim/vim91/tutor/ru - cp ../runtime/tutor/README* ../runtime/tutor/tutor*DESTDIR/usr/share/vim/vim91/tutor
meta/recipes-support/vim/files/0001-translation-sv-add-missing-mkdir.patch deleted +0
-25- cp ../runtime/tutor/en/* DESTDIR/usr/share/vim/vim91/tutor/en/ - cp ../runtime/tutor/it/* DESTDIR/usr/share/vim/vim91/tutor/it/ - cp ../runtime/tutor/ru/* DESTDIR/usr/share/vim/vim91/tutor/ru/ - cp ../runtime/tutor/sr/* DESTDIR/usr/share/vim/vim91/tutor/sr/ - cp ../runtime/tutor/sv/* DESTDIR/usr/share/vim/vim91/tutor/sv/ - cp: target 'DESTDIR/usr/share/vim/vim91/tutor/sv/': No such file or directory - -Add the missing dependency on $(DEST_TUTOR)/sv to ensure this directory -is created. - -Upstream-Status: Submitted [https://github.com/vim/vim/pull/19385] -Signed-off-by: Ross Burton <[email protected]> ---- - src/Makefile | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/Makefile b/src/Makefile -index 75d8ff6c1c..b4c31bed60 100644 ---- a/src/Makefile -+++ b/src/Makefile -@@ -2487,7 +2487,7 @@ installgtutorbin: $(DEST_BIN) - $(INSTALL_DATA) gvimtutor $(DEST_BIN)/$(GVIMNAME)tutor - chmod $(SCRIPTMOD) $(DEST_BIN)/$(GVIMNAME)tutor - --installtutor: $(DEST_RT) $(DEST_TUTOR)/en $(DEST_TUTOR)/it$(DEST_TUTOR)/sr $(DEST_TUTOR)/ru
-+installtutor: $(DEST_RT) $(DEST_TUTOR)/en $(DEST_TUTOR)/it $(DEST_TUTOR)/sr $(DEST_TUTOR)/sv $(DEST_TUTOR)/rumeta/recipes-support/vim/files/0001-translation-sv-add-missing-mkdir.patch deleted +0
-1- -$(INSTALL_DATA) $(TUTORSOURCE)/README*$(TUTORSOURCE)/tutor* $(DEST_TUTOR)
meta/recipes-support/vim/files/0001-translation-sv-add-missing-mkdir.patch deleted +0
-5- -$(INSTALL_DATA) $(TUTORSOURCE)/en/* $(DEST_TUTOR)/en/ - -$(INSTALL_DATA) $(TUTORSOURCE)/it/* $(DEST_TUTOR)/it/ --- -2.43.0 -meta/recipes- renamed from meta/recipes-support/vim/vim-tiny_9.1.bb +0
-0support/vim/vim-tiny_9.2.bb
similarity index 100%
rename from meta/recipes-support/vim/vim-tiny_9.1.bb rename to meta/recipes-support/vim/vim-tiny_9.2.bbmeta/recipes-support/vim/vim.inc +2
-3@@ -16,11 +16,10 @@ SRC_URI = "git://github.com/vim/vim.git;branch=master;protocol=https;tag=v${PV} file://disable_acl_header_check.patch \ file://0001-src-Makefile-improve-reproducibility.patch \ file://no-path-adjust.patch \ - file://0001-translation-sv-add-missing-mkdir.patch \ " -PV .= ".2144" -SRCREV = "55c12373f073bacfc97d757e8f4da3daf472e4ac" +PV .= ".0" +SRCREV = "e7e21018fc0b60c153c8e668f696d95e574cc5a4" # Do not consider .z in x.y.z, as that is updated with every commit
UPSTREAM_CHECK_GITTAGREGEX= "(?P<pver>\d+\.\d+)\.0"meta/recipes- renamed from meta/recipes-support/vim/vim_9.1.bb +0
-0support/vim/vim_9.2.bb
similarity index 100%
rename from meta/recipes-support/vim/vim_9.1.bb
rename to meta/recipes-support/vim/vim_9.2.bb
Quoted 5 lines · Peter Marko via lists.openembedded.org
Alternatively, we could also continue updating vim in LTS like we did in the past. For now, there are two active CVEs in LTS releases.
Please let me know if I need to backport patches now or if vim upgrade would be accepted.Any thoughts from the maintainers?
In the past we tried backporting CVE patches to vim for some time. Then it became clear that approach is unsustainable.
But I have a different thought. Let's drop vim from oe-core and replace it with nano :)
Benefits:
- sane version policy, not that many (probably none) CVEs
- it's the only editor that doesn't annoy me :)
Nano is already in meta-oe, if you support the idea, can you prepare the patches to move it here?
Alex
Quoted 25 lines
-----Original Message-----
From: Alexander Kanavin <[email protected]>
Sent: Tuesday, February 24, 2026 18:19
To: Marko, Peter (FT D EU SK BFS1) <[email protected]>
Cc: [email protected]; Yoann Congal <[email protected]>
Subject: Re: [OE-core][PATCH] vim: upgrade 9.1.2144 -> 9.2.0Quoted 3 lines · Peter Marko via lists.openembedded.org
Alternatively, we could also continue updating vim in LTS like we did in the past. For now, there are two active CVEs in LTS releases.
Please let me know if I need to backport patches now or if vim upgrade would beaccepted.
Quoted 2 lines
Any thoughts from the maintainers?
In the past we tried backporting CVE patches to vim for some time. Then it became clear that approach is unsustainable.
But I have a different thought. Let's drop vim from oe-core and replace it with nano :)
Quoted 6 lines
Benefits:
- sane version policy, not that many (probably none) CVEs
- it's the only editor that doesn't annoy me :)Nano is already in meta-oe, if you support the idea, can you prepare the patches to move it here?
Appealing... quick grep in oe-core shows it would be possible.
Nothing really depending on it, diffoscope being the only one which would have to be looked at.
But I think that vim is still something that users would like to have (I personally prefer it over both nano and vi). So it would be moved to meta-oe, dumping the CVE work on them (Gyorgy?), not really helping the ecosystem. Also nano has the dreaded GPL-3...
And the benefits would be seen only in 2 years after scarthgap would go EOL so not solving the immediate question at hand.
Peter
Quoted 2 lines
Alex
Quoted 3 lines · Peter Marko
I would have a question on future of vim upgrades, CVE patches and LTS backports.
With new LTS branch maintenance, I assume that vim upgrades are no longer accepted as they introduce new features.
Yes, I would have to reject those :-/
Quoted 8 lines
I think that's positive change in general but it also triggers discussions on items which were accepted in the past. This is one of things needing the discussion.
When the upgrade is now allowed anymore, I think we should stop updating the intermediate versions also on master and do CVE patches instead (like we switched also for ncurses some time ago). That is also reason why I updated ot .0 instead of .0045.
They release approx. every two years and some dates from the past show that it can happen that upgrade is done after out LTS release making us to use a random intermediate tag in future LTS releases.Alternatively, we could also continue updating vim in LTS like we did in the past.
The Yocto Project TSC would have to carve out an exception for vim to allow me to accept the upgrades. But, since vim ought to be a leaf in the dependency tree, I think the case can be made.
Quoted 2 lines
For now, there are two active CVEs in LTS releases.
Please let me know if I need to backport patches now or if vim upgrade would be accepted.
As of now, only the backports are acceptable from my point of view.
Quoted 1 line
Any thoughts from the maintainers?
The number of CVE applicable to vim has decrease a lot since 2022:
https://nvd.nist.gov/vuln/search#/nvd/home?keyword=vim&resultType=statistics
From 114 in 2022 to 27 in 2025.
So, maybe the usual CVE patches backports is back to being a possible strategy?
If we decide that we can't keep vim stable (without enhancements) and free of CVEs in OE-Core, then its replacement by nano sound like a good idea to me.
Regards,
Quoted 127 lines
Peter
Quoted 125 lines
-----Original Message-----
From: [email protected] <openembedded- [email protected]> On Behalf Of Peter Marko via lists.openembedded.org
Sent: Tuesday, February 24, 2026 17:27
To: [email protected]
Cc: Marko, Peter (FT D EU SK BFS1) <[email protected]>
Subject: [OE-core][PATCH] vim: upgrade 9.1.2144 -> 9.2.0From: Peter Marko <[email protected]>
Solves 9.1.2148 (in 9.1.2148), see [1].
Drop patch merged upstream.Release notes for 9.2, see [2].
Note that almost all changes were already present in our 9.1 updates.[1] https://github.com/vim/vim/security/advisories/GHSA-9w5c-hwr9-hc68
[2] https://www.vim.org/vim-9.2-released.phpSigned-off-by Peter Marko <[email protected]>--- ...001-translation-sv-add-missing-mkdir.patch | 52 ------------------- .../vim/{vim-tiny_9.1.bb => vim-tiny_9.2.bb} | 0 meta/recipes-support/vim/vim.inc | 5 +- .../vim/{vim_9.1.bb => vim_9.2.bb} | 0 4 files changed, 2 insertions(+), 55 deletions(-) delete mode 100644 meta/recipes-support/vim/files/0001-translation-sv-add- missing-mkdir.patch rename meta/recipes-support/vim/{vim-tiny_9.1.bb => vim-tiny_9.2.bb} (100%) rename meta/recipes-support/vim/{vim_9.1.bb => vim_9.2.bb} (100%)(quoted diff) +0
-0mkdir.patch b/meta/recipes-support/vim/files/0001-translation-sv-add-missing- mkdir.patch
deleted file mode 100644
index 37337c3d9d..0000000000meta/recipes-support/vim/files/0001-translation-sv-add-missing-mkdir.patch deleted +0
-20@@ -1,52 +0,0 @@ -From 2dd7e39942f4f7740c3a645148521d3b6b443c41 Mon Sep 17 00:00:00 2001 -From: Ross Burton <[email protected]> -Date: Wed, 11 Feb 2026 14:39:06 +0000 -Subject: [PATCH] translation(sv): add missing mkdir - -The installtutor target doesn't explicitly create the Swedish directory -that it is going to put files into: - - make[1]: Entering directory 'vim-9.1.2128/src' - /bin/sh install-sh -c -d DESTDIR/usr/share/vim/vim91 - chmod 755 DESTDIR/usr/share/vim/vim91 - /bin/sh install-sh -c -d DESTDIR/usr/share/vim/vim91/tutor/en - chmod 755 DESTDIR/usr/share/vim/vim91/tutor/en - /bin/sh install-sh -c -d DESTDIR/usr/share/vim/vim91/tutor/sr - chmod 755 DESTDIR/usr/share/vim/vim91/tutor/sr - /bin/sh install-sh -c -d DESTDIR/usr/share/vim/vim91/tutor/it - chmod 755 DESTDIR/usr/share/vim/vim91/tutor/it - /bin/sh install-sh -c -d DESTDIR/usr/share/vim/vim91/tutor/ru - chmod 755 DESTDIR/usr/share/vim/vim91/tutor/ru - cp ../runtime/tutor/README* ../runtime/tutor/tutor*DESTDIR/usr/share/vim/vim91/tutor
meta/recipes-support/vim/files/0001-translation-sv-add-missing-mkdir.patch deleted +0
-25- cp ../runtime/tutor/en/* DESTDIR/usr/share/vim/vim91/tutor/en/ - cp ../runtime/tutor/it/* DESTDIR/usr/share/vim/vim91/tutor/it/ - cp ../runtime/tutor/ru/* DESTDIR/usr/share/vim/vim91/tutor/ru/ - cp ../runtime/tutor/sr/* DESTDIR/usr/share/vim/vim91/tutor/sr/ - cp ../runtime/tutor/sv/* DESTDIR/usr/share/vim/vim91/tutor/sv/ - cp: target 'DESTDIR/usr/share/vim/vim91/tutor/sv/': No such file or directory - -Add the missing dependency on $(DEST_TUTOR)/sv to ensure this directory -is created. - -Upstream-Status: Submitted [https://github.com/vim/vim/pull/19385] -Signed-off-by: Ross Burton <[email protected]> ---- - src/Makefile | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/Makefile b/src/Makefile -index 75d8ff6c1c..b4c31bed60 100644 ---- a/src/Makefile -+++ b/src/Makefile -@@ -2487,7 +2487,7 @@ installgtutorbin: $(DEST_BIN) - $(INSTALL_DATA) gvimtutor $(DEST_BIN)/$(GVIMNAME)tutor - chmod $(SCRIPTMOD) $(DEST_BIN)/$(GVIMNAME)tutor - --installtutor: $(DEST_RT) $(DEST_TUTOR)/en $(DEST_TUTOR)/it$(DEST_TUTOR)/sr $(DEST_TUTOR)/ru
-+installtutor: $(DEST_RT) $(DEST_TUTOR)/en $(DEST_TUTOR)/it $(DEST_TUTOR)/sr $(DEST_TUTOR)/sv $(DEST_TUTOR)/rumeta/recipes-support/vim/files/0001-translation-sv-add-missing-mkdir.patch deleted +0
-1- -$(INSTALL_DATA) $(TUTORSOURCE)/README*$(TUTORSOURCE)/tutor* $(DEST_TUTOR)
meta/recipes-support/vim/files/0001-translation-sv-add-missing-mkdir.patch deleted +0
-5- -$(INSTALL_DATA) $(TUTORSOURCE)/en/* $(DEST_TUTOR)/en/ - -$(INSTALL_DATA) $(TUTORSOURCE)/it/* $(DEST_TUTOR)/it/ --- -2.43.0 -meta/recipes- renamed from meta/recipes-support/vim/vim-tiny_9.1.bb +0
-0support/vim/vim-tiny_9.2.bb
similarity index 100%
rename from meta/recipes-support/vim/vim-tiny_9.1.bb rename to meta/recipes-support/vim/vim-tiny_9.2.bbmeta/recipes-support/vim/vim.inc +2
-3@@ -16,11 +16,10 @@ SRC_URI = "git://github.com/vim/vim.git;branch=master;protocol=https;tag=v${PV} file://disable_acl_header_check.patch \ file://0001-src-Makefile-improve-reproducibility.patch \ file://no-path-adjust.patch \ - file://0001-translation-sv-add-missing-mkdir.patch \ " -PV .= ".2144" -SRCREV = "55c12373f073bacfc97d757e8f4da3daf472e4ac" +PV .= ".0" +SRCREV = "e7e21018fc0b60c153c8e668f696d95e574cc5a4" # Do not consider .z in x.y.z, as that is updated with every commit
UPSTREAM_CHECK_GITTAGREGEX= "(?P<pver>\d+\.\d+)\.0"meta/recipes- renamed from meta/recipes-support/vim/vim_9.1.bb +0
-0support/vim/vim_9.2.bb
similarity index 100%
rename from meta/recipes-support/vim/vim_9.1.bb
rename to meta/recipes-support/vim/vim_9.2.bb
Signature · 2 lines
Yoann Congal Smile ECS
Quoted 5 lines · Peter Marko via lists.openembedded.org
Alternatively, we could also continue updating vim in LTS like we did in the past.
For now, there are two active CVEs in LTS releases.
Please let me know if I need to backport patches now or if vim upgrade would be accepted.
Greetings,
I've found it quite useful in the past that vim simply gets updated to the latest, even in the LTS branch we use. Keeping up with vim CVEs is painful otherwise. As such, I would prefer to keep doing things as they have been done in the past.
Cheers,
David
The number of the vim CVEs in 2026 has reached 15 so far [1], and may still be growing. Could we keep upgrading vim to resolve the vim CVEs for LTS branch maintenance as we have done in the past?
[1] https://github.com/vim/vim/security
Thanks,
Quoted 31 lines · David Partain
CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know the content is safe.Quoted 5 lines · Peter Marko via lists.openembedded.org
Alternatively, we could also continue updating vim in LTS like we did in the past.
For now, there are two active CVEs in LTS releases.
Please let me know if I need to backport patches now or if vim upgrade would be accepted.Greetings,
I've found it quite useful in the past that vim simply gets updated to the latest, even in the LTS branch we use. Keeping up with vim CVEs is painful otherwise. As such, I would prefer to keep doing things as they have been done in the past.
Cheers,
David
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#232302): https://lists.openembedded.org/g/openembedded-core/message/232302
Mute This Topic: https://lists.openembedded.org/mt/117978611/3618448
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Do those CVEs actually affect your product security, or is it just something you'd like to do to improve CVE reports?
I have this uneasy feeling that people are optimizing statistics instead of just adding vim to ignorelist and focusing on what actually matters.
Alex
Quoted 45 lines · Mingli via lists.openembedded.org
The number of the vim CVEs in 2026 has reached 15 so far [1], and may still be growing. Could we keep upgrading vim to resolve the vim CVEs for LTS branch maintenance as we have done in the past?
[1] https://github.com/vim/vim/security
Thanks,
Quoted 12 lines · David Partain
CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know the content is safe.Quoted 5 lines · Peter Marko via lists.openembedded.org
Alternatively, we could also continue updating vim in LTS like we did in the past.
For now, there are two active CVEs in LTS releases.
Please let me know if I need to backport patches now or if vim upgrade would be accepted.Greetings,
Quoted 13 lines
I've found it quite useful in the past that vim simply gets updated to the latest, even in the LTS branch we use. Keeping up with vim CVEs is painful otherwise. As such, I would prefer to keep doing things as they have been done in the past.
Cheers,
David
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#235695): https://lists.openembedded.org/g/openembedded-core/message/235695
Mute This Topic: https://lists.openembedded.org/mt/117978611/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-