public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/sofia-sip] epel9: Patch for oversized MIME boundary (fedora#2554362)
Date: Tue, 27 Oct 2026 20:04:59 GMT	[thread overview]
Message-ID: <179313149984.1.8022136521147412019.rpms-sofia-sip-aa98ccceb625@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/sofia-sip
            Branch : epel9
            Commit : aa98ccceb625a12f7c92356acdbcaed3628eed55
            Author : Tomi Lähteenmäki <lihis@lihis.net>
            Date   : 2026-10-27T21:53:32+02:00
            Stats  : +25/-1 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/sofia-sip/c/aa98ccceb625a12f7c92356acdbcaed3628eed55?branch=epel9

            Log:
            Patch for oversized MIME boundary (fedora#2554362)

Reported as CVE-2026-110658.

---
diff --git a/347.patch b/347.patch
new file mode 100644
index 0000000..716779f
--- /dev/null
+++ b/347.patch
@@ -0,0 +1,23 @@
+From 7f1f3843f17c133c8af4dd09ba512447893dcffc Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Tomi=20L=C3=A4hteenm=C3=A4ki?= <lihis@lihis.net>
+Date: Sat, 24 Oct 2026 12:47:23 +0300
+Subject: [PATCH] Fix out-of-bounds read in msg_mime multipart
+
+CVE-2026-110658
+---
+ libsofia-sip-ua/msg/msg_mime.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/libsofia-sip-ua/msg/msg_mime.c b/libsofia-sip-ua/msg/msg_mime.c
+index 430d3f68f..a8bc48660 100644
+--- a/libsofia-sip-ua/msg/msg_mime.c
++++ b/libsofia-sip-ua/msg/msg_mime.c
+@@ -401,7 +401,7 @@ msg_multipart_t *msg_multipart_parse(su_home_t *home,
+   m = strlen(boundary) - 2, blen = m - 1;
+ 
+   /* Find first delimiter */
+-  if (memcmp(boundary + 2, p, m - 2) == 0)
++  if (len >= m - 2 && memcmp(boundary + 2, p, m - 2) == 0)
+     b = p, p = p + m - 2;
+   else if ((p = memmem(p, len, boundary + 1, m - 1))) {
+     if (p != pl->pl_data && p[-1] == '\r')

diff --git a/sofia-sip.spec b/sofia-sip.spec
index e7a2c30..8196da0 100644
--- a/sofia-sip.spec
+++ b/sofia-sip.spec
@@ -6,9 +6,10 @@ Summary:        Sofia SIP User-Agent library
 License:        LGPL-2.1-or-later
 URL:            http://sofia-sip.sourceforge.net/
 Source0:        https://github.com/freeswitch/%{name}/archive/refs/tags/v%{version}.tar.gz
-
 # https://github.com/freeswitch/sofia-sip/pull/249
 Patch0:         0001-Fix-incompatible-pointer-type-in-sip_basic.c.patch
+# https://github.com/freeswitch/sofia-sip/pull/347
+Patch1:         347.patch
 
 BuildRequires:  make
 BuildRequires:  gcc-c++

                 reply	other threads:[~2026-10-27 20:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179313149984.1.8022136521147412019.rpms-sofia-sip-aa98ccceb625@fedoraproject.org \
    --to=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox