
CVE catalog
CVE-2025-22873
golang-1.19: CVE-2025-22873
- Severity
- Medium · CVSS 5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.24% · Oct 25, 2026
It was possible to improperly access the parent directory of an os.Root by opening a filename ending in "../". For example, Root.Open("../") would open the parent directory of the Root. This escape only permits opening the parent directory itself, not ancestors of the parent or files contained within the parent.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | golang-1.19 | bookworm | 1.19.8-2 | not affected |
| Ubuntu | golang-1.24 | 22.04 | 1.24.4-1ubuntu1~22.04.1 | vulnerable |
| Ubuntu | golang-1.24 | 22.04 | 1.24.4-1ubuntu1~22.04.2 | vulnerable |
| Ubuntu | golang-1.24 | 22.04 | 1.24.13-2~22.04.1 | vulnerable |
| Ubuntu | golang-1.24 | 22.04 | 1.24.13-2~22.04.2 | vulnerable |
| Ubuntu | golang-1.24 | 24.04 | 1.24.4-1ubuntu1~24.04.1 | vulnerable |
| Ubuntu | golang-1.24 | 24.04 | 1.24.4-1ubuntu1~24.04.2 | vulnerable |
| Ubuntu | golang-1.24 | 24.04 | 1.24.13-2~24.04.1 | vulnerable |
| Ubuntu | golang-1.24 | 25.10 | 1.24.2-1 | vulnerable |
| Ubuntu | golang-1.24 | 25.10 | 1.24.2-2 | vulnerable |
| Ubuntu | golang-1.24 | 25.10 | 1.24.4-1 | vulnerable |
| Ubuntu | golang-1.24 | 25.10 | 1.24.4-1ubuntu1 | vulnerable |
| Ubuntu | golang-1.24 | 26.04 | 1.24.4-1ubuntu1 | vulnerable |
| Ubuntu | golang-1.24 | 26.04 | 1.24.9-1 | vulnerable |
| Ubuntu | golang-1.24 | 26.04 | 1.24.13-2 | vulnerable |
| Opensuse | go1.24 | tumbleweed | 1.24.3-1.1 | fixed |
| Opensuse | govulncheck-vulndb | leap 15.6 | 0.0.20260205T172317-150000.1.146.1 | fixed |
| Suse | go1.24 | linux enterprise module for development tools 15 sp7 | 1.24.3-150000.1.23.1 | fixed |
| Suse | go1.24 | linux enterprise module for development tools 15 sp6 | 1.24.3-150000.1.23.1 | fixed |
| Suse | go1.24 | linux enterprise high performance computing 15 sp3-ltss | 1.24.3-150000.1.23.1 | fixed |
| Suse | go1.24 | linux enterprise high performance computing 15 sp4-espos | 1.24.3-150000.1.23.1 | fixed |
| Suse | go1.24 | linux enterprise high performance computing 15 sp4-ltss | 1.24.3-150000.1.23.1 | fixed |
| Suse | go1.24 | linux enterprise high performance computing 15 sp5-espos | 1.24.3-150000.1.23.1 | fixed |
| Suse | go1.24 | linux enterprise high performance computing 15 sp5-ltss | 1.24.3-150000.1.23.1 | fixed |
| Suse | go1.24 | linux enterprise server 15 sp3-ltss | 1.24.3-150000.1.23.1 | fixed |
| Suse | go1.24 | linux enterprise server 15 sp4-ltss | 1.24.3-150000.1.23.1 | fixed |
| Suse | go1.24 | linux enterprise server 15 sp5-ltss | 1.24.3-150000.1.23.1 | fixed |
| Suse | go1.24 | linux enterprise server for sap applications 15 sp3 | 1.24.3-150000.1.23.1 | fixed |
| Suse | go1.24 | linux enterprise server for sap applications 15 sp4 | 1.24.3-150000.1.23.1 | fixed |
| Suse | go1.24 | linux enterprise server for sap applications 15 sp5 | 1.24.3-150000.1.23.1 | fixed |
| Suse | go1.24 | enterprise storage 7.1 | 1.24.3-150000.1.23.1 | fixed |
| Opensuse | go1.24 | leap 15.6 | 1.24.3-150000.1.23.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | golang-1.19 | source | bookworm | Not affected | unimportant | Not reported | Not reported |
| Opensuse | go1.24 | rpm | tumbleweed | 1.24.3-1.1 | Not reported | OPENSUSE-SU-2025:15058-1 | Not reported |
| Opensuse | govulncheck-vulndb | rpm | leap 15.6 | 0.0.20260205T172317-150000.1.146.1 | Not reported | SUSE-SU-2026:0403-1 | Not reported |
| Suse | go1.24 | rpm | linux enterprise module for development tools 15 sp7 | 1.24.3-150000.1.23.1 | Not reported | SUSE-SU-2025:01551-1 | Not reported |
| Suse | go1.24 | rpm | linux enterprise module for development tools 15 sp6 | 1.24.3-150000.1.23.1 | Not reported | SUSE-SU-2025:1551-1 | Not reported |
| Suse | go1.24 | rpm | linux enterprise high performance computing 15 sp3-ltss | 1.24.3-150000.1.23.1 | Not reported | SUSE-SU-2025:1551-1 | Not reported |
| Suse | go1.24 | rpm | linux enterprise high performance computing 15 sp4-espos | 1.24.3-150000.1.23.1 | Not reported | SUSE-SU-2025:1551-1 | Not reported |
| Suse | go1.24 | rpm | linux enterprise high performance computing 15 sp4-ltss | 1.24.3-150000.1.23.1 | Not reported | SUSE-SU-2025:1551-1 | Not reported |
| Suse | go1.24 | rpm | linux enterprise high performance computing 15 sp5-espos | 1.24.3-150000.1.23.1 | Not reported | SUSE-SU-2025:1551-1 | Not reported |
| Suse | go1.24 | rpm | linux enterprise high performance computing 15 sp5-ltss | 1.24.3-150000.1.23.1 | Not reported | SUSE-SU-2025:1551-1 | Not reported |
| Suse | go1.24 | rpm | linux enterprise server 15 sp3-ltss | 1.24.3-150000.1.23.1 | Not reported | SUSE-SU-2025:1551-1 | Not reported |
| Suse | go1.24 | rpm | linux enterprise server 15 sp4-ltss | 1.24.3-150000.1.23.1 | Not reported | SUSE-SU-2025:1551-1 | Not reported |
| Suse | go1.24 | rpm | linux enterprise server 15 sp5-ltss | 1.24.3-150000.1.23.1 | Not reported | SUSE-SU-2025:1551-1 | Not reported |
| Suse | go1.24 | rpm | linux enterprise server for sap applications 15 sp3 | 1.24.3-150000.1.23.1 | Not reported | SUSE-SU-2025:1551-1 | Not reported |
| Suse | go1.24 | rpm | linux enterprise server for sap applications 15 sp4 | 1.24.3-150000.1.23.1 | Not reported | SUSE-SU-2025:1551-1 | Not reported |
| Suse | go1.24 | rpm | linux enterprise server for sap applications 15 sp5 | 1.24.3-150000.1.23.1 | Not reported | SUSE-SU-2025:1551-1 | Not reported |
| Suse | go1.24 | rpm | enterprise storage 7.1 | 1.24.3-150000.1.23.1 | Not reported | SUSE-SU-2025:1551-1 | Not reported |
| Opensuse | go1.24 | rpm | leap 15.6 | 1.24.3-150000.1.23.1 | Not reported | SUSE-SU-2025:1551-1 | Not reported |
OpenFactory catalog packages
[openSUSE Tumbleweed]
- [go1.24-doc]Unknown
Source package: [go1.24]
Details (1)
1.24.13-5.2· x86_64 · tumbleweedUnknown · Fixed:
1.24.3-1.1Version impact unknown
dsa · go1.24 · opensuse · tumbleweed
- [go1.24-race]Unknown
Source package: [go1.24]
Details (1)
1.24.13-5.2· x86_64 · tumbleweedUnknown · Fixed:
1.24.3-1.1Version impact unknown
dsa · go1.24 · opensuse · tumbleweed
- [go1.24]Fixed
Source package: [go1.24]
Details (1)
1.24.13-5.2· x86_64 · tumbleweedFixed · Fixed:
1.24.3-1.1dsa · go1.24 · opensuse · tumbleweed
[Debian 12 (Bookworm)]
- [golang-1.19]Not affected
Details (2)
1.19.8-2· all · bookwormNot affected
dsa · golang-1.19 · debian · bookworm
1.19.8-2· all · bookwormNot affected
dsa · golang-1.19 · debian · bookworm
- [golang-1.19-doc]Not affected
Source package: [golang-1.19]
Details (2)
1.19.8-2· all · bookwormNot affected
dsa · golang-1.19 · debian · bookworm
1.19.8-2· all · bookwormNot affected
dsa · golang-1.19 · debian · bookworm
- [golang-1.19-go]Not affected
Source package: [golang-1.19]
Details (2)
1.19.8-2· amd64 · bookwormNot affected
dsa · golang-1.19 · debian · bookworm
1.19.8-2· arm64 · bookwormNot affected
dsa · golang-1.19 · debian · bookworm
- [golang-1.19-src]Not affected
Source package: [golang-1.19]
Details (2)
1.19.8-2· all · bookwormNot affected
dsa · golang-1.19 · debian · bookworm
1.19.8-2· all · bookwormNot affected
dsa · golang-1.19 · debian · bookworm
[Debian 13 (Trixie)]
- [golang-1.24]Fixed
Details (2)
1.24.4-1· all · trixieFixed · Fixed:
1.24.4-1dsa · golang-1.24 · debian · 13
1.24.4-1· all · trixieFixed · Fixed:
1.24.4-1dsa · golang-1.24 · debian · 13
- [golang-1.24-doc]Fixed
Source package: [golang-1.24]
Details (2)
1.24.4-1· all · trixieFixed · Fixed:
1.24.4-1dsa · golang-1.24 · debian · 13
1.24.4-1· all · trixieFixed · Fixed:
1.24.4-1dsa · golang-1.24 · debian · 13
- [golang-1.24-go]Fixed
Source package: [golang-1.24]
Details (2)
1.24.4-1· amd64 · trixieFixed · Fixed:
1.24.4-1dsa · golang-1.24 · debian · 13
1.24.4-1· arm64 · trixieFixed · Fixed:
1.24.4-1dsa · golang-1.24 · debian · 13
- [golang-1.24-src]Fixed
Source package: [golang-1.24]
Details (2)
1.24.4-1· all · trixieFixed · Fixed:
1.24.4-1dsa · golang-1.24 · debian · 13
1.24.4-1· all · trixieFixed · Fixed:
1.24.4-1dsa · golang-1.24 · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2025_01551-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2025-22873]
- [https://osv.dev/vulnerability/SUSE-SU-2025:01551-1]
- [https://osv.dev/vulnerability/SUSE-SU-2025:1551-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:0403-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2025-22873]
- [https://osv.dev/vulnerability/openSUSE-SU-2025:15058-1]
- [https://security-tracker.debian.org/tracker/CVE-2025-22873]
- [https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-22873.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2025/wid-sec-w-2025-0953.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]