Critical Vulnerability in sed Package: CVE-2026-5958

sed Updated 22 Oct 2026

Summary

20/04/2026
N/A
No i
Unrated
Not published

DEBIAN-CVE-2026-5958: ... Affects sed versions 4.7-1 – 4.9-2. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The sed package, a stream editor for filtering and transforming text, is widely used in Unix-like operating systems. It allows users to perform basic text transformations on an input stream (a file or input from a pipeline). The sed package is integral to many scripts and applications, making its security paramount. This vulnerability affects multiple Debian versions, highlighting the need for prompt attention to maintain system integrity.

Vulnerability Detail

CVE-2026-5958 is a critical vulnerability found in the sed package that could potentially allow an attacker to execute arbitrary code or cause a denial of service. The vulnerability originates from improper handling of certain input, which can be exploited by crafting malicious input files. If successfully exploited, this could lead to severe ramifications, including unauthorized access to system resources and data corruption.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, users can avoid processing untrusted input files with sed until the package is updated. Additionally, consider using alternative text processing tools that do not exhibit this vulnerability.

Conclusion

The CVE-2026-5958 vulnerability in the sed package poses significant risks to systems running affected Debian versions. Immediate action is recommended to update the package and mitigate potential threats. Utilizing tools like Vulert can further enhance your security posture by providing real-time vulnerability monitoring.

See every vulnerability recorded for sed →

Share this vulnerability

FAQ

CVE-2026-5958 is a vulnerability in the sed package that could allow attackers to execute arbitrary code or cause a denial of service.

Debian versions 11, 12, 13, and 14 are affected by this vulnerability in the sed package.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities. Visit Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

If an immediate update is not possible, refrain from processing untrusted input files with sed and consider using alternative tools.

Vulert uses a manifest file like package-lock.json to monitor and alert in real-time for open-source vulnerabilities in your software, ensuring you stay informed about potential risks.

Related vulnerabilities

Recent vulnerabilities recorded for sed.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback