{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/62710?format=json","vulnerability_id":"VCID-nchf-yx62-67f1","summary":"sed: GNU sed TOCTOU race condition","aliases":[{"alias":"CVE-2026-5958"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/509896?format=json","purl":"pkg:deb/debian/sed@4.9-1%2Bdeb12u1","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/sed@4.9-1%252Bdeb12u1"},{"url":"http://public2.vulnerablecode.io/api/packages/128695?format=json","purl":"pkg:deb/debian/sed@4.9-1%2Bdeb12u1?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/sed@4.9-1%252Bdeb12u1%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/128697?format=json","purl":"pkg:deb/debian/sed@4.9-2%2Bdeb13u1?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/sed@4.9-2%252Bdeb13u1%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/128696?format=json","purl":"pkg:deb/debian/sed@4.9-3?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/sed@4.9-3%3Fdistro=trixie"}],"affected_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/128694?format=json","purl":"pkg:deb/debian/sed@4.7-1?distro=trixie","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-nchf-yx62-67f1"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/sed@4.7-1%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/509895?format=json","purl":"pkg:deb/debian/sed@4.7-1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-nchf-yx62-67f1"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/sed@4.7-1"},{"url":"http://public2.vulnerablecode.io/api/packages/90152?format=json","purl":"pkg:rpm/redhat/sed-main@4.10-1?arch=hum1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-nchf-yx62-67f1"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/sed-main@4.10-1%3Farch=hum1"}],"references":[{"reference_url":"https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2026-5958.json","reference_id":"","reference_type":"","scores":[{"value":"6.3","scoring_system":"cvssv3","scoring_elements":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H"}],"url":"https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2026-5958.json"},{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2026-5958","reference_id":"","reference_type":"","scores":[{"value":"6e-05","scoring_system":"epss","scoring_elements":"0.00336","published_at":"2026-06-09T12:55:00Z"},{"value":"6e-05","scoring_system":"epss","scoring_elements":"0.00342","published_at":"2026-06-05T12:55:00Z"},{"value":"6e-05","scoring_system":"epss","scoring_elements":"0.00344","published_at":"2026-06-06T12:55:00Z"},{"value":"6e-05","scoring_system":"epss","scoring_elements":"0.00337","published_at":"2026-06-07T12:55:00Z"},{"value":"6e-05","scoring_system":"epss","scoring_elements":"0.00335","published_at":"2026-06-08T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2026-5958"},{"reference_url":"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-5958","reference_id":"","reference_type":"","scores":[],"url":"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-5958"},{"reference_url":"https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml","reference_id":"","reference_type":"","scores":[{"value":"6.9","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N"}],"url":"https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"},{"reference_url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1134495","reference_id":"1134495","reference_type":"","scores":[],"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1134495"},{"reference_url":"https://bugzilla.redhat.com/show_bug.cgi?id=2458960","reference_id":"2458960","reference_type":"","scores":[],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2458960"},{"reference_url":"https://cert.pl/en/posts/2026/04/CVE-2026-5958","reference_id":"CVE-2026-5958","reference_type":"","scores":[{"value":"2.1","scoring_system":"cvssv4","scoring_elements":"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"},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2026-04-20T13:25:51Z/"}],"url":"https://cert.pl/en/posts/2026/04/CVE-2026-5958"},{"reference_url":"https://access.redhat.com/errata/RHSA-2026:10995","reference_id":"RHSA-2026:10995","reference_type":"","scores":[],"url":"https://access.redhat.com/errata/RHSA-2026:10995"},{"reference_url":"https://www.gnu.org/software/sed/","reference_id":"sed","reference_type":"","scores":[{"value":"2.1","scoring_system":"cvssv4","scoring_elements":"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"},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2026-04-20T13:25:51Z/"}],"url":"https://www.gnu.org/software/sed/"},{"reference_url":"https://usn.ubuntu.com/8229-1/","reference_id":"USN-8229-1","reference_type":"","scores":[],"url":"https://usn.ubuntu.com/8229-1/"},{"reference_url":"https://usn.ubuntu.com/8229-2/","reference_id":"USN-8229-2","reference_type":"","scores":[],"url":"https://usn.ubuntu.com/8229-2/"}],"weaknesses":[{"cwe_id":367,"name":"Time-of-check Time-of-use (TOCTOU) Race Condition","description":"The product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check. This can cause the product to perform invalid actions when the resource is in an unexpected state."}],"exploits":[],"severity_range_score":"2.1 - 6.9","exploitability":"0.5","weighted_severity":"5.7","risk_score":2.9,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-nchf-yx62-67f1"}