Approved changes feed: RSS · Atom

cpe:2.3:a:gnu:sed:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorGnu (575dd98a-a14a-5d9e-a2eb-97d38d86fcb9)
ProductSed (59e6f64f-ef40-5f42-affd-8bafd026d9d9)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*
NotesImported from purl2cpe mapping

PURL mappings

PURLSourceLast updated
pkg:deb/debian/sed purl2cpe 2026-06-01 10:11:55.060405
pkg:deb/ubuntu/sed purl2cpe 2026-06-01 10:11:55.060409
pkg:github/madnight/sed purl2cpe 2026-06-01 10:11:55.060412
pkg:github/mirror/sed purl2cpe 2026-06-01 10:11:55.060414
pkg:github/val-verde/sed purl2cpe 2026-06-01 10:11:55.060417
pkg:gitlab/redhat/sed purl2cpe 2026-06-01 10:11:55.060420
pkg:gnu/sed purl2cpe 2026-06-01 10:11:55.060422
pkg:rpm/centos/sed purl2cpe 2026-06-01 10:11:55.060425
pkg:rpm/fedora/sed purl2cpe 2026-06-01 10:11:55.060428
pkg:rpm/opensuse/sed purl2cpe 2026-06-01 10:11:55.060430

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-5958 vulnerable 2026-06-08 08:07:04.298763 Race Condition in GNU Sed
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: 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.
Published: 2026-04-20T11:59:32.214Z
Updated: 2026-05-13T05:17:46.051Z
Reference links
Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.