{
  "id": "CVE-2025-4948",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-4948",
  "published_at": "2025-05-19T15:55:46.23Z",
  "title": "Libsoup: integer underflow in soup_multipart_new_from_message() leading to denial of service in libsoup",
  "vendor": "Red Hat",
  "product": "Red Hat Enterprise Linux 10",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-191",
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "",
        "product": "",
        "ranges": [
          "\u003c= 3.6.5"
        ],
        "fixed_in": null
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 10",
        "ranges": null,
        "fixed_in": [
          "0:3.6.5-3.el10_0.6"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 7 Extended Lifecycle Support",
        "ranges": null,
        "fixed_in": [
          "0:2.62.2-9.el7_9"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8",
        "ranges": null,
        "fixed_in": [
          "0:2.62.3-9.el8_10"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8",
        "ranges": null,
        "fixed_in": [
          "0:2.62.3-9.el8_10"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.2 Advanced Update Support",
        "ranges": null,
        "fixed_in": [
          "0:2.62.3-1.el8_2.5"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support",
        "ranges": null,
        "fixed_in": [
          "0:2.62.3-2.el8_4.5"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support",
        "ranges": null,
        "fixed_in": [
          "0:2.62.3-2.el8_6.5"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.6 Telecommunications Update Service",
        "ranges": null,
        "fixed_in": [
          "0:2.62.3-2.el8_6.5"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions",
        "ranges": null,
        "fixed_in": [
          "0:2.62.3-2.el8_6.5"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.8 Extended Update Support",
        "ranges": null,
        "fixed_in": [
          "0:2.62.3-3.el8_8.5"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9",
        "ranges": null,
        "fixed_in": [
          "0:2.72.0-10.el9_6.2"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions",
        "ranges": null,
        "fixed_in": [
          "0:2.72.0-8.el9_0.5"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9.2 Extended Update Support",
        "ranges": null,
        "fixed_in": [
          "0:2.72.0-8.el9_2.5"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9.4 Extended Update Support",
        "ranges": null,
        "fixed_in": [
          "0:2.72.0-8.el9_4.5"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Red Hat Enterprise Linux 10 to 0:3.6.5-3.el10_0.6 or later.",
      "Upgrade Red Hat Enterprise Linux 7 Extended Lifecycle Support to 0:2.62.2-9.el7_9 or later.",
      "Upgrade Red Hat Enterprise Linux 8 to 0:2.62.3-9.el8_10 or later.",
      "Upgrade Red Hat Enterprise Linux 8 to 0:2.62.3-9.el8_10 or later.",
      "Upgrade Red Hat Enterprise Linux 8.2 Advanced Update Support to 0:2.62.3-1.el8_2.5 or later.",
      "Upgrade Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support to 0:2.62.3-2.el8_4.5 or later.",
      "Upgrade Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support to 0:2.62.3-2.el8_6.5 or later.",
      "Upgrade Red Hat Enterprise Linux 8.6 Telecommunications Update Service to 0:2.62.3-2.el8_6.5 or later.",
      "Upgrade Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions to 0:2.62.3-2.el8_6.5 or later.",
      "Upgrade Red Hat Enterprise Linux 8.8 Extended Update Support to 0:2.62.3-3.el8_8.5 or later.",
      "Upgrade Red Hat Enterprise Linux 9 to 0:2.72.0-10.el9_6.2 or later.",
      "Upgrade Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions to 0:2.72.0-8.el9_0.5 or later.",
      "Upgrade Red Hat Enterprise Linux 9.2 Extended Update Support to 0:2.72.0-8.el9_2.5 or later.",
      "Upgrade Red Hat Enterprise Linux 9.4 Extended Update Support to 0:2.72.0-8.el9_4.5 or later."
    ],
    "workarounds": [
      "To mitigate this issue, Red Hat recommends avoiding the use of libsoup with untrusted or unauthenticated multipart HTTP message sources until updated packages are available. Administrators can deploy application-level filters or HTTP proxies that reject malformed multipart requests. It is strongly advised to apply vendor-supplied patches as soon as they are released to address this integer underflow vulnerability and restore the stability of affected services."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2025:21657"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2025:8126"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2025:8128"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2025:8132"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2025:8139"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2025:8140"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2025:8252"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2025:8480"
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://gitlab.gnome.org/GNOME/libsoup/-/work_items/449",
      "source": "cvelist",
      "title": "",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [],
  "rules": []
}
