Heap-based buffer overflow in closefs.c in the libext2fs library in e2fsprogs before 1.42.12 allows local users to execute arbitrary code by
Heap-based buffer overflow in closefs.c in the libext2fs library in e2fsprogs before 1.42.12 allows local users to execute arbitrary code by causing a crafted block group descriptor to be marked as dirty. NOTE: this vulnerability exists because of an incomplete fix for CVE-2015-0247.
- Published
- Feb 24, 2015
- Updated
- Jun 16, 2026
- EPSS
- 0.6% · 46th percentile
- CWE
- CWE-119
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
18
Monitor
Low priority for now.
- CVSS
- 18 / 40 · 4.6 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.6%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| e2fsprogs project | e2fsprogs | cpe:2.3:a:e2fsprogs_project:e2fsprogs |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- canonical ubuntu linux10.04
- canonical ubuntu linux12.04
- canonical ubuntu linux14.04
- canonical ubuntu linux14.10
- debian debian linux7.0
- e2fsprogs project e2fsprogsup to 1.42.11 inclusive
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | e2fsprogs | before 1.42.12-1.1 | 1.42.12-1.1 |
| Debian:6.0 | e2fsprogs | before 1.41.12-4+deb6u2 | 1.41.12-4+deb6u2 |
| Debian:7 | e2fsprogs | before 1.42.5-1.1+deb7u1 | 1.42.5-1.1+deb7u1 |
| SUSE:Linux Enterprise Desktop 12 | e2fsprogs | before 1.42.11-7.1 | 1.42.11-7.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 | e2fsprogs | before 1.43.8-4.3.1 | 1.43.8-4.3.1 |
Same product
e2fsprogs project: all recordsOther highest-scoring records for the same primary product.
- CVE-2022-1304An out-of-bounds read/write vulnerability was found in e2fsprogs 1.46.5.31Monitor
- CVE-2019-5094An exploitable code execution vulnerability exists in the quota file functionality of E2fsprogs 1.45.3.30Monitor
- CVE-2019-5188A code execution vulnerability exists in the directory rehashing functionality of E2fsprogs e2fsck 1.45.4.26Monitor
- CVE-2015-0247Heap-based buffer overflow in openfs.c in the libext2fs library in e2fsprogs before 1.42.12 allows local users to execute arbitrary code via18Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:e2fsprogs | 1.42.12-1.1 · Debian:12 | Package registry (OSV) |
| suse:e2fsprogs | 1.42.11-7.1 · SUSE:Linux Enterprise Desktop 12 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- P · data can be read
- Integrity
- P · data or configuration can be modified
- Availability
- P · the service can be disrupted
- Attack complexity
- Low
- Confidentiality impact
- P
- Integrity impact
- P
- Availability impact
- P
Weakness class (CWE)
CWE-119 · Improper Restriction of Operations within the Bounds of a Memory BufferCVSS vector
AV:L/AC:L/Au:N/C:P/I:P/A:P
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Overflow BuffersCAPEC-100likelihood: High · Very High
- Buffer ManipulationCAPEC-123likelihood: High · Very High
- Client-side Injection-induced Buffer OverflowCAPEC-14likelihood: Medium · High
- Filter Failure through Buffer OverflowCAPEC-24likelihood: High · High
- MIME ConversionCAPEC-42likelihood: High · High
- Overflow Binary Resource FileCAPEC-44likelihood: High · Very High
- Buffer Overflow via Symbolic LinksCAPEC-45likelihood: High · High
ATT&CK techniques
—
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- advisories.mageia.org/MGASA-2015-0088.html
- lists.fedoraproject.org/pipermail/package-announce/2015-March/150606.html
- lists.fedoraproject.org/pipermail/package-announce/2015-March/150805.html
- lists.opensuse.org/opensuse-security-announce/2015-06/msg00019.html
- lists.opensuse.org/opensuse-updates/2015-06/msg00006.html
- lists.opensuse.org/opensuse-updates/2015-06/msg00010.html
- www.debian.org/security/2015/dsa-3166
- www.mandriva.com/security/advisories?name=MDVSA-2015:067
- www.mandriva.com/security/advisories?name=MDVSA-2015:068
- www.securityfocus.com/bid/72709
- www.ubuntu.com/usn/USN-2507-1
- git.kernel.org/cgit/fs/ext2/e2fsprogs.git/commit/?id=49d0fe2a14f2a23da2fe299643379b8c1d37df73
- security.gentoo.org/glsa/201507-22
Vendor advisories and official records. Exploit/PoC links are deliberately left out.