Action not permitted
Modal body text goes here.
Modal Title
Modal Body
CVE-2026-5958 (GCVE-0-2026-5958)
Vulnerability from cvelistv5 – Published: 2026-04-20 11:59 – Updated: 2026-05-13 05:17 X_Open Source- CWE-367 - Time-of-check Time-of-use (TOCTOU) Race Condition
| URL | Tags |
|---|---|
| https://www.gnu.org/software/sed/ | product |
| https://cert.pl/en/posts/2026/04/CVE-2026-5958 | third-party-advisory |
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-5958",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-04-20T13:25:51.313140Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-04-20T13:25:59.530Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
},
{
"providerMetadata": {
"dateUpdated": "2026-05-13T05:17:46.051Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"url": "http://www.openwall.com/lists/oss-security/2026/05/13/1"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Sed",
"repo": "https://gitweb.git.savannah.gnu.org/gitweb/?p=sed.git",
"vendor": "GNU",
"versions": [
{
"lessThan": "4.10",
"status": "affected",
"version": "4.1e",
"versionType": "custom"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Micha\u0142 Majchrowicz (AFINE Team)"
},
{
"lang": "en",
"type": "finder",
"value": "Marcin Wyczechowski (AFINE Team)"
}
],
"datePublic": "2026-04-20T12:03:00.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "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: \u003cbr\u003e1. resolves symlink to its target and stores\u0026nbsp;the resolved path for determining when output is written,\u003cbr\u003e2. opens the original symlink path\u0026nbsp;(not the resolved one) to read the file. \u003cbr\u003eBetween 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.\u0026nbsp;This can lead to arbitrary file overwrite with attacker-controlled content in the context of the sed process.\u003cbr\u003e\u003cbr\u003e\u003cbr\u003eThis issue was fixed in version 4.10."
}
],
"value": "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\u00a0the resolved path for determining when output is written,\n2. opens the original symlink path\u00a0(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.\u00a0This 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."
}
],
"impacts": [
{
"capecId": "CAPEC-29",
"descriptions": [
{
"lang": "en",
"value": "CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions"
}
]
}
],
"metrics": [
{
"cvssV4_0": {
"Automatable": "NOT_DEFINED",
"Recovery": "NOT_DEFINED",
"Safety": "NOT_DEFINED",
"attackComplexity": "LOW",
"attackRequirements": "PRESENT",
"attackVector": "LOCAL",
"baseScore": 2.1,
"baseSeverity": "LOW",
"privilegesRequired": "NONE",
"providerUrgency": "NOT_DEFINED",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"userInteraction": "NONE",
"valueDensity": "NOT_DEFINED",
"vectorString": "CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N",
"version": "4.0",
"vulnAvailabilityImpact": "NONE",
"vulnConfidentialityImpact": "NONE",
"vulnIntegrityImpact": "LOW",
"vulnerabilityResponseEffort": "NOT_DEFINED"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-367",
"description": "CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-04-20T12:05:22.221Z",
"orgId": "4bb8329e-dd38-46c1-aafb-9bf32bcb93c6",
"shortName": "CERT-PL"
},
"references": [
{
"tags": [
"product"
],
"url": "https://www.gnu.org/software/sed/"
},
{
"tags": [
"third-party-advisory"
],
"url": "https://cert.pl/en/posts/2026/04/CVE-2026-5958"
}
],
"source": {
"discovery": "EXTERNAL"
},
"tags": [
"x_open-source"
],
"title": "Race Condition in GNU Sed",
"x_generator": {
"engine": "Vulnogram 0.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "4bb8329e-dd38-46c1-aafb-9bf32bcb93c6",
"assignerShortName": "CERT-PL",
"cveId": "CVE-2026-5958",
"datePublished": "2026-04-20T11:59:32.214Z",
"dateReserved": "2026-04-09T09:42:24.687Z",
"dateUpdated": "2026-05-13T05:17:46.051Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2026-5958",
"date": "2026-05-30",
"epss": "6e-05",
"percentile": "0.00337"
},
"nvd": "{\"cve\":{\"id\":\"CVE-2026-5958\",\"sourceIdentifier\":\"cvd@cert.pl\",\"published\":\"2026-04-20T12:16:08.433\",\"lastModified\":\"2026-05-19T15:17:37.183\",\"vulnStatus\":\"Deferred\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"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\u00a0the resolved path for determining when output is written,\\n2. opens the original symlink path\u00a0(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.\u00a0This 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.\"}],\"metrics\":{\"cvssMetricV40\":[{\"source\":\"cvd@cert.pl\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"4.0\",\"vectorString\":\"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X\",\"baseScore\":2.1,\"baseSeverity\":\"LOW\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"attackRequirements\":\"PRESENT\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"vulnConfidentialityImpact\":\"NONE\",\"vulnIntegrityImpact\":\"LOW\",\"vulnAvailabilityImpact\":\"NONE\",\"subConfidentialityImpact\":\"NONE\",\"subIntegrityImpact\":\"NONE\",\"subAvailabilityImpact\":\"NONE\",\"exploitMaturity\":\"NOT_DEFINED\",\"confidentialityRequirement\":\"NOT_DEFINED\",\"integrityRequirement\":\"NOT_DEFINED\",\"availabilityRequirement\":\"NOT_DEFINED\",\"modifiedAttackVector\":\"NOT_DEFINED\",\"modifiedAttackComplexity\":\"NOT_DEFINED\",\"modifiedAttackRequirements\":\"NOT_DEFINED\",\"modifiedPrivilegesRequired\":\"NOT_DEFINED\",\"modifiedUserInteraction\":\"NOT_DEFINED\",\"modifiedVulnConfidentialityImpact\":\"NOT_DEFINED\",\"modifiedVulnIntegrityImpact\":\"NOT_DEFINED\",\"modifiedVulnAvailabilityImpact\":\"NOT_DEFINED\",\"modifiedSubConfidentialityImpact\":\"NOT_DEFINED\",\"modifiedSubIntegrityImpact\":\"NOT_DEFINED\",\"modifiedSubAvailabilityImpact\":\"NOT_DEFINED\",\"Safety\":\"NOT_DEFINED\",\"Automatable\":\"NOT_DEFINED\",\"Recovery\":\"NOT_DEFINED\",\"valueDensity\":\"NOT_DEFINED\",\"vulnerabilityResponseEffort\":\"NOT_DEFINED\",\"providerUrgency\":\"NOT_DEFINED\"}}]},\"weaknesses\":[{\"source\":\"cvd@cert.pl\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-367\"}]}],\"references\":[{\"url\":\"https://cert.pl/en/posts/2026/04/CVE-2026-5958\",\"source\":\"cvd@cert.pl\"},{\"url\":\"https://www.gnu.org/software/sed/\",\"source\":\"cvd@cert.pl\"},{\"url\":\"http://www.openwall.com/lists/oss-security/2026/05/13/1\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}",
"vulnrichment": {
"containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"http://www.openwall.com/lists/oss-security/2026/05/13/1\"}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2026-05-13T05:17:46.051Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-5958\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-04-20T13:25:51.313140Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-04-20T13:25:56.168Z\"}}], \"cna\": {\"tags\": [\"x_open-source\"], \"title\": \"Race Condition in GNU Sed\", \"source\": {\"discovery\": \"EXTERNAL\"}, \"credits\": [{\"lang\": \"en\", \"type\": \"finder\", \"value\": \"Micha\\u0142 Majchrowicz (AFINE Team)\"}, {\"lang\": \"en\", \"type\": \"finder\", \"value\": \"Marcin Wyczechowski (AFINE Team)\"}], \"impacts\": [{\"capecId\": \"CAPEC-29\", \"descriptions\": [{\"lang\": \"en\", \"value\": \"CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions\"}]}], \"metrics\": [{\"format\": \"CVSS\", \"cvssV4_0\": {\"Safety\": \"NOT_DEFINED\", \"version\": \"4.0\", \"Recovery\": \"NOT_DEFINED\", \"baseScore\": 2.1, \"Automatable\": \"NOT_DEFINED\", \"attackVector\": \"LOCAL\", \"baseSeverity\": \"LOW\", \"valueDensity\": \"NOT_DEFINED\", \"vectorString\": \"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N\", \"providerUrgency\": \"NOT_DEFINED\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"attackRequirements\": \"PRESENT\", \"privilegesRequired\": \"NONE\", \"subIntegrityImpact\": \"NONE\", \"vulnIntegrityImpact\": \"LOW\", \"subAvailabilityImpact\": \"NONE\", \"vulnAvailabilityImpact\": \"NONE\", \"subConfidentialityImpact\": \"NONE\", \"vulnConfidentialityImpact\": \"NONE\", \"vulnerabilityResponseEffort\": \"NOT_DEFINED\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"GENERAL\"}]}], \"affected\": [{\"repo\": \"https://gitweb.git.savannah.gnu.org/gitweb/?p=sed.git\", \"vendor\": \"GNU\", \"product\": \"Sed\", \"versions\": [{\"status\": \"affected\", \"version\": \"4.1e\", \"lessThan\": \"4.10\", \"versionType\": \"custom\"}], \"defaultStatus\": \"unaffected\"}], \"datePublic\": \"2026-04-20T12:03:00.000Z\", \"references\": [{\"url\": \"https://www.gnu.org/software/sed/\", \"tags\": [\"product\"]}, {\"url\": \"https://cert.pl/en/posts/2026/04/CVE-2026-5958\", \"tags\": [\"third-party-advisory\"]}], \"x_generator\": {\"engine\": \"Vulnogram 0.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"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\\u00a0the resolved path for determining when output is written,\\n2. opens the original symlink path\\u00a0(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.\\u00a0This 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.\", \"supportingMedia\": [{\"type\": \"text/html\", \"value\": \"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: \u003cbr\u003e1. resolves symlink to its target and stores\u0026nbsp;the resolved path for determining when output is written,\u003cbr\u003e2. opens the original symlink path\u0026nbsp;(not the resolved one) to read the file. \u003cbr\u003eBetween 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.\u0026nbsp;This can lead to arbitrary file overwrite with attacker-controlled content in the context of the sed process.\u003cbr\u003e\u003cbr\u003e\u003cbr\u003eThis issue was fixed in version 4.10.\", \"base64\": false}]}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-367\", \"description\": \"CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition\"}]}], \"providerMetadata\": {\"orgId\": \"4bb8329e-dd38-46c1-aafb-9bf32bcb93c6\", \"shortName\": \"CERT-PL\", \"dateUpdated\": \"2026-04-20T12:05:22.221Z\"}}}",
"cveMetadata": "{\"cveId\": \"CVE-2026-5958\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-05-13T05:17:46.051Z\", \"dateReserved\": \"2026-04-09T09:42:24.687Z\", \"assignerOrgId\": \"4bb8329e-dd38-46c1-aafb-9bf32bcb93c6\", \"datePublished\": \"2026-04-20T11:59:32.214Z\", \"assignerShortName\": \"CERT-PL\"}",
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
}
}
CERTFR-2026-AVI-0494
Vulnerability from certfr_avis - Published: 2026-04-24 - Updated: 2026-04-24
Une vulnérabilité a été découverte dans les produits Microsoft. Elle permet à un attaquant de provoquer un problème de sécurité non spécifié par l'éditeur.
Solutions
Se référer au bulletin de sécurité de l'éditeur pour l'obtention des correctifs (cf. section Documentation).
| Vendor | Product | Description | ||
|---|---|---|---|---|
| Microsoft | Azure Linux | azl3 sed 4.9-1 versions antérieures à 4.9-2 |
| Title | Publication Time | Tags | |||
|---|---|---|---|---|---|
|
|||||
{
"$ref": "https://www.cert.ssi.gouv.fr/openapi.json",
"affected_systems": [
{
"description": "azl3 sed 4.9-1 versions ant\u00e9rieures \u00e0 4.9-2",
"product": {
"name": "Azure Linux",
"vendor": {
"name": "Microsoft",
"scada": false
}
}
}
],
"affected_systems_content": "",
"content": "## Solutions\n\nSe r\u00e9f\u00e9rer au bulletin de s\u00e9curit\u00e9 de l\u0027\u00e9diteur pour l\u0027obtention des correctifs (cf. section Documentation).",
"cves": [
{
"name": "CVE-2026-5958",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-5958"
}
],
"initial_release_date": "2026-04-24T00:00:00",
"last_revision_date": "2026-04-24T00:00:00",
"links": [],
"reference": "CERTFR-2026-AVI-0494",
"revisions": [
{
"description": "Version initiale",
"revision_date": "2026-04-24T00:00:00.000000"
}
],
"risks": [
{
"description": "Non sp\u00e9cifi\u00e9 par l\u0027\u00e9diteur"
}
],
"summary": "Une vuln\u00e9rabilit\u00e9 a \u00e9t\u00e9 d\u00e9couverte dans les produits Microsoft. Elle permet \u00e0 un attaquant de provoquer un probl\u00e8me de s\u00e9curit\u00e9 non sp\u00e9cifi\u00e9 par l\u0027\u00e9diteur.",
"title": "Vuln\u00e9rabilit\u00e9 dans les produits Microsoft",
"vendor_advisories": [
{
"published_at": "2026-04-22",
"title": "Bulletin de s\u00e9curit\u00e9 Microsoft CVE-2026-5958",
"url": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-5958"
}
]
}
FKIE_CVE-2026-5958
Vulnerability from fkie_nvd - Published: 2026-04-20 12:16 - Updated: 2026-05-19 15:17| Vendor | Product | Version |
|---|
{
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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\u00a0the resolved path for determining when output is written,\n2. opens the original symlink path\u00a0(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.\u00a0This 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."
}
],
"id": "CVE-2026-5958",
"lastModified": "2026-05-19T15:17:37.183",
"metrics": {
"cvssMetricV40": [
{
"cvssData": {
"Automatable": "NOT_DEFINED",
"Recovery": "NOT_DEFINED",
"Safety": "NOT_DEFINED",
"attackComplexity": "LOW",
"attackRequirements": "PRESENT",
"attackVector": "LOCAL",
"availabilityRequirement": "NOT_DEFINED",
"baseScore": 2.1,
"baseSeverity": "LOW",
"confidentialityRequirement": "NOT_DEFINED",
"exploitMaturity": "NOT_DEFINED",
"integrityRequirement": "NOT_DEFINED",
"modifiedAttackComplexity": "NOT_DEFINED",
"modifiedAttackRequirements": "NOT_DEFINED",
"modifiedAttackVector": "NOT_DEFINED",
"modifiedPrivilegesRequired": "NOT_DEFINED",
"modifiedSubAvailabilityImpact": "NOT_DEFINED",
"modifiedSubConfidentialityImpact": "NOT_DEFINED",
"modifiedSubIntegrityImpact": "NOT_DEFINED",
"modifiedUserInteraction": "NOT_DEFINED",
"modifiedVulnAvailabilityImpact": "NOT_DEFINED",
"modifiedVulnConfidentialityImpact": "NOT_DEFINED",
"modifiedVulnIntegrityImpact": "NOT_DEFINED",
"privilegesRequired": "NONE",
"providerUrgency": "NOT_DEFINED",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"userInteraction": "NONE",
"valueDensity": "NOT_DEFINED",
"vectorString": "CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X",
"version": "4.0",
"vulnAvailabilityImpact": "NONE",
"vulnConfidentialityImpact": "NONE",
"vulnIntegrityImpact": "LOW",
"vulnerabilityResponseEffort": "NOT_DEFINED"
},
"source": "cvd@cert.pl",
"type": "Secondary"
}
]
},
"published": "2026-04-20T12:16:08.433",
"references": [
{
"source": "cvd@cert.pl",
"url": "https://cert.pl/en/posts/2026/04/CVE-2026-5958"
},
{
"source": "cvd@cert.pl",
"url": "https://www.gnu.org/software/sed/"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "http://www.openwall.com/lists/oss-security/2026/05/13/1"
}
],
"sourceIdentifier": "cvd@cert.pl",
"vulnStatus": "Deferred",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-367"
}
],
"source": "cvd@cert.pl",
"type": "Secondary"
}
]
}
GHSA-9R7W-J29G-XQX8
Vulnerability from github – Published: 2026-04-20 12:32 – Updated: 2026-05-19 15:31When 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: 1. resolves symlink to its target and stores the resolved path for determining when output is written, 2. opens the original symlink path (not the resolved one) to read the file. Between 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.
This issue was fixed in version 4.10.
{
"affected": [],
"aliases": [
"CVE-2026-5958"
],
"database_specific": {
"cwe_ids": [
"CWE-367"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-04-20T12:16:08Z",
"severity": "LOW"
},
"details": "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\u00a0the resolved path for determining when output is written,\n2. opens the original symlink path\u00a0(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.\u00a0This 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.",
"id": "GHSA-9r7w-j29g-xqx8",
"modified": "2026-05-19T15:31:20Z",
"published": "2026-04-20T12:32:01Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-5958"
},
{
"type": "WEB",
"url": "https://cert.pl/en/posts/2026/04/CVE-2026-5958"
},
{
"type": "WEB",
"url": "https://www.gnu.org/software/sed"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2026/05/13/1"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X",
"type": "CVSS_V4"
}
]
}
MSRC_CVE-2026-5958
Vulnerability from csaf_microsoft - Published: 2026-04-02 00:00 - Updated: 2026-04-29 14:59| Product | Identifier | Version | Remediation |
|---|---|---|---|
| Unresolved product id: 21288-17084 | — | ||
| Unresolved product id: 21228-17084 | — |
| URL | Category |
|---|---|
| https://msrc.microsoft.com/csaf/vex/2026/msrc_cve… | self |
| https://support.microsoft.com/lifecycle | external |
| https://www.first.org/cvss | external |
| https://msrc.microsoft.com/csaf/vex/2026/msrc_cve… | self |
{
"document": {
"category": "csaf_vex",
"csaf_version": "2.0",
"distribution": {
"text": "Public",
"tlp": {
"label": "WHITE",
"url": "https://www.first.org/tlp/"
}
},
"lang": "en-US",
"notes": [
{
"category": "general",
"text": "To determine the support lifecycle for your software, see the Microsoft Support Lifecycle: https://support.microsoft.com/lifecycle",
"title": "Additional Resources"
},
{
"category": "legal_disclaimer",
"text": "The information provided in the Microsoft Knowledge Base is provided \\\"as is\\\" without warranty of any kind. Microsoft disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall Microsoft Corporation or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if Microsoft Corporation or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply.",
"title": "Disclaimer"
}
],
"publisher": {
"category": "vendor",
"contact_details": "secure@microsoft.com",
"name": "Microsoft Security Response Center",
"namespace": "https://msrc.microsoft.com"
},
"references": [
{
"category": "self",
"summary": "CVE-2026-5958 Race Condition in GNU Sed - VEX",
"url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-5958.json"
},
{
"category": "external",
"summary": "Microsoft Support Lifecycle",
"url": "https://support.microsoft.com/lifecycle"
},
{
"category": "external",
"summary": "Common Vulnerability Scoring System",
"url": "https://www.first.org/cvss"
}
],
"title": "Race Condition in GNU Sed",
"tracking": {
"current_release_date": "2026-04-29T14:59:34.000Z",
"generator": {
"date": "2026-04-30T08:42:48.142Z",
"engine": {
"name": "MSRC Generator",
"version": "1.0"
}
},
"id": "msrc_CVE-2026-5958",
"initial_release_date": "2026-04-02T00:00:00.000Z",
"revision_history": [
{
"date": "2026-04-22T01:01:51.000Z",
"legacy_version": "1",
"number": "1",
"summary": "Information published."
},
{
"date": "2026-04-24T01:41:30.000Z",
"legacy_version": "2",
"number": "2",
"summary": "Information published."
},
{
"date": "2026-04-29T14:59:34.000Z",
"legacy_version": "3",
"number": "3",
"summary": "Information published."
}
],
"status": "final",
"version": "3"
}
},
"product_tree": {
"branches": [
{
"branches": [
{
"branches": [
{
"category": "product_version",
"name": "2.0",
"product": {
"name": "CBL Mariner 2.0",
"product_id": "17086"
}
},
{
"category": "product_version",
"name": "3.0",
"product": {
"name": "Azure Linux 3.0",
"product_id": "17084"
}
}
],
"category": "product_name",
"name": "Azure Linux"
},
{
"branches": [
{
"category": "product_version_range",
"name": "cbl2 sed 0:4.8-3.cbl2",
"product": {
"name": "cbl2 sed 0:4.8-3.cbl2",
"product_id": "2"
}
},
{
"category": "product_version_range",
"name": "\u003cazl3 sed 0:4.9-2.azl3",
"product": {
"name": "\u003cazl3 sed 0:4.9-2.azl3",
"product_id": "1"
}
},
{
"category": "product_version",
"name": "azl3 sed 0:4.9-2.azl3",
"product": {
"name": "azl3 sed 0:4.9-2.azl3",
"product_id": "21288"
}
},
{
"category": "product_version_range",
"name": "\u003cazl3 sed 0:4.9-1.azl3",
"product": {
"name": "\u003cazl3 sed 0:4.9-1.azl3",
"product_id": "3"
}
},
{
"category": "product_version",
"name": "azl3 sed 0:4.9-1.azl3",
"product": {
"name": "azl3 sed 0:4.9-1.azl3",
"product_id": "21228"
}
}
],
"category": "product_name",
"name": "sed"
}
],
"category": "vendor",
"name": "Microsoft"
}
],
"relationships": [
{
"category": "default_component_of",
"full_product_name": {
"name": "cbl2 sed 0:4.8-3.cbl2 as a component of CBL Mariner 2.0",
"product_id": "17086-2"
},
"product_reference": "2",
"relates_to_product_reference": "17086"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "\u003cazl3 sed 0:4.9-2.azl3 as a component of Azure Linux 3.0",
"product_id": "17084-1"
},
"product_reference": "1",
"relates_to_product_reference": "17084"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "azl3 sed 0:4.9-2.azl3 as a component of Azure Linux 3.0",
"product_id": "21288-17084"
},
"product_reference": "21288",
"relates_to_product_reference": "17084"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "\u003cazl3 sed 0:4.9-1.azl3 as a component of Azure Linux 3.0",
"product_id": "17084-3"
},
"product_reference": "3",
"relates_to_product_reference": "17084"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "azl3 sed 0:4.9-1.azl3 as a component of Azure Linux 3.0",
"product_id": "21228-17084"
},
"product_reference": "21228",
"relates_to_product_reference": "17084"
}
]
},
"vulnerabilities": [
{
"cve": "CVE-2026-5958",
"cwe": {
"id": "CWE-367",
"name": "Time-of-check Time-of-use (TOCTOU) Race Condition"
},
"notes": [
{
"category": "general",
"text": "CERT-PL",
"title": "Assigning CNA"
}
],
"product_status": {
"fixed": [
"21288-17084",
"21228-17084"
],
"known_affected": [
"17086-2",
"17084-1",
"17084-3"
]
},
"references": [
{
"category": "self",
"summary": "CVE-2026-5958 Race Condition in GNU Sed - VEX",
"url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-5958.json"
}
],
"remediations": [
{
"category": "none_available",
"date": "2026-04-22T01:01:51.000Z",
"details": "There is no fix available for this vulnerability as of now",
"product_ids": [
"17086-2"
]
},
{
"category": "vendor_fix",
"date": "2026-04-22T01:01:51.000Z",
"details": "0:4.9-2.azl3:Security Update:https://learn.microsoft.com/en-us/azure/azure-linux/tutorial-azure-linux-upgrade",
"product_ids": [
"17084-1",
"17084-3"
],
"url": "https://learn.microsoft.com/en-us/azure/azure-linux/tutorial-azure-linux-upgrade"
}
],
"title": "Race Condition in GNU Sed"
}
]
}
OPENSUSE-SU-2026:10649-1
Vulnerability from csaf_opensuse - Published: 2026-04-28 00:00 - Updated: 2026-04-28 00:00| Product | Identifier | Version | Remediation |
|---|---|---|---|
| Unresolved product id: openSUSE Tumbleweed:sed-4.10-1.1.aarch64 | — |
Vendor Fix
|
|
| Unresolved product id: openSUSE Tumbleweed:sed-4.10-1.1.ppc64le | — |
Vendor Fix
|
|
| Unresolved product id: openSUSE Tumbleweed:sed-4.10-1.1.s390x | — |
Vendor Fix
|
|
| Unresolved product id: openSUSE Tumbleweed:sed-4.10-1.1.x86_64 | — |
Vendor Fix
|
|
| Unresolved product id: openSUSE Tumbleweed:sed-lang-4.10-1.1.aarch64 | — |
Vendor Fix
|
|
| Unresolved product id: openSUSE Tumbleweed:sed-lang-4.10-1.1.ppc64le | — |
Vendor Fix
|
|
| Unresolved product id: openSUSE Tumbleweed:sed-lang-4.10-1.1.s390x | — |
Vendor Fix
|
|
| Unresolved product id: openSUSE Tumbleweed:sed-lang-4.10-1.1.x86_64 | — |
Vendor Fix
|
{
"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": "sed-4.10-1.1 on GA media",
"title": "Title of the patch"
},
{
"category": "description",
"text": "These are all security issues fixed in the sed-4.10-1.1 package on the GA media of openSUSE Tumbleweed.",
"title": "Description of the patch"
},
{
"category": "details",
"text": "openSUSE-Tumbleweed-2026-10649",
"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/opensuse-su-2026_10649-1.json"
},
{
"category": "self",
"summary": "SUSE CVE CVE-2026-5958 page",
"url": "https://www.suse.com/security/cve/CVE-2026-5958/"
}
],
"title": "sed-4.10-1.1 on GA media",
"tracking": {
"current_release_date": "2026-04-28T00:00:00Z",
"generator": {
"date": "2026-04-28T00:00:00Z",
"engine": {
"name": "cve-database.git:bin/generate-csaf.pl",
"version": "1"
}
},
"id": "openSUSE-SU-2026:10649-1",
"initial_release_date": "2026-04-28T00:00:00Z",
"revision_history": [
{
"date": "2026-04-28T00:00:00Z",
"number": "1",
"summary": "Current version"
}
],
"status": "final",
"version": "1"
}
},
"product_tree": {
"branches": [
{
"branches": [
{
"branches": [
{
"category": "product_version",
"name": "sed-4.10-1.1.aarch64",
"product": {
"name": "sed-4.10-1.1.aarch64",
"product_id": "sed-4.10-1.1.aarch64"
}
},
{
"category": "product_version",
"name": "sed-lang-4.10-1.1.aarch64",
"product": {
"name": "sed-lang-4.10-1.1.aarch64",
"product_id": "sed-lang-4.10-1.1.aarch64"
}
}
],
"category": "architecture",
"name": "aarch64"
},
{
"branches": [
{
"category": "product_version",
"name": "sed-4.10-1.1.ppc64le",
"product": {
"name": "sed-4.10-1.1.ppc64le",
"product_id": "sed-4.10-1.1.ppc64le"
}
},
{
"category": "product_version",
"name": "sed-lang-4.10-1.1.ppc64le",
"product": {
"name": "sed-lang-4.10-1.1.ppc64le",
"product_id": "sed-lang-4.10-1.1.ppc64le"
}
}
],
"category": "architecture",
"name": "ppc64le"
},
{
"branches": [
{
"category": "product_version",
"name": "sed-4.10-1.1.s390x",
"product": {
"name": "sed-4.10-1.1.s390x",
"product_id": "sed-4.10-1.1.s390x"
}
},
{
"category": "product_version",
"name": "sed-lang-4.10-1.1.s390x",
"product": {
"name": "sed-lang-4.10-1.1.s390x",
"product_id": "sed-lang-4.10-1.1.s390x"
}
}
],
"category": "architecture",
"name": "s390x"
},
{
"branches": [
{
"category": "product_version",
"name": "sed-4.10-1.1.x86_64",
"product": {
"name": "sed-4.10-1.1.x86_64",
"product_id": "sed-4.10-1.1.x86_64"
}
},
{
"category": "product_version",
"name": "sed-lang-4.10-1.1.x86_64",
"product": {
"name": "sed-lang-4.10-1.1.x86_64",
"product_id": "sed-lang-4.10-1.1.x86_64"
}
}
],
"category": "architecture",
"name": "x86_64"
},
{
"branches": [
{
"category": "product_name",
"name": "openSUSE Tumbleweed",
"product": {
"name": "openSUSE Tumbleweed",
"product_id": "openSUSE Tumbleweed",
"product_identification_helper": {
"cpe": "cpe:/o:opensuse:tumbleweed"
}
}
}
],
"category": "product_family",
"name": "SUSE Linux Enterprise"
}
],
"category": "vendor",
"name": "SUSE"
}
],
"relationships": [
{
"category": "default_component_of",
"full_product_name": {
"name": "sed-4.10-1.1.aarch64 as component of openSUSE Tumbleweed",
"product_id": "openSUSE Tumbleweed:sed-4.10-1.1.aarch64"
},
"product_reference": "sed-4.10-1.1.aarch64",
"relates_to_product_reference": "openSUSE Tumbleweed"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "sed-4.10-1.1.ppc64le as component of openSUSE Tumbleweed",
"product_id": "openSUSE Tumbleweed:sed-4.10-1.1.ppc64le"
},
"product_reference": "sed-4.10-1.1.ppc64le",
"relates_to_product_reference": "openSUSE Tumbleweed"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "sed-4.10-1.1.s390x as component of openSUSE Tumbleweed",
"product_id": "openSUSE Tumbleweed:sed-4.10-1.1.s390x"
},
"product_reference": "sed-4.10-1.1.s390x",
"relates_to_product_reference": "openSUSE Tumbleweed"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "sed-4.10-1.1.x86_64 as component of openSUSE Tumbleweed",
"product_id": "openSUSE Tumbleweed:sed-4.10-1.1.x86_64"
},
"product_reference": "sed-4.10-1.1.x86_64",
"relates_to_product_reference": "openSUSE Tumbleweed"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "sed-lang-4.10-1.1.aarch64 as component of openSUSE Tumbleweed",
"product_id": "openSUSE Tumbleweed:sed-lang-4.10-1.1.aarch64"
},
"product_reference": "sed-lang-4.10-1.1.aarch64",
"relates_to_product_reference": "openSUSE Tumbleweed"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "sed-lang-4.10-1.1.ppc64le as component of openSUSE Tumbleweed",
"product_id": "openSUSE Tumbleweed:sed-lang-4.10-1.1.ppc64le"
},
"product_reference": "sed-lang-4.10-1.1.ppc64le",
"relates_to_product_reference": "openSUSE Tumbleweed"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "sed-lang-4.10-1.1.s390x as component of openSUSE Tumbleweed",
"product_id": "openSUSE Tumbleweed:sed-lang-4.10-1.1.s390x"
},
"product_reference": "sed-lang-4.10-1.1.s390x",
"relates_to_product_reference": "openSUSE Tumbleweed"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "sed-lang-4.10-1.1.x86_64 as component of openSUSE Tumbleweed",
"product_id": "openSUSE Tumbleweed:sed-lang-4.10-1.1.x86_64"
},
"product_reference": "sed-lang-4.10-1.1.x86_64",
"relates_to_product_reference": "openSUSE Tumbleweed"
}
]
},
"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": [
"openSUSE Tumbleweed:sed-4.10-1.1.aarch64",
"openSUSE Tumbleweed:sed-4.10-1.1.ppc64le",
"openSUSE Tumbleweed:sed-4.10-1.1.s390x",
"openSUSE Tumbleweed:sed-4.10-1.1.x86_64",
"openSUSE Tumbleweed:sed-lang-4.10-1.1.aarch64",
"openSUSE Tumbleweed:sed-lang-4.10-1.1.ppc64le",
"openSUSE Tumbleweed:sed-lang-4.10-1.1.s390x",
"openSUSE Tumbleweed:sed-lang-4.10-1.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": [
"openSUSE Tumbleweed:sed-4.10-1.1.aarch64",
"openSUSE Tumbleweed:sed-4.10-1.1.ppc64le",
"openSUSE Tumbleweed:sed-4.10-1.1.s390x",
"openSUSE Tumbleweed:sed-4.10-1.1.x86_64",
"openSUSE Tumbleweed:sed-lang-4.10-1.1.aarch64",
"openSUSE Tumbleweed:sed-lang-4.10-1.1.ppc64le",
"openSUSE Tumbleweed:sed-lang-4.10-1.1.s390x",
"openSUSE Tumbleweed:sed-lang-4.10-1.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": [
"openSUSE Tumbleweed:sed-4.10-1.1.aarch64",
"openSUSE Tumbleweed:sed-4.10-1.1.ppc64le",
"openSUSE Tumbleweed:sed-4.10-1.1.s390x",
"openSUSE Tumbleweed:sed-4.10-1.1.x86_64",
"openSUSE Tumbleweed:sed-lang-4.10-1.1.aarch64",
"openSUSE Tumbleweed:sed-lang-4.10-1.1.ppc64le",
"openSUSE Tumbleweed:sed-lang-4.10-1.1.s390x",
"openSUSE Tumbleweed:sed-lang-4.10-1.1.x86_64"
]
}
],
"threats": [
{
"category": "impact",
"date": "2026-04-28T00:00:00Z",
"details": "moderate"
}
],
"title": "CVE-2026-5958"
}
]
}
RHSA-2026:10995
Vulnerability from csaf_redhat - Published: 2026-04-27 17:24 - Updated: 2026-05-28 20:58A Time-of-Check Time-of-Use (TOCTOU) race condition was found in GNU sed. When the -i (in-place) and --follow-symlinks options are used together, sed resolves the symlink but reopens the path for writing. An attacker with write access to the directory containing the symlink can swap it between the check and the open operations. If a privileged user executes sed in this manner on a path influenced by the attacker, it can lead to arbitrary file overwrites and potential privilege escalation.
| Product | Identifier | Version | Remediation |
|---|---|---|---|
| Unresolved product id: Red Hat Hardened Images:sed-main@aarch64 | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: Red Hat Hardened Images:sed-main@src | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: Red Hat Hardened Images:sed-main@x86_64 | — |
Vendor Fix
fix
Workaround
|
{
"document": {
"aggregate_severity": {
"namespace": "https://access.redhat.com/security/updates/classification/",
"text": "Moderate"
},
"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\nsed:\n * sed-4.10-1.hum1 (aarch64, x86_64)\n * sed-4.10-1.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:10995",
"url": "https://access.redhat.com/errata/RHSA-2026:10995"
},
{
"category": "external",
"summary": "https://images.redhat.com/",
"url": "https://images.redhat.com/"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/cve/CVE-2026-5958",
"url": "https://access.redhat.com/security/cve/CVE-2026-5958"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/updates/classification/",
"url": "https://access.redhat.com/security/updates/classification/"
},
{
"category": "self",
"summary": "Canonical URL",
"url": "https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_10995.json"
}
],
"title": "Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update",
"tracking": {
"current_release_date": "2026-05-28T20:58:53+00:00",
"generator": {
"date": "2026-05-28T20:58:53+00:00",
"engine": {
"name": "Red Hat SDEngine",
"version": "4.8.1"
}
},
"id": "RHSA-2026:10995",
"initial_release_date": "2026-04-27T17:24:22+00:00",
"revision_history": [
{
"date": "2026-04-27T17:24:22+00:00",
"number": "1",
"summary": "Initial version"
},
{
"date": "2026-05-28T17:57:04+00:00",
"number": "2",
"summary": "Last updated version"
},
{
"date": "2026-05-28T20:58:53+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": "sed-main@aarch64",
"product": {
"name": "sed-main@aarch64",
"product_id": "sed-main@aarch64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/sed@4.10-1.hum1?arch=aarch64\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-aarch64-rpms"
}
}
}
],
"category": "architecture",
"name": "aarch64"
},
{
"branches": [
{
"category": "product_version",
"name": "sed-main@src",
"product": {
"name": "sed-main@src",
"product_id": "sed-main@src",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/sed@4.10-1.hum1?arch=src\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-source-rpms"
}
}
}
],
"category": "architecture",
"name": "src"
},
{
"branches": [
{
"category": "product_version",
"name": "sed-main@x86_64",
"product": {
"name": "sed-main@x86_64",
"product_id": "sed-main@x86_64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/sed@4.10-1.hum1?arch=x86_64\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-x86_64-rpms"
}
}
}
],
"category": "architecture",
"name": "x86_64"
}
],
"category": "vendor",
"name": "Red Hat"
}
],
"relationships": [
{
"category": "default_component_of",
"full_product_name": {
"name": "sed-main@aarch64 as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:sed-main@aarch64"
},
"product_reference": "sed-main@aarch64",
"relates_to_product_reference": "Red Hat Hardened Images"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "sed-main@src as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:sed-main@src"
},
"product_reference": "sed-main@src",
"relates_to_product_reference": "Red Hat Hardened Images"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "sed-main@x86_64 as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:sed-main@x86_64"
},
"product_reference": "sed-main@x86_64",
"relates_to_product_reference": "Red Hat Hardened Images"
}
]
},
"vulnerabilities": [
{
"cve": "CVE-2026-5958",
"cwe": {
"id": "CWE-367",
"name": "Time-of-check Time-of-use (TOCTOU) Race Condition"
},
"discovery_date": "2026-04-16T15:59:01.238000+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "2458960"
}
],
"notes": [
{
"category": "description",
"text": "A Time-of-Check Time-of-Use (TOCTOU) race condition was found in GNU sed. When the -i (in-place) and --follow-symlinks options are used together, sed resolves the symlink but reopens the path for writing. An attacker with write access to the directory containing the symlink can swap it between the check and the open operations. If a privileged user executes sed in this manner on a path influenced by the attacker, it can lead to arbitrary file overwrites and potential privilege escalation.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "sed: GNU sed TOCTOU race condition",
"title": "Vulnerability summary"
},
{
"category": "other",
"text": "This is a Moderate severity flaw in GNU sed that allows for arbitrary file overwrite. The vulnerability is a Time-of-Check Time-of-Use (TOCTOU) race condition in the `--follow-symlinks` option, enabling an attacker to cause `sed -i --follow-symlinks` to read attacker-controlled content and write it to an unintended file. Exploitation requires a privileged process to execute `sed` on a path that an attacker can influence.",
"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:sed-main@aarch64",
"Red Hat Hardened Images:sed-main@src",
"Red Hat Hardened Images:sed-main@x86_64"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2026-5958"
},
{
"category": "external",
"summary": "RHBZ#2458960",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2458960"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2026-5958",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-5958"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2026-5958",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-5958"
}
],
"release_date": "2026-04-19T00:00:00+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2026-04-27T17:24:22+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:sed-main@aarch64",
"Red Hat Hardened Images:sed-main@src",
"Red Hat Hardened Images:sed-main@x86_64"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2026:10995"
},
{
"category": "workaround",
"details": "To mitigate this vulnerability, avoid using the `sed -i --follow-symlinks` command in privileged contexts or on paths that can be influenced by untrusted users. This flaw specifically affects the `--follow-symlinks` option, which, when used by a privileged process on an attacker-controlled path, can lead to arbitrary file overwrite. Restricting the use of this specific option in sensitive operations can reduce the risk of exploitation.",
"product_ids": [
"Red Hat Hardened Images:sed-main@aarch64",
"Red Hat Hardened Images:sed-main@src",
"Red Hat Hardened Images:sed-main@x86_64"
]
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "HIGH",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 6.3,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "NONE",
"integrityImpact": "HIGH",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H",
"version": "3.1"
},
"products": [
"Red Hat Hardened Images:sed-main@aarch64",
"Red Hat Hardened Images:sed-main@src",
"Red Hat Hardened Images:sed-main@x86_64"
]
}
],
"threats": [
{
"category": "impact",
"details": "Moderate"
}
],
"title": "sed: GNU sed TOCTOU race condition"
}
]
}
SUSE-SU-2026:1659-1
Vulnerability from csaf_suse - Published: 2026-04-29 11:09 - Updated: 2026-04-29 11:09| Product | Identifier | Version | Remediation |
|---|---|---|---|
| Unresolved product id: SUSE Linux Enterprise Micro 5.2:sed-4.4-150300.13.6.1.aarch64 | — |
Vendor Fix
|
|
| Unresolved product id: SUSE Linux Enterprise Micro 5.2:sed-4.4-150300.13.6.1.s390x | — |
Vendor Fix
|
|
| Unresolved product id: SUSE Linux Enterprise Micro 5.2:sed-4.4-150300.13.6.1.x86_64 | — |
Vendor Fix
|
|
| Unresolved product id: SUSE Linux Enterprise Micro 5.3:sed-4.4-150300.13.6.1.aarch64 | — |
Vendor Fix
|
|
| Unresolved product id: SUSE Linux Enterprise Micro 5.3:sed-4.4-150300.13.6.1.s390x | — |
Vendor Fix
|
|
| Unresolved product id: SUSE Linux Enterprise Micro 5.3:sed-4.4-150300.13.6.1.x86_64 | — |
Vendor Fix
|
|
| Unresolved product id: SUSE Linux Enterprise Micro 5.4:sed-4.4-150300.13.6.1.aarch64 | — |
Vendor Fix
|
|
| Unresolved product id: SUSE Linux Enterprise Micro 5.4:sed-4.4-150300.13.6.1.s390x | — |
Vendor Fix
|
|
| Unresolved product id: SUSE Linux Enterprise Micro 5.4:sed-4.4-150300.13.6.1.x86_64 | — |
Vendor Fix
|
|
| Unresolved product id: SUSE Linux Enterprise Micro 5.5:sed-4.4-150300.13.6.1.aarch64 | — |
Vendor Fix
|
|
| Unresolved product id: SUSE Linux Enterprise Micro 5.5:sed-4.4-150300.13.6.1.ppc64le | — |
Vendor Fix
|
|
| Unresolved product id: SUSE Linux Enterprise Micro 5.5:sed-4.4-150300.13.6.1.s390x | — |
Vendor Fix
|
|
| Unresolved product id: SUSE Linux Enterprise Micro 5.5:sed-4.4-150300.13.6.1.x86_64 | — |
Vendor Fix
|
{
"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"
}
]
}
SUSE-SU-2026:1699-1
Vulnerability from csaf_suse - Published: 2026-05-06 07:26 - Updated: 2026-05-06 07:26| Product | Identifier | Version | Remediation |
|---|---|---|---|
| Unresolved product id: SUSE Linux Enterprise Server LTSS Extended Security 12 SP5:sed-4.2.2-7.6.1.x86_64 | — |
Vendor Fix
|
|
| Unresolved product id: SUSE Linux Enterprise Server LTSS Extended Security 12 SP5:sed-lang-4.2.2-7.6.1.noarch | — |
Vendor Fix
|
{
"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 issue:\n\n- CVE-2026-5958: a TOCTOU race can allow to read attacker-controlled content and write it to an unintended file (bsc#1262144).\n",
"title": "Description of the patch"
},
{
"category": "details",
"text": "SUSE-2026-1699,SUSE-SLE-SERVER-12-SP5-LTSS-EXTENDED-SECURITY-2026-1699",
"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_1699-1.json"
},
{
"category": "self",
"summary": "URL for SUSE-SU-2026:1699-1",
"url": "https://www.suse.com/support/update/announcement/2026/suse-su-20261699-1/"
},
{
"category": "self",
"summary": "E-Mail link for SUSE-SU-2026:1699-1",
"url": "https://lists.suse.com/pipermail/sle-updates/2026-May/046213.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-05-06T07:26:44Z",
"generator": {
"date": "2026-05-06T07:26:44Z",
"engine": {
"name": "cve-database.git:bin/generate-csaf.pl",
"version": "1"
}
},
"id": "SUSE-SU-2026:1699-1",
"initial_release_date": "2026-05-06T07:26:44Z",
"revision_history": [
{
"date": "2026-05-06T07:26:44Z",
"number": "1",
"summary": "Current version"
}
],
"status": "final",
"version": "1"
}
},
"product_tree": {
"branches": [
{
"branches": [
{
"branches": [
{
"category": "product_version",
"name": "sed-4.2.2-7.6.1.aarch64",
"product": {
"name": "sed-4.2.2-7.6.1.aarch64",
"product_id": "sed-4.2.2-7.6.1.aarch64"
}
}
],
"category": "architecture",
"name": "aarch64"
},
{
"branches": [
{
"category": "product_version",
"name": "sed-4.2.2-7.6.1.i586",
"product": {
"name": "sed-4.2.2-7.6.1.i586",
"product_id": "sed-4.2.2-7.6.1.i586"
}
}
],
"category": "architecture",
"name": "i586"
},
{
"branches": [
{
"category": "product_version",
"name": "sed-lang-4.2.2-7.6.1.noarch",
"product": {
"name": "sed-lang-4.2.2-7.6.1.noarch",
"product_id": "sed-lang-4.2.2-7.6.1.noarch"
}
}
],
"category": "architecture",
"name": "noarch"
},
{
"branches": [
{
"category": "product_version",
"name": "sed-4.2.2-7.6.1.ppc64le",
"product": {
"name": "sed-4.2.2-7.6.1.ppc64le",
"product_id": "sed-4.2.2-7.6.1.ppc64le"
}
}
],
"category": "architecture",
"name": "ppc64le"
},
{
"branches": [
{
"category": "product_version",
"name": "sed-4.2.2-7.6.1.s390",
"product": {
"name": "sed-4.2.2-7.6.1.s390",
"product_id": "sed-4.2.2-7.6.1.s390"
}
}
],
"category": "architecture",
"name": "s390"
},
{
"branches": [
{
"category": "product_version",
"name": "sed-4.2.2-7.6.1.s390x",
"product": {
"name": "sed-4.2.2-7.6.1.s390x",
"product_id": "sed-4.2.2-7.6.1.s390x"
}
}
],
"category": "architecture",
"name": "s390x"
},
{
"branches": [
{
"category": "product_version",
"name": "sed-4.2.2-7.6.1.x86_64",
"product": {
"name": "sed-4.2.2-7.6.1.x86_64",
"product_id": "sed-4.2.2-7.6.1.x86_64"
}
}
],
"category": "architecture",
"name": "x86_64"
},
{
"branches": [
{
"category": "product_name",
"name": "SUSE Linux Enterprise Server LTSS Extended Security 12 SP5",
"product": {
"name": "SUSE Linux Enterprise Server LTSS Extended Security 12 SP5",
"product_id": "SUSE Linux Enterprise Server LTSS Extended Security 12 SP5",
"product_identification_helper": {
"cpe": "cpe:/o:suse:sles-ltss-extended-security:12:sp5"
}
}
}
],
"category": "product_family",
"name": "SUSE Linux Enterprise"
}
],
"category": "vendor",
"name": "SUSE"
}
],
"relationships": [
{
"category": "default_component_of",
"full_product_name": {
"name": "sed-4.2.2-7.6.1.x86_64 as component of SUSE Linux Enterprise Server LTSS Extended Security 12 SP5",
"product_id": "SUSE Linux Enterprise Server LTSS Extended Security 12 SP5:sed-4.2.2-7.6.1.x86_64"
},
"product_reference": "sed-4.2.2-7.6.1.x86_64",
"relates_to_product_reference": "SUSE Linux Enterprise Server LTSS Extended Security 12 SP5"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "sed-lang-4.2.2-7.6.1.noarch as component of SUSE Linux Enterprise Server LTSS Extended Security 12 SP5",
"product_id": "SUSE Linux Enterprise Server LTSS Extended Security 12 SP5:sed-lang-4.2.2-7.6.1.noarch"
},
"product_reference": "sed-lang-4.2.2-7.6.1.noarch",
"relates_to_product_reference": "SUSE Linux Enterprise Server LTSS Extended Security 12 SP5"
}
]
},
"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 Server LTSS Extended Security 12 SP5:sed-4.2.2-7.6.1.x86_64",
"SUSE Linux Enterprise Server LTSS Extended Security 12 SP5:sed-lang-4.2.2-7.6.1.noarch"
]
},
"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 Server LTSS Extended Security 12 SP5:sed-4.2.2-7.6.1.x86_64",
"SUSE Linux Enterprise Server LTSS Extended Security 12 SP5:sed-lang-4.2.2-7.6.1.noarch"
]
}
],
"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 Server LTSS Extended Security 12 SP5:sed-4.2.2-7.6.1.x86_64",
"SUSE Linux Enterprise Server LTSS Extended Security 12 SP5:sed-lang-4.2.2-7.6.1.noarch"
]
}
],
"threats": [
{
"category": "impact",
"date": "2026-05-06T07:26:44Z",
"details": "moderate"
}
],
"title": "CVE-2026-5958"
}
]
}
SUSE-SU-2026:1941-1
Vulnerability from csaf_suse - Published: 2026-05-18 07:44 - Updated: 2026-05-18 07:44| Product | Identifier | Version | Remediation |
|---|---|---|---|
| Unresolved product id: SUSE Linux Enterprise Module for Basesystem 15 SP7:sed-4.9-150600.3.3.1.aarch64 | — |
Vendor Fix
|
|
| Unresolved product id: SUSE Linux Enterprise Module for Basesystem 15 SP7:sed-4.9-150600.3.3.1.ppc64le | — |
Vendor Fix
|
|
| Unresolved product id: SUSE Linux Enterprise Module for Basesystem 15 SP7:sed-4.9-150600.3.3.1.s390x | — |
Vendor Fix
|
|
| Unresolved product id: SUSE Linux Enterprise Module for Basesystem 15 SP7:sed-4.9-150600.3.3.1.x86_64 | — |
Vendor Fix
|
|
| Unresolved product id: SUSE Linux Enterprise Module for Basesystem 15 SP7:sed-lang-4.9-150600.3.3.1.noarch | — |
Vendor Fix
|
{
"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 issue:\n\n- CVE-2026-5958: a TOCTOU race can allow to read attacker-controlled content and write it to an unintended file (bsc#1262144).\n",
"title": "Description of the patch"
},
{
"category": "details",
"text": "SUSE-2026-1941,SUSE-SLE-Module-Basesystem-15-SP7-2026-1941",
"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_1941-1.json"
},
{
"category": "self",
"summary": "URL for SUSE-SU-2026:1941-1",
"url": "https://www.suse.com/support/update/announcement/2026/suse-su-20261941-1/"
},
{
"category": "self",
"summary": "E-Mail link for SUSE-SU-2026:1941-1",
"url": "https://lists.suse.com/pipermail/sle-updates/2026-May/046542.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-05-18T07:44:38Z",
"generator": {
"date": "2026-05-18T07:44:38Z",
"engine": {
"name": "cve-database.git:bin/generate-csaf.pl",
"version": "1"
}
},
"id": "SUSE-SU-2026:1941-1",
"initial_release_date": "2026-05-18T07:44:38Z",
"revision_history": [
{
"date": "2026-05-18T07:44:38Z",
"number": "1",
"summary": "Current version"
}
],
"status": "final",
"version": "1"
}
},
"product_tree": {
"branches": [
{
"branches": [
{
"branches": [
{
"category": "product_version",
"name": "sed-4.9-150600.3.3.1.aarch64",
"product": {
"name": "sed-4.9-150600.3.3.1.aarch64",
"product_id": "sed-4.9-150600.3.3.1.aarch64"
}
}
],
"category": "architecture",
"name": "aarch64"
},
{
"branches": [
{
"category": "product_version",
"name": "sed-4.9-150600.3.3.1.i586",
"product": {
"name": "sed-4.9-150600.3.3.1.i586",
"product_id": "sed-4.9-150600.3.3.1.i586"
}
}
],
"category": "architecture",
"name": "i586"
},
{
"branches": [
{
"category": "product_version",
"name": "sed-lang-4.9-150600.3.3.1.noarch",
"product": {
"name": "sed-lang-4.9-150600.3.3.1.noarch",
"product_id": "sed-lang-4.9-150600.3.3.1.noarch"
}
}
],
"category": "architecture",
"name": "noarch"
},
{
"branches": [
{
"category": "product_version",
"name": "sed-4.9-150600.3.3.1.ppc64le",
"product": {
"name": "sed-4.9-150600.3.3.1.ppc64le",
"product_id": "sed-4.9-150600.3.3.1.ppc64le"
}
}
],
"category": "architecture",
"name": "ppc64le"
},
{
"branches": [
{
"category": "product_version",
"name": "sed-4.9-150600.3.3.1.s390x",
"product": {
"name": "sed-4.9-150600.3.3.1.s390x",
"product_id": "sed-4.9-150600.3.3.1.s390x"
}
}
],
"category": "architecture",
"name": "s390x"
},
{
"branches": [
{
"category": "product_version",
"name": "sed-4.9-150600.3.3.1.x86_64",
"product": {
"name": "sed-4.9-150600.3.3.1.x86_64",
"product_id": "sed-4.9-150600.3.3.1.x86_64"
}
}
],
"category": "architecture",
"name": "x86_64"
},
{
"branches": [
{
"category": "product_name",
"name": "SUSE Linux Enterprise Module for Basesystem 15 SP7",
"product": {
"name": "SUSE Linux Enterprise Module for Basesystem 15 SP7",
"product_id": "SUSE Linux Enterprise Module for Basesystem 15 SP7",
"product_identification_helper": {
"cpe": "cpe:/o:suse:sle-module-basesystem:15:sp7"
}
}
}
],
"category": "product_family",
"name": "SUSE Linux Enterprise"
}
],
"category": "vendor",
"name": "SUSE"
}
],
"relationships": [
{
"category": "default_component_of",
"full_product_name": {
"name": "sed-4.9-150600.3.3.1.aarch64 as component of SUSE Linux Enterprise Module for Basesystem 15 SP7",
"product_id": "SUSE Linux Enterprise Module for Basesystem 15 SP7:sed-4.9-150600.3.3.1.aarch64"
},
"product_reference": "sed-4.9-150600.3.3.1.aarch64",
"relates_to_product_reference": "SUSE Linux Enterprise Module for Basesystem 15 SP7"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "sed-4.9-150600.3.3.1.ppc64le as component of SUSE Linux Enterprise Module for Basesystem 15 SP7",
"product_id": "SUSE Linux Enterprise Module for Basesystem 15 SP7:sed-4.9-150600.3.3.1.ppc64le"
},
"product_reference": "sed-4.9-150600.3.3.1.ppc64le",
"relates_to_product_reference": "SUSE Linux Enterprise Module for Basesystem 15 SP7"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "sed-4.9-150600.3.3.1.s390x as component of SUSE Linux Enterprise Module for Basesystem 15 SP7",
"product_id": "SUSE Linux Enterprise Module for Basesystem 15 SP7:sed-4.9-150600.3.3.1.s390x"
},
"product_reference": "sed-4.9-150600.3.3.1.s390x",
"relates_to_product_reference": "SUSE Linux Enterprise Module for Basesystem 15 SP7"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "sed-4.9-150600.3.3.1.x86_64 as component of SUSE Linux Enterprise Module for Basesystem 15 SP7",
"product_id": "SUSE Linux Enterprise Module for Basesystem 15 SP7:sed-4.9-150600.3.3.1.x86_64"
},
"product_reference": "sed-4.9-150600.3.3.1.x86_64",
"relates_to_product_reference": "SUSE Linux Enterprise Module for Basesystem 15 SP7"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "sed-lang-4.9-150600.3.3.1.noarch as component of SUSE Linux Enterprise Module for Basesystem 15 SP7",
"product_id": "SUSE Linux Enterprise Module for Basesystem 15 SP7:sed-lang-4.9-150600.3.3.1.noarch"
},
"product_reference": "sed-lang-4.9-150600.3.3.1.noarch",
"relates_to_product_reference": "SUSE Linux Enterprise Module for Basesystem 15 SP7"
}
]
},
"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 Module for Basesystem 15 SP7:sed-4.9-150600.3.3.1.aarch64",
"SUSE Linux Enterprise Module for Basesystem 15 SP7:sed-4.9-150600.3.3.1.ppc64le",
"SUSE Linux Enterprise Module for Basesystem 15 SP7:sed-4.9-150600.3.3.1.s390x",
"SUSE Linux Enterprise Module for Basesystem 15 SP7:sed-4.9-150600.3.3.1.x86_64",
"SUSE Linux Enterprise Module for Basesystem 15 SP7:sed-lang-4.9-150600.3.3.1.noarch"
]
},
"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 Module for Basesystem 15 SP7:sed-4.9-150600.3.3.1.aarch64",
"SUSE Linux Enterprise Module for Basesystem 15 SP7:sed-4.9-150600.3.3.1.ppc64le",
"SUSE Linux Enterprise Module for Basesystem 15 SP7:sed-4.9-150600.3.3.1.s390x",
"SUSE Linux Enterprise Module for Basesystem 15 SP7:sed-4.9-150600.3.3.1.x86_64",
"SUSE Linux Enterprise Module for Basesystem 15 SP7:sed-lang-4.9-150600.3.3.1.noarch"
]
}
],
"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 Module for Basesystem 15 SP7:sed-4.9-150600.3.3.1.aarch64",
"SUSE Linux Enterprise Module for Basesystem 15 SP7:sed-4.9-150600.3.3.1.ppc64le",
"SUSE Linux Enterprise Module for Basesystem 15 SP7:sed-4.9-150600.3.3.1.s390x",
"SUSE Linux Enterprise Module for Basesystem 15 SP7:sed-4.9-150600.3.3.1.x86_64",
"SUSE Linux Enterprise Module for Basesystem 15 SP7:sed-lang-4.9-150600.3.3.1.noarch"
]
}
],
"threats": [
{
"category": "impact",
"date": "2026-05-18T07:44:38Z",
"details": "moderate"
}
],
"title": "CVE-2026-5958"
}
]
}
SUSE-SU-2026:21413-1
Vulnerability from csaf_suse - Published: 2026-04-27 17:25 - Updated: 2026-04-27 17:25| Product | Identifier | Version | Remediation |
|---|---|---|---|
| Unresolved product id: SUSE Linux Micro 6.0:sed-4.9-3.1.aarch64 | — |
Vendor Fix
|
|
| Unresolved product id: SUSE Linux Micro 6.0:sed-4.9-3.1.s390x | — |
Vendor Fix
|
|
| Unresolved product id: SUSE Linux Micro 6.0:sed-4.9-3.1.x86_64 | — |
Vendor Fix
|
{
"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 issue:\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-SLE-Micro-6.0-688",
"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_21413-1.json"
},
{
"category": "self",
"summary": "URL for SUSE-SU-2026:21413-1",
"url": "https://www.suse.com/support/update/announcement/2026/suse-su-202621413-1/"
},
{
"category": "self",
"summary": "E-Mail link for SUSE-SU-2026:21413-1",
"url": "https://lists.suse.com/pipermail/sle-updates/2026-April/046123.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-27T17:25:16Z",
"generator": {
"date": "2026-04-27T17:25:16Z",
"engine": {
"name": "cve-database.git:bin/generate-csaf.pl",
"version": "1"
}
},
"id": "SUSE-SU-2026:21413-1",
"initial_release_date": "2026-04-27T17:25:16Z",
"revision_history": [
{
"date": "2026-04-27T17:25:16Z",
"number": "1",
"summary": "Current version"
}
],
"status": "final",
"version": "1"
}
},
"product_tree": {
"branches": [
{
"branches": [
{
"branches": [
{
"category": "product_version",
"name": "sed-4.9-3.1.aarch64",
"product": {
"name": "sed-4.9-3.1.aarch64",
"product_id": "sed-4.9-3.1.aarch64"
}
}
],
"category": "architecture",
"name": "aarch64"
},
{
"branches": [
{
"category": "product_version",
"name": "sed-4.9-3.1.s390x",
"product": {
"name": "sed-4.9-3.1.s390x",
"product_id": "sed-4.9-3.1.s390x"
}
}
],
"category": "architecture",
"name": "s390x"
},
{
"branches": [
{
"category": "product_version",
"name": "sed-4.9-3.1.x86_64",
"product": {
"name": "sed-4.9-3.1.x86_64",
"product_id": "sed-4.9-3.1.x86_64"
}
}
],
"category": "architecture",
"name": "x86_64"
},
{
"branches": [
{
"category": "product_name",
"name": "SUSE Linux Micro 6.0",
"product": {
"name": "SUSE Linux Micro 6.0",
"product_id": "SUSE Linux Micro 6.0",
"product_identification_helper": {
"cpe": "cpe:/o:suse:sl-micro:6.0"
}
}
}
],
"category": "product_family",
"name": "SUSE Linux Enterprise"
}
],
"category": "vendor",
"name": "SUSE"
}
],
"relationships": [
{
"category": "default_component_of",
"full_product_name": {
"name": "sed-4.9-3.1.aarch64 as component of SUSE Linux Micro 6.0",
"product_id": "SUSE Linux Micro 6.0:sed-4.9-3.1.aarch64"
},
"product_reference": "sed-4.9-3.1.aarch64",
"relates_to_product_reference": "SUSE Linux Micro 6.0"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "sed-4.9-3.1.s390x as component of SUSE Linux Micro 6.0",
"product_id": "SUSE Linux Micro 6.0:sed-4.9-3.1.s390x"
},
"product_reference": "sed-4.9-3.1.s390x",
"relates_to_product_reference": "SUSE Linux Micro 6.0"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "sed-4.9-3.1.x86_64 as component of SUSE Linux Micro 6.0",
"product_id": "SUSE Linux Micro 6.0:sed-4.9-3.1.x86_64"
},
"product_reference": "sed-4.9-3.1.x86_64",
"relates_to_product_reference": "SUSE Linux Micro 6.0"
}
]
},
"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 Micro 6.0:sed-4.9-3.1.aarch64",
"SUSE Linux Micro 6.0:sed-4.9-3.1.s390x",
"SUSE Linux Micro 6.0:sed-4.9-3.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 Micro 6.0:sed-4.9-3.1.aarch64",
"SUSE Linux Micro 6.0:sed-4.9-3.1.s390x",
"SUSE Linux Micro 6.0:sed-4.9-3.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 Micro 6.0:sed-4.9-3.1.aarch64",
"SUSE Linux Micro 6.0:sed-4.9-3.1.s390x",
"SUSE Linux Micro 6.0:sed-4.9-3.1.x86_64"
]
}
],
"threats": [
{
"category": "impact",
"date": "2026-04-27T17:25:16Z",
"details": "moderate"
}
],
"title": "CVE-2026-5958"
}
]
}
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.