ALAS2-2025-2874


Amazon Linux 2 Security Advisory: ALAS2-2025-2874
Advisory Released Date: 2025-06-12
Advisory Updated Date: 2025-06-12
Severity: Important

Issue Overview:

A flaw was found in the soup_multipart_new_from_message() function of the libsoup HTTP library, which is commonly used by GNOME and other applications to handle web communications. The issue occurs when the library processes specially crafted multipart messages. Due to improper validation, an internal calculation can go wrong, leading to an integer underflow. This can cause the program to access invalid memory and crash. As a result, any application or server using libsoup could be forced to exit unexpectedly, creating a denial-of-service (DoS) risk. (CVE-2025-4948)


Affected Packages:

libsoup


Note:

This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.


Issue Correction:
Run yum update libsoup to update your system.

New Packages:
aarch64:
    libsoup-2.56.0-6.amzn2.0.4.aarch64
    libsoup-devel-2.56.0-6.amzn2.0.4.aarch64
    libsoup-debuginfo-2.56.0-6.amzn2.0.4.aarch64

i686:
    libsoup-2.56.0-6.amzn2.0.4.i686
    libsoup-devel-2.56.0-6.amzn2.0.4.i686
    libsoup-debuginfo-2.56.0-6.amzn2.0.4.i686

src:
    libsoup-2.56.0-6.amzn2.0.4.src

x86_64:
    libsoup-2.56.0-6.amzn2.0.4.x86_64
    libsoup-devel-2.56.0-6.amzn2.0.4.x86_64
    libsoup-debuginfo-2.56.0-6.amzn2.0.4.x86_64