SUSE-SU-2026:1659-1

Vulnerability from csaf_suse - Published: 2026-04-29 11:09 - Updated: 2026-04-29 11:09
Summary
Security update for sed
Severity
Moderate
Notes
Title of the patch: Security update for sed
Description of the patch: This update for sed fixes the following issues: - CVE-2026-5958: TOCTOU race allows write of user-controlled content to unintended files and can lead to arbitrary file overwrite (bsc#1262144).
Patchnames: SUSE-2026-1659,SUSE-SLE-Micro-5.3-2026-1659,SUSE-SLE-Micro-5.4-2026-1659,SUSE-SLE-Micro-5.5-2026-1659,SUSE-SUSE-MicroOS-5.2-2026-1659
Terms of use: CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).
Vendor Fix To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".

{
  "document": {
    "aggregate_severity": {
      "namespace": "https://www.suse.com/support/security/rating/",
      "text": "moderate"
    },
    "category": "csaf_security_advisory",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright 2024 SUSE LLC. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "summary",
        "text": "Security update for sed",
        "title": "Title of the patch"
      },
      {
        "category": "description",
        "text": "This update for sed fixes the following issues:\n\n- CVE-2026-5958: TOCTOU race allows write of user-controlled content to unintended files and can lead to arbitrary file\n  overwrite (bsc#1262144).\n",
        "title": "Description of the patch"
      },
      {
        "category": "details",
        "text": "SUSE-2026-1659,SUSE-SLE-Micro-5.3-2026-1659,SUSE-SLE-Micro-5.4-2026-1659,SUSE-SLE-Micro-5.5-2026-1659,SUSE-SUSE-MicroOS-5.2-2026-1659",
        "title": "Patchnames"
      },
      {
        "category": "legal_disclaimer",
        "text": "CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).",
        "title": "Terms of use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://www.suse.com/support/security/contact/",
      "name": "SUSE Product Security Team",
      "namespace": "https://www.suse.com/"
    },
    "references": [
      {
        "category": "external",
        "summary": "SUSE ratings",
        "url": "https://www.suse.com/support/security/rating/"
      },
      {
        "category": "self",
        "summary": "URL of this CSAF notice",
        "url": "https://ftp.suse.com/pub/projects/security/csaf/suse-su-2026_1659-1.json"
      },
      {
        "category": "self",
        "summary": "URL for SUSE-SU-2026:1659-1",
        "url": "https://www.suse.com/support/update/announcement/2026/suse-su-20261659-1/"
      },
      {
        "category": "self",
        "summary": "E-Mail link for SUSE-SU-2026:1659-1",
        "url": "https://lists.suse.com/pipermail/sle-updates/2026-April/046104.html"
      },
      {
        "category": "self",
        "summary": "SUSE Bug 1262144",
        "url": "https://bugzilla.suse.com/1262144"
      },
      {
        "category": "self",
        "summary": "SUSE CVE CVE-2026-5958 page",
        "url": "https://www.suse.com/security/cve/CVE-2026-5958/"
      }
    ],
    "title": "Security update for sed",
    "tracking": {
      "current_release_date": "2026-04-29T11:09:09Z",
      "generator": {
        "date": "2026-04-29T11:09:09Z",
        "engine": {
          "name": "cve-database.git:bin/generate-csaf.pl",
          "version": "1"
        }
      },
      "id": "SUSE-SU-2026:1659-1",
      "initial_release_date": "2026-04-29T11:09:09Z",
      "revision_history": [
        {
          "date": "2026-04-29T11:09:09Z",
          "number": "1",
          "summary": "Current version"
        }
      ],
      "status": "final",
      "version": "1"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version",
                "name": "sed-4.4-150300.13.6.1.aarch64",
                "product": {
                  "name": "sed-4.4-150300.13.6.1.aarch64",
                  "product_id": "sed-4.4-150300.13.6.1.aarch64"
                }
              }
            ],
            "category": "architecture",
            "name": "aarch64"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "sed-4.4-150300.13.6.1.i586",
                "product": {
                  "name": "sed-4.4-150300.13.6.1.i586",
                  "product_id": "sed-4.4-150300.13.6.1.i586"
                }
              }
            ],
            "category": "architecture",
            "name": "i586"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "sed-lang-4.4-150300.13.6.1.noarch",
                "product": {
                  "name": "sed-lang-4.4-150300.13.6.1.noarch",
                  "product_id": "sed-lang-4.4-150300.13.6.1.noarch"
                }
              }
            ],
            "category": "architecture",
            "name": "noarch"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "sed-4.4-150300.13.6.1.ppc64le",
                "product": {
                  "name": "sed-4.4-150300.13.6.1.ppc64le",
                  "product_id": "sed-4.4-150300.13.6.1.ppc64le"
                }
              }
            ],
            "category": "architecture",
            "name": "ppc64le"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "sed-4.4-150300.13.6.1.s390x",
                "product": {
                  "name": "sed-4.4-150300.13.6.1.s390x",
                  "product_id": "sed-4.4-150300.13.6.1.s390x"
                }
              }
            ],
            "category": "architecture",
            "name": "s390x"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "sed-4.4-150300.13.6.1.x86_64",
                "product": {
                  "name": "sed-4.4-150300.13.6.1.x86_64",
                  "product_id": "sed-4.4-150300.13.6.1.x86_64"
                }
              }
            ],
            "category": "architecture",
            "name": "x86_64"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "SUSE Linux Enterprise Micro 5.3",
                "product": {
                  "name": "SUSE Linux Enterprise Micro 5.3",
                  "product_id": "SUSE Linux Enterprise Micro 5.3",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:suse:sle-micro:5.3"
                  }
                }
              },
              {
                "category": "product_name",
                "name": "SUSE Linux Enterprise Micro 5.4",
                "product": {
                  "name": "SUSE Linux Enterprise Micro 5.4",
                  "product_id": "SUSE Linux Enterprise Micro 5.4",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:suse:sle-micro:5.4"
                  }
                }
              },
              {
                "category": "product_name",
                "name": "SUSE Linux Enterprise Micro 5.5",
                "product": {
                  "name": "SUSE Linux Enterprise Micro 5.5",
                  "product_id": "SUSE Linux Enterprise Micro 5.5",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:suse:sle-micro:5.5"
                  }
                }
              },
              {
                "category": "product_name",
                "name": "SUSE Linux Enterprise Micro 5.2",
                "product": {
                  "name": "SUSE Linux Enterprise Micro 5.2",
                  "product_id": "SUSE Linux Enterprise Micro 5.2",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:suse:suse-microos:5.2"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "SUSE Linux Enterprise"
          }
        ],
        "category": "vendor",
        "name": "SUSE"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "sed-4.4-150300.13.6.1.aarch64 as component of SUSE Linux Enterprise Micro 5.3",
          "product_id": "SUSE Linux Enterprise Micro 5.3:sed-4.4-150300.13.6.1.aarch64"
        },
        "product_reference": "sed-4.4-150300.13.6.1.aarch64",
        "relates_to_product_reference": "SUSE Linux Enterprise Micro 5.3"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "sed-4.4-150300.13.6.1.s390x as component of SUSE Linux Enterprise Micro 5.3",
          "product_id": "SUSE Linux Enterprise Micro 5.3:sed-4.4-150300.13.6.1.s390x"
        },
        "product_reference": "sed-4.4-150300.13.6.1.s390x",
        "relates_to_product_reference": "SUSE Linux Enterprise Micro 5.3"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "sed-4.4-150300.13.6.1.x86_64 as component of SUSE Linux Enterprise Micro 5.3",
          "product_id": "SUSE Linux Enterprise Micro 5.3:sed-4.4-150300.13.6.1.x86_64"
        },
        "product_reference": "sed-4.4-150300.13.6.1.x86_64",
        "relates_to_product_reference": "SUSE Linux Enterprise Micro 5.3"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "sed-4.4-150300.13.6.1.aarch64 as component of SUSE Linux Enterprise Micro 5.4",
          "product_id": "SUSE Linux Enterprise Micro 5.4:sed-4.4-150300.13.6.1.aarch64"
        },
        "product_reference": "sed-4.4-150300.13.6.1.aarch64",
        "relates_to_product_reference": "SUSE Linux Enterprise Micro 5.4"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "sed-4.4-150300.13.6.1.s390x as component of SUSE Linux Enterprise Micro 5.4",
          "product_id": "SUSE Linux Enterprise Micro 5.4:sed-4.4-150300.13.6.1.s390x"
        },
        "product_reference": "sed-4.4-150300.13.6.1.s390x",
        "relates_to_product_reference": "SUSE Linux Enterprise Micro 5.4"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "sed-4.4-150300.13.6.1.x86_64 as component of SUSE Linux Enterprise Micro 5.4",
          "product_id": "SUSE Linux Enterprise Micro 5.4:sed-4.4-150300.13.6.1.x86_64"
        },
        "product_reference": "sed-4.4-150300.13.6.1.x86_64",
        "relates_to_product_reference": "SUSE Linux Enterprise Micro 5.4"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "sed-4.4-150300.13.6.1.aarch64 as component of SUSE Linux Enterprise Micro 5.5",
          "product_id": "SUSE Linux Enterprise Micro 5.5:sed-4.4-150300.13.6.1.aarch64"
        },
        "product_reference": "sed-4.4-150300.13.6.1.aarch64",
        "relates_to_product_reference": "SUSE Linux Enterprise Micro 5.5"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "sed-4.4-150300.13.6.1.ppc64le as component of SUSE Linux Enterprise Micro 5.5",
          "product_id": "SUSE Linux Enterprise Micro 5.5:sed-4.4-150300.13.6.1.ppc64le"
        },
        "product_reference": "sed-4.4-150300.13.6.1.ppc64le",
        "relates_to_product_reference": "SUSE Linux Enterprise Micro 5.5"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "sed-4.4-150300.13.6.1.s390x as component of SUSE Linux Enterprise Micro 5.5",
          "product_id": "SUSE Linux Enterprise Micro 5.5:sed-4.4-150300.13.6.1.s390x"
        },
        "product_reference": "sed-4.4-150300.13.6.1.s390x",
        "relates_to_product_reference": "SUSE Linux Enterprise Micro 5.5"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "sed-4.4-150300.13.6.1.x86_64 as component of SUSE Linux Enterprise Micro 5.5",
          "product_id": "SUSE Linux Enterprise Micro 5.5:sed-4.4-150300.13.6.1.x86_64"
        },
        "product_reference": "sed-4.4-150300.13.6.1.x86_64",
        "relates_to_product_reference": "SUSE Linux Enterprise Micro 5.5"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "sed-4.4-150300.13.6.1.aarch64 as component of SUSE Linux Enterprise Micro 5.2",
          "product_id": "SUSE Linux Enterprise Micro 5.2:sed-4.4-150300.13.6.1.aarch64"
        },
        "product_reference": "sed-4.4-150300.13.6.1.aarch64",
        "relates_to_product_reference": "SUSE Linux Enterprise Micro 5.2"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "sed-4.4-150300.13.6.1.s390x as component of SUSE Linux Enterprise Micro 5.2",
          "product_id": "SUSE Linux Enterprise Micro 5.2:sed-4.4-150300.13.6.1.s390x"
        },
        "product_reference": "sed-4.4-150300.13.6.1.s390x",
        "relates_to_product_reference": "SUSE Linux Enterprise Micro 5.2"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "sed-4.4-150300.13.6.1.x86_64 as component of SUSE Linux Enterprise Micro 5.2",
          "product_id": "SUSE Linux Enterprise Micro 5.2:sed-4.4-150300.13.6.1.x86_64"
        },
        "product_reference": "sed-4.4-150300.13.6.1.x86_64",
        "relates_to_product_reference": "SUSE Linux Enterprise Micro 5.2"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2026-5958",
      "ids": [
        {
          "system_name": "SUSE CVE Page",
          "text": "https://www.suse.com/security/cve/CVE-2026-5958"
        }
      ],
      "notes": [
        {
          "category": "general",
          "text": "When sed is invoked with both -i (in-place edit) and --follow-symlinks, the function open_next_file() performs two separate, non-atomic filesystem operations on the same path: \n1. resolves symlink to its target and stores  the resolved path for determining when output is written,\n2. opens the original symlink path  (not the resolved one) to read the file. \nBetween these two calls there is a race window. If an attacker atomically replaces the symlink with a different target during that window, sed will: read content from the new (attacker-chosen) symlink target and write the processed result to the path recorded in step 1.  This can lead to arbitrary file overwrite with attacker-controlled content in the context of the sed process.\n\n\nThis issue was fixed in version 4.10.",
          "title": "CVE description"
        }
      ],
      "product_status": {
        "recommended": [
          "SUSE Linux Enterprise Micro 5.2:sed-4.4-150300.13.6.1.aarch64",
          "SUSE Linux Enterprise Micro 5.2:sed-4.4-150300.13.6.1.s390x",
          "SUSE Linux Enterprise Micro 5.2:sed-4.4-150300.13.6.1.x86_64",
          "SUSE Linux Enterprise Micro 5.3:sed-4.4-150300.13.6.1.aarch64",
          "SUSE Linux Enterprise Micro 5.3:sed-4.4-150300.13.6.1.s390x",
          "SUSE Linux Enterprise Micro 5.3:sed-4.4-150300.13.6.1.x86_64",
          "SUSE Linux Enterprise Micro 5.4:sed-4.4-150300.13.6.1.aarch64",
          "SUSE Linux Enterprise Micro 5.4:sed-4.4-150300.13.6.1.s390x",
          "SUSE Linux Enterprise Micro 5.4:sed-4.4-150300.13.6.1.x86_64",
          "SUSE Linux Enterprise Micro 5.5:sed-4.4-150300.13.6.1.aarch64",
          "SUSE Linux Enterprise Micro 5.5:sed-4.4-150300.13.6.1.ppc64le",
          "SUSE Linux Enterprise Micro 5.5:sed-4.4-150300.13.6.1.s390x",
          "SUSE Linux Enterprise Micro 5.5:sed-4.4-150300.13.6.1.x86_64"
        ]
      },
      "references": [
        {
          "category": "external",
          "summary": "CVE-2026-5958",
          "url": "https://www.suse.com/security/cve/CVE-2026-5958"
        },
        {
          "category": "external",
          "summary": "SUSE Bug 1262144 for CVE-2026-5958",
          "url": "https://bugzilla.suse.com/1262144"
        }
      ],
      "remediations": [
        {
          "category": "vendor_fix",
          "details": "To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n",
          "product_ids": [
            "SUSE Linux Enterprise Micro 5.2:sed-4.4-150300.13.6.1.aarch64",
            "SUSE Linux Enterprise Micro 5.2:sed-4.4-150300.13.6.1.s390x",
            "SUSE Linux Enterprise Micro 5.2:sed-4.4-150300.13.6.1.x86_64",
            "SUSE Linux Enterprise Micro 5.3:sed-4.4-150300.13.6.1.aarch64",
            "SUSE Linux Enterprise Micro 5.3:sed-4.4-150300.13.6.1.s390x",
            "SUSE Linux Enterprise Micro 5.3:sed-4.4-150300.13.6.1.x86_64",
            "SUSE Linux Enterprise Micro 5.4:sed-4.4-150300.13.6.1.aarch64",
            "SUSE Linux Enterprise Micro 5.4:sed-4.4-150300.13.6.1.s390x",
            "SUSE Linux Enterprise Micro 5.4:sed-4.4-150300.13.6.1.x86_64",
            "SUSE Linux Enterprise Micro 5.5:sed-4.4-150300.13.6.1.aarch64",
            "SUSE Linux Enterprise Micro 5.5:sed-4.4-150300.13.6.1.ppc64le",
            "SUSE Linux Enterprise Micro 5.5:sed-4.4-150300.13.6.1.s390x",
            "SUSE Linux Enterprise Micro 5.5:sed-4.4-150300.13.6.1.x86_64"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "baseScore": 6.9,
            "baseSeverity": "MEDIUM",
            "vectorString": "CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N",
            "version": "3.1"
          },
          "products": [
            "SUSE Linux Enterprise Micro 5.2:sed-4.4-150300.13.6.1.aarch64",
            "SUSE Linux Enterprise Micro 5.2:sed-4.4-150300.13.6.1.s390x",
            "SUSE Linux Enterprise Micro 5.2:sed-4.4-150300.13.6.1.x86_64",
            "SUSE Linux Enterprise Micro 5.3:sed-4.4-150300.13.6.1.aarch64",
            "SUSE Linux Enterprise Micro 5.3:sed-4.4-150300.13.6.1.s390x",
            "SUSE Linux Enterprise Micro 5.3:sed-4.4-150300.13.6.1.x86_64",
            "SUSE Linux Enterprise Micro 5.4:sed-4.4-150300.13.6.1.aarch64",
            "SUSE Linux Enterprise Micro 5.4:sed-4.4-150300.13.6.1.s390x",
            "SUSE Linux Enterprise Micro 5.4:sed-4.4-150300.13.6.1.x86_64",
            "SUSE Linux Enterprise Micro 5.5:sed-4.4-150300.13.6.1.aarch64",
            "SUSE Linux Enterprise Micro 5.5:sed-4.4-150300.13.6.1.ppc64le",
            "SUSE Linux Enterprise Micro 5.5:sed-4.4-150300.13.6.1.s390x",
            "SUSE Linux Enterprise Micro 5.5:sed-4.4-150300.13.6.1.x86_64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "date": "2026-04-29T11:09:09Z",
          "details": "moderate"
        }
      ],
      "title": "CVE-2026-5958"
    }
  ]
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

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.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…