Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2026-5958

16
FAUCET Score

OVERVIEW CVE-2026-5958 is a race condition vulnerability in GNU sed that occurs when the utility is invoked with both the -i (in-place edit) and --follow-symlinks options enabled. The flaw stems from a non-atomic sequence of operations where sed resolves a symlink to its target, then separately opens the original symlink path. An attacker exploiting this race condition can atomically replace the symlink with a different target between these operations, causing sed to read content from an attacker-controlled source while writing the processed output to an unintended location. The vulnerability affects sed versions prior to 4.10. SEVERITY The attack requires local access and precise timing to exploit the race window between the two filesystem operations, making it moderately complex to execute reliably. The attack vector is local only, and the attacker must have the ability to manipulate symlinks on the target system. The potential impact is significant: an attacker can overwrite arbitrary files with attacker-controlled content in the context of the sed process, potentially achieving privilege escalation or system compromise depending on file permissions and sed's execution context. EXPLOITATION STATUS There is no indication of active exploitation in the wild, as the vulnerability is not listed on the CISA Known Exploited Vulnerabilities catalog. No public exploit code has been reported or widely distributed. Community attention appears minimal, reflected in the low EPSS score of 0.000040 and FAUCET risk score of 24.0 out of 100. Users running sed version 4.10 or later are protected from this vulnerability.

Impacted Technologies

VendorProductVersion(s)CPE
>= 4.1e, < 4.10CPE match
cpe:2.3:a:gnu:sed:*:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 4.0

2.1LOW

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

Attack Vector
LOCAL
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
NONE
VS Confidentiality
NONE
VS Integrity
LOW
VS Availability
NONE
SS Confidentiality
NONE
SS Integrity
NONE
SS Availability
NONE
Exploit Maturity
NOT_DEFINED
CvssVersion
4.0

Exploit Intelligence

EPSS Score
0.14%
Probability of exploitation in next 30 days
EPSS Percentile
3.9%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0014 is in the 0th percentile among its peer group of 2,096 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.0 Bluesky, 0.0 Mastodon, and 0.6 GitHub mentions.

Media Mentions

The average CVE in this peer group has 0.0 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (10)

microsoftpatch availablevia msrc
Product: azl3 sed 4.9-2 on Azure Linux 3.0Fixed in: 4.9-2
microsoftpatch availablevia msrc
Product: azl3 sed 4.9-1 on Azure Linux 3.0Fixed in: 4.9-2
microsoftpatch availablevia msrc
Product: 21288-17084Fixed in: 4.9-2
microsoftpatch availablevia msrc
Product: 21228-17084Fixed in: 4.9-2
ubuntupatch availablevia ubuntu_usn
Product: sed (jammy)Fixed in: 4.8-1ubuntu2.1
ubuntupatch availablevia ubuntu_usn
Product: sed (noble)Fixed in: 4.9-2ubuntu0.24.04.1
ubuntupatch availablevia ubuntu_usn
Product: sed (questing)Fixed in: 4.9-2ubuntu0.25.10.1
ubuntupatch availablevia ubuntu_usn
Product: sed (resolute)Fixed in: 4.9-2ubuntu1
ubuntupatch availablevia ubuntu_usn
Product: sed (bionic)Fixed in: 4.4-2ubuntu0.1~esm1
ubuntupatch availablevia ubuntu_usn
Product: sed (focal)Fixed in: 4.7-1ubuntu0.1~esm1

Vendor Advisories (3)

ubuntuUSN-8229-2

sed vulnerability

May 28, 2026
ubuntuUSN-8229-1

sed vulnerability

May 4, 2026
microsoft2026-Apr/CVE-2026-5958Low

Race Condition in GNU Sed

Apr 14, 2026

References

openwall.com / lists/oss-security/2026/05/13/1
cert.pl / en/posts/2026/04/CVE-2026-5958
gnu.org / software/sed