kernel: hfs: add sanity check for file name length
Published Jan 27, 2012
7.2
HIGHCVSS 2.0
EPSS 0.44%
Description
Stack-based buffer overflow in the hfs_mac2asc function in fs/hfs/trans.c in the Linux kernel 2.6 allows local users to cause a denial of service (crash) and possibly execute arbitrary code via an HFS image with a crafted len field.
Affected products
No data.
- < 3.0.10
- ≥ 3.1 · < 3.1.2
No data.
Red Hat Enterprise Linux 5
kernel-0:2.6.18-274.17.1.el5
Fixed · RHSA-2012:0007
Red Hat Enterprise Linux 5.6 EUS - Server Only
kernel-0:2.6.18-238.35.1.el5
Fixed · RHSA-2012:0358
Red Hat Enterprise Linux 4
kernel
Not affected
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise MRG 2
realtime-kernel
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | kernel-0:2.6.18-274.17.1.el5 | Fixed | RHSA-2012:0007 |
| Red Hat Enterprise Linux 5.6 EUS - Server Only | kernel-0:2.6.18-238.35.1.el5 | Fixed | RHSA-2012:0358 |
| Red Hat Enterprise Linux 4 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise MRG 2 | realtime-kernel | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue did not affect the Linux kernels as shipped with Red Hat Enterprise Linux 6 and Red Hat Enterprise MRG as they did not include support for the Hierarchical File System (HFS) file system. This has been addressed in Red Hat Enterprise Linux 5 via https://rhn.redhat.com/errata/RHSA-2012-0007.html.
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:C/I:C/A:C
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 (10 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.44% (0.00444) | 36.28th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.44% (0.00444) | 35.14th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.22% (0.00218) | 42.45th | 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.75% (0.01755) | 76.27th | v2 (v2022.01.01) |
| Feb 13, 2023 | 1.75% (0.01755) | 75.75th | v2 (v2022.01.01) |
| Feb 3, 2023 | 2.17% (0.02172) | 79.69th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.75% (0.01755) | 74.16th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.75% (0.01755) | 53.42th | v2 (v2022.01.01) |
References (9)
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commitdiff%3Bh=bc5b8a9003132ae44559edd63a1623 x_refsource_CONFIRMBroken LinkThird Party Advisory
- http://www.openwall.com/lists/oss-security/2011/11/21/14 mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2011/11/21/5 mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- http://www.securityfocus.com/bid/50750 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/security/cve/CVE-2011-4330 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=755431 x_refsource_CONFIRMIssue TrackingThird Party Advisory
- https://lkml.org/lkml/2011/11/9/303 mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2011-4330
- https://www.cve.org/CVERecord?id=CVE-2011-4330
| Link | Providers | Tags |
|---|---|---|
| http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commitdiff%3Bh=bc5b8a9003132ae44559edd63a1623 | x_refsource_CONFIRMBroken LinkThird Party Advisory | |
| http://www.openwall.com/lists/oss-security/2011/11/21/14 | mailing-listx_refsource_MLISTMailing ListThird Party Advisory | |
| http://www.openwall.com/lists/oss-security/2011/11/21/5 | mailing-listx_refsource_MLISTMailing ListThird Party Advisory | |
| http://www.securityfocus.com/bid/50750 | vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry | |
| https://access.redhat.com/security/cve/CVE-2011-4330 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=755431 | x_refsource_CONFIRMIssue TrackingThird Party Advisory | |
| https://lkml.org/lkml/2011/11/9/303 | mailing-listx_refsource_MLISTMailing ListThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2011-4330 | ||
| https://www.cve.org/CVERecord?id=CVE-2011-4330 |
Change history (0)
No recorded changes yet.