RHSA-2026:23992
Vulnerability from csaf_redhat - Published: 2026-06-07 00:53 - Updated: 2026-07-15 15:31A flaw was found in soupsieve, a CSS selector library used with Beautiful Soup 4. This vulnerability allows a remote attacker to cause a denial of service (DoS) by supplying a specially crafted CSS selector string. The parser allocates unbounded memory when compiling large, comma-separated selector lists, leading to excessive memory consumption and system instability.
A flaw was found in soupsieve, a CSS selector library. This vulnerability allows a remote attacker to cause a Denial of Service (DoS) by supplying specially crafted, untrusted CSS selector strings. The flaw occurs due to a regular expression vulnerable to catastrophic backtracking when processing an attribute selector with an unterminated quoted value, leading to CPU exhaustion.
{
"document": {
"aggregate_severity": {
"namespace": "https://access.redhat.com/security/updates/classification/",
"text": "Important"
},
"category": "csaf_security_advisory",
"csaf_version": "2.0",
"distribution": {
"text": "Copyright \u00a9 Red Hat, Inc. All rights reserved.",
"tlp": {
"label": "WHITE",
"url": "https://www.first.org/tlp/"
}
},
"lang": "en",
"notes": [
{
"category": "summary",
"text": "An update for Red Hat Hardened Images RPMs is now available.",
"title": "Topic"
},
{
"category": "general",
"text": "This update includes the following RPMs:\n\npython-attrs:\n * python3-attrs-26.1.0-3.hum1 (noarch)\n * python-attrs-26.1.0-3.hum1.src (src)",
"title": "Details"
},
{
"category": "legal_disclaimer",
"text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
"title": "Terms of Use"
}
],
"publisher": {
"category": "vendor",
"contact_details": "https://access.redhat.com/security/team/contact/",
"issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
"name": "Red Hat Product Security",
"namespace": "https://www.redhat.com"
},
"references": [
{
"category": "self",
"summary": "https://access.redhat.com/errata/RHSA-2026:23992",
"url": "https://access.redhat.com/errata/RHSA-2026:23992"
},
{
"category": "external",
"summary": "https://images.redhat.com/",
"url": "https://images.redhat.com/"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/cve/CVE-2026-49477",
"url": "https://access.redhat.com/security/cve/CVE-2026-49477"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/updates/classification/",
"url": "https://access.redhat.com/security/updates/classification/"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/cve/CVE-2026-49476",
"url": "https://access.redhat.com/security/cve/CVE-2026-49476"
},
{
"category": "self",
"summary": "Canonical URL",
"url": "https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_23992.json"
}
],
"title": "Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update",
"tracking": {
"current_release_date": "2026-07-15T15:31:33+00:00",
"generator": {
"date": "2026-07-15T15:31:33+00:00",
"engine": {
"name": "Red Hat SDEngine",
"version": "5.3.6"
}
},
"id": "RHSA-2026:23992",
"initial_release_date": "2026-06-07T00:53:38+00:00",
"revision_history": [
{
"date": "2026-06-07T00:53:38+00:00",
"number": "1",
"summary": "Initial version"
},
{
"date": "2026-07-15T10:50:15+00:00",
"number": "2",
"summary": "Last updated version"
},
{
"date": "2026-07-15T15:31:33+00:00",
"number": "3",
"summary": "Last generated version"
}
],
"status": "final",
"version": "3"
}
},
"product_tree": {
"branches": [
{
"branches": [
{
"branches": [
{
"category": "product_name",
"name": "Red Hat Hardened Images",
"product": {
"name": "Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images",
"product_identification_helper": {
"cpe": "cpe:/a:redhat:hummingbird:1"
}
}
}
],
"category": "product_family",
"name": "Red Hat Hardened Images"
},
{
"branches": [
{
"category": "product_version",
"name": "python-attrs-main@src",
"product": {
"name": "python-attrs-main@src",
"product_id": "python-attrs-main@src",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/python-attrs@26.1.0-3.hum1?arch=src\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-source-rpms"
}
}
}
],
"category": "architecture",
"name": "src"
},
{
"branches": [
{
"category": "product_version",
"name": "python-attrs-main@noarch",
"product": {
"name": "python-attrs-main@noarch",
"product_id": "python-attrs-main@noarch",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/python3-attrs@26.1.0-3.hum1?arch=noarch\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-x86_64-rpms"
}
}
}
],
"category": "architecture",
"name": "noarch"
}
],
"category": "vendor",
"name": "Red Hat"
}
],
"relationships": [
{
"category": "default_component_of",
"full_product_name": {
"name": "python-attrs-main@noarch as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:python-attrs-main@noarch"
},
"product_reference": "python-attrs-main@noarch",
"relates_to_product_reference": "Red Hat Hardened Images"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "python-attrs-main@src as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:python-attrs-main@src"
},
"product_reference": "python-attrs-main@src",
"relates_to_product_reference": "Red Hat Hardened Images"
}
]
},
"vulnerabilities": [
{
"cve": "CVE-2026-49476",
"cwe": {
"id": "CWE-770",
"name": "Allocation of Resources Without Limits or Throttling"
},
"discovery_date": "2026-07-14T22:01:41.402642+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "2500715"
}
],
"notes": [
{
"category": "description",
"text": "A flaw was found in soupsieve, a CSS selector library used with Beautiful Soup 4. This vulnerability allows a remote attacker to cause a denial of service (DoS) by supplying a specially crafted CSS selector string. The parser allocates unbounded memory when compiling large, comma-separated selector lists, leading to excessive memory consumption and system instability.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "soupsieve: python-soupsieve: Soupsieve: Denial of Service via crafted CSS selector string",
"title": "Vulnerability summary"
},
{
"category": "other",
"text": "An uncontrolled resource consumption vulnerability was found in the soupsieve Python package, a CSS selector library used by BeautifulSoup4. A remote attacker could provide a crafted CSS selector string that causes excessive memory or CPU consumption, leading to a denial of service condition. Red Hat ships soupsieve as a dependency in multiple products including OpenShift, Ceph Storage, RHOAI, Satellite, Ansible Automation Platform, OpenStack Platform, CNV, Lightspeed, and various container images.",
"title": "Statement"
},
{
"category": "general",
"text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
"title": "CVSS score applicability"
}
],
"product_status": {
"fixed": [
"Red Hat Hardened Images:python-attrs-main@noarch",
"Red Hat Hardened Images:python-attrs-main@src"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2026-49476"
},
{
"category": "external",
"summary": "RHBZ#2500715",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2500715"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2026-49476",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-49476"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2026-49476",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-49476"
},
{
"category": "external",
"summary": "https://github.com/facelessuser/soupsieve/commit/28108ab805818c832d9568142a99844fd95a0d39",
"url": "https://github.com/facelessuser/soupsieve/commit/28108ab805818c832d9568142a99844fd95a0d39"
},
{
"category": "external",
"summary": "https://github.com/facelessuser/soupsieve/releases/tag/2.8.4",
"url": "https://github.com/facelessuser/soupsieve/releases/tag/2.8.4"
},
{
"category": "external",
"summary": "https://github.com/facelessuser/soupsieve/security/advisories/GHSA-2wc2-fm75-p42x",
"url": "https://github.com/facelessuser/soupsieve/security/advisories/GHSA-2wc2-fm75-p42x"
}
],
"release_date": "2026-07-14T20:53:12.497000+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2026-06-07T00:53:38+00:00",
"details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\nhttps://images.redhat.com/",
"product_ids": [
"Red Hat Hardened Images:python-attrs-main@noarch",
"Red Hat Hardened Images:python-attrs-main@src"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2026:23992"
},
{
"category": "workaround",
"details": "There is no mitigation for this flaw other than updating the soupsieve package when upstream patches are available. The impact is limited to availability (denial of service) \u2014 an attacker cannot access or modify data through this vulnerability. Applications that do not process untrusted CSS selector strings are at reduced risk.",
"product_ids": [
"Red Hat Hardened Images:python-attrs-main@noarch",
"Red Hat Hardened Images:python-attrs-main@src"
]
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"version": "3.1"
},
"products": [
"Red Hat Hardened Images:python-attrs-main@noarch",
"Red Hat Hardened Images:python-attrs-main@src"
]
}
],
"threats": [
{
"category": "impact",
"details": "Important"
}
],
"title": "soupsieve: python-soupsieve: Soupsieve: Denial of Service via crafted CSS selector string"
},
{
"cve": "CVE-2026-49477",
"cwe": {
"id": "CWE-1333",
"name": "Inefficient Regular Expression Complexity"
},
"discovery_date": "2026-07-14T22:04:22.677547+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "2500752"
}
],
"notes": [
{
"category": "description",
"text": "A flaw was found in soupsieve, a CSS selector library. This vulnerability allows a remote attacker to cause a Denial of Service (DoS) by supplying specially crafted, untrusted CSS selector strings. The flaw occurs due to a regular expression vulnerable to catastrophic backtracking when processing an attribute selector with an unterminated quoted value, leading to CPU exhaustion.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "soupsieve: Soupsieve: Denial of Service via crafted CSS selector strings",
"title": "Vulnerability summary"
},
{
"category": "other",
"text": "Important: A regular expression denial of service (ReDoS) flaw in the soupsieve library can lead to CPU exhaustion. A remote attacker can exploit this by supplying a small, specially crafted CSS selector string to applications that process untrusted CSS, potentially blocking worker threads and causing a complete service denial in affected Red Hat products.",
"title": "Statement"
},
{
"category": "general",
"text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
"title": "CVSS score applicability"
}
],
"product_status": {
"fixed": [
"Red Hat Hardened Images:python-attrs-main@noarch",
"Red Hat Hardened Images:python-attrs-main@src"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2026-49477"
},
{
"category": "external",
"summary": "RHBZ#2500752",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2500752"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2026-49477",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-49477"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2026-49477",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-49477"
},
{
"category": "external",
"summary": "https://github.com/facelessuser/soupsieve/commit/eb4397618709186c109400448c6043b728217dc3",
"url": "https://github.com/facelessuser/soupsieve/commit/eb4397618709186c109400448c6043b728217dc3"
},
{
"category": "external",
"summary": "https://github.com/facelessuser/soupsieve/releases/tag/2.8.4",
"url": "https://github.com/facelessuser/soupsieve/releases/tag/2.8.4"
},
{
"category": "external",
"summary": "https://github.com/facelessuser/soupsieve/security/advisories/GHSA-836r-79rf-4m37",
"url": "https://github.com/facelessuser/soupsieve/security/advisories/GHSA-836r-79rf-4m37"
}
],
"release_date": "2026-07-14T20:51:29.369000+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2026-06-07T00:53:38+00:00",
"details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\nhttps://images.redhat.com/",
"product_ids": [
"Red Hat Hardened Images:python-attrs-main@noarch",
"Red Hat Hardened Images:python-attrs-main@src"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2026:23992"
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"version": "3.1"
},
"products": [
"Red Hat Hardened Images:python-attrs-main@noarch",
"Red Hat Hardened Images:python-attrs-main@src"
]
}
],
"threats": [
{
"category": "impact",
"details": "Important"
}
],
"title": "soupsieve: Soupsieve: Denial of Service via crafted CSS selector strings"
}
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.