← Vulnerability feed

Vulnerability record · CVE-2012-3410 · published 27 August 2012

CVE-2012-3410: Gnu bash memory buffer overflow vulnerability

Gnu · Bash

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.

4.6 CVSS 2.0 Medium EPSS 0.41% · top 67.0% CWE-119 · Memory buffer overflow
4.6CVSS 2.0 base score
0.41%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
22References
16 Jun 2026Last modified by NVD

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.

AV:L/AC:L/Au:N/C:P/I:P/A:P

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2012-3410 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2014-7169GNU Bash environment variable function parsing command injection (Shellshock variant)GNU Bash through 4.3 bash43-025 processes trailing strings after malformed function definitions in environment variable values, allowing command inje…KEVEPSS 100%analysed9.8CVE-2014-6271GNU Bash environment variable command injection (ShellShock)GNU Bash through 4.3 processes trailing strings after function definitions in environment variable values, allowing injected commands to run when Bas…KEVEPSS 100%analysed8.8CVE-2014-6278GNU Bash environment function parsing command injectionGNU Bash through 4.3 bash43-026 fails to properly parse function definitions in environment variable values, allowing command injection when the envi…KEVEPSS 100%analysed10.0CVE-2014-7186GNU Bash redirection stack out-of-bounds access via here documentsThe redirection implementation in parse.y in GNU Bash through 4.3 bash43-026 mishandles here documents, causing an out-of-bounds array access in the …EPSS 70%analysed10.0CVE-2014-7187GNU Bash off-by-one in read_token_word causes crashGNU Bash through 4.3 bash43-026 contains an off-by-one error in the read_token_word function in parse.y, the 'word_lineno' issue. Deeply nested for l…EPSS 65%analysed10.0CVE-2014-6277GNU Bash environment function parsing flaw allows command executionGNU Bash through 4.3 bash43-026 fails to properly parse function definitions in environment variable values, allowing crafted environments to trigger…EPSS 70%analysed8.4CVE-2016-7543Gnu bash improper input validation vulnerabilityBash before 4.4 allows local users to execute arbitrary commands with root privileges via crafted SHELLOPTS and PS4 environment variables.EPSS 0.58%7.8CVE-2022-3715Gnu bash memory buffer overflow vulnerabilityA flaw was found in the bash package, where a heap-buffer overflow can occur in valid parameter_transform. This issue may lead to memory problems.EPSS 0.36%

Source: NIST National Vulnerability Database (record CVE-2012-3410), CISA KEV, FIRST EPSS (scores of 2026-09-28). This page is refreshed as NVD updates the record.