Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package cpio for openSUSE:Factory checked in 
at 2026-11-23 12:19:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cpio (Old)
 and      /work/SRC/openSUSE:Factory/.cpio.new.1340718 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cpio"

Mon Nov 23 12:19:05 2026 rev:76 rq:1398859 version:2.15

Changes:
--------
--- /work/SRC/openSUSE:Factory/cpio/cpio.changes        2026-11-01 
22:21:53.925218735 +0100
+++ /work/SRC/openSUSE:Factory/.cpio.new.1340718/cpio.changes   2026-11-23 
12:19:07.840927772 +0100
@@ -1,0 +2,6 @@
+Tue Nov 17 18:26:39 UTC 2026 - Dirk Müller <[email protected]>
+
+- add CVE-2026-126820.patch (CVE-2026-126820 bsc#1290469)
+- add CVE-2026-126831.patch (CVE-2026-126831 bsc#1290470)
+
+-------------------------------------------------------------------

New:
----
  CVE-2026-126820.patch
  CVE-2026-126831.patch

----------(New B)----------
  New:
- add CVE-2026-126820.patch (CVE-2026-126820 bsc#1290469)
- add CVE-2026-126831.patch (CVE-2026-126831 bsc#1290470)
  New:- add CVE-2026-126820.patch (CVE-2026-126820 bsc#1290469)
- add CVE-2026-126831.patch (CVE-2026-126831 bsc#1290470)
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cpio.spec ++++++
--- /var/tmp/diff_new_pack.BMaEVd/_old  2026-11-23 12:19:09.268987851 +0100
+++ /var/tmp/diff_new_pack.BMaEVd/_new  2026-11-23 12:19:09.271987977 +0100
@@ -50,6 +50,10 @@
 # PATCH-FIX-UPSTREAM CVE-2026-66486.patch bsc#1274858 [email protected]
 # CVE-2026-66486: terminal control sequence injection via crafted archive 
member names
 Patch13:        CVE-2026-66486.patch
+# PATCH-FIX-UPSTREAM CVE-2026-126820 bsc#1290469
+Patch14:        CVE-2026-126820.patch
+# PATCH-FIX-UPSTREAM CVE-2026-126831 bsc#1290470
+Patch15:        CVE-2026-126831.patch
 BuildRequires:  autoconf >= 2.71
 BuildRequires:  automake
 BuildRequires:  makeinfo

++++++ CVE-2026-126820.patch ++++++
>From bf16382570ace03c1d4c5413a558f195f680e7f6 Mon Sep 17 00:00:00 2001
From: Sergey Poznyakoff <[email protected]>
Date: Thu, 29 May 2025 08:28:33 +0300
Subject: Fix invalid memory access

---
 src/copyin.c | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

(limited to 'src/copyin.c')

diff --git a/src/copyin.c b/src/copyin.c
index 48fb95d..7ed9474 100644
--- a/src/copyin.c
+++ b/src/copyin.c
@@ -996,11 +996,8 @@ from_ascii (char const *where, size_t digs, unsigned 
logbase)
   int overflow = 0;
   static char codetab[] = "0123456789ABCDEF";
 
-  for (; *buf == ' '; buf++)
-    {
-      if (buf == end)
-       return 0;
-    }
+  for (; buf < end && *buf == ' '; buf++)
+    ;
 
   if (buf == end || *buf == 0)
     return 0;
-- 

++++++ CVE-2026-126831.patch ++++++
>From e8931bebb9e159a67db64ac1ac86314566ad24d8 Mon Sep 17 00:00:00 2001
From: Sergey Poznyakoff <[email protected]>
Date: Sat, 25 Jul 2026 09:23:10 +0300
Subject: [PATCH] Fix possible stack overflow in write_out_tar_header

---
 src/tar.c | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/src/tar.c b/src/tar.c
index c40680e..8f4ebb1 100644
--- a/src/tar.c
+++ b/src/tar.c
@@ -127,6 +127,13 @@ tar_checksum (struct tar_header *tar_hdr)
     }                                                      \
   while (0)
 
+static void
+tarnamecpy (char *buf, char const *name, size_t size)
+{
+  strncpy (buf, name, size-1);
+  buf[size] = 0;
+}
+
 /* Write out header FILE_HDR, including the file name, to file
    descriptor OUT_DES.  */
 
@@ -215,10 +222,10 @@ write_out_tar_header (struct cpio_file_stat *file_hdr, 
int out_des)
 
       name = getuser (file_hdr->c_uid);
       if (name)
-       strcpy (tar_hdr->uname, name);
+       tarnamecpy (tar_hdr->uname, name, sizeof (tar_hdr->uname));
       name = getgroup (file_hdr->c_gid);
       if (name)
-       strcpy (tar_hdr->gname, name);
+       tarnamecpy (tar_hdr->gname, name, sizeof (tar_hdr->gname));
 
       TO_OCT (file_hdr, c_rdev_maj, 8, tar_hdr, devmajor);
       TO_OCT (file_hdr, c_rdev_min, 8, tar_hdr, devminor);
-- 
2.56.0

Reply via email to