bash: Stack-based buffer overflow (crash) when expanding /dev/fd file names
Published Aug 27, 2012
4.6
MEDIUMCVSS 2.0
EPSS 0.41%
Description
Stack-based buffer overflow in lib/sh/eaccess.c in GNU Bash before 4.2 patch 33 might allow local users to bypass intended restricted shell access via a long filename in /dev/fd, which is not properly handled when expanding the /dev/fd prefix.
Affected products
Remediation
Red Hat statement
Red Hat does not consider this do be a security issue. The affected code is present in Red Hat Enterprise Linux 5 and 6, but due to use of FORTIFY_SOURCE protections the impact would be limited to a crash. Therefore, there are no plans to correct this issue in Red Hat Enterprise Linux 5 and 6.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:L/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (9 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.41% (0.00413) | 33.13th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.41% (0.00413) | 32.67th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.06% (0.00064) | 17.25th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.04% (0.00042) | 5.07th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.04% (0.00042) | 5.63th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.28% (0.01282) | 68.34th | v2 (v2022.01.01) |
| Feb 22, 2023 | 1.28% (0.01282) | 68.05th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.28% (0.01282) | 65.91th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.28% (0.01282) | 41.72th | v2 (v2022.01.01) |
References (15)
- ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-033 x_refsource_CONFIRMPatch
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=681278 x_refsource_MISCPatch
- http://secunia.com/advisories/51086 third-party-advisoryx_refsource_SECUNIA
- http://security.gentoo.org/glsa/glsa-201210-05.xml vendor-advisoryx_refsource_GENTOO
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:128 vendor-advisoryx_refsource_MANDRIVA
- http://www.openwall.com/lists/oss-security/2012/07/11/11 mailing-listx_refsource_MLIST
- http://www.openwall.com/lists/oss-security/2012/07/11/22 mailing-listx_refsource_MLIST
- http://www.openwall.com/lists/oss-security/2012/07/12/4 mailing-listx_refsource_MLIST
- http://www.securityfocus.com/bid/54937 vdb-entryx_refsource_BID
- https://access.redhat.com/security/cve/CVE-2012-3410 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=840091 Issue Tracking
- https://exchange.xforce.ibmcloud.com/vulnerabilities/77551 vdb-entryx_refsource_XF
- https://hermes.opensuse.org/messages/15227834 vendor-advisoryx_refsource_SUSE
- https://nvd.nist.gov/vuln/detail/CVE-2012-3410
- https://www.cve.org/CVERecord?id=CVE-2012-3410
Change history (0)
No recorded changes yet.