{"api_version":"1","generated_at":"2026-07-23T06:15:39+00:00","cve":"CVE-2012-4025","urls":{"html":"https://cve.report/CVE-2012-4025","api":"https://cve.report/api/cve/CVE-2012-4025.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2012-4025","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2012-4025"},"summary":{"title":"CVE-2012-4025","description":"Integer overflow in the queue_init function in unsquashfs.c in unsquashfs in Squashfs 4.2 and earlier allows remote attackers to execute arbitrary code via a crafted block_log field in the superblock of a .sqsh file, leading to a heap-based buffer overflow.","state":"PUBLISHED","assigner":"mitre","published_at":"2012-07-19 19:55:02","updated_at":"2026-04-29 01:13:23"},"problem_types":["CWE-190","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"6.8","severity":"","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","data":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:P/A:P","baseScore":6.8,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"}}],"references":[{"url":"http://sourceforge.net/mailarchive/forum.php?thread_name=CAAoG81HL9oP8roPLLhftTSXTzSD%2BZcR66PRkVU%3Df76W3Mjde_w%40mail.gmail.com&forum_name=squashfs-devel","name":"http://sourceforge.net/mailarchive/forum.php?thread_name=CAAoG81HL9oP8roPLLhftTSXTzSD%2BZcR66PRkVU%3Df76W3Mjde_w%40mail.gmail.com&forum_name=squashfs-devel","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"squashfs - a compressed fs for Linux / Thread: [Squashfs-devel] Multiple vulnerabilities in squashfs!(CVE ID\n\tattached)","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2012/07/19/6","name":"http://www.openwall.com/lists/oss-security/2012/07/19/6","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List"],"title":"oss-security - CVE-2012-4024 and CVE-2012-4025: Squashfs overflows","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://security.gentoo.org/glsa/201612-40","name":"https://security.gentoo.org/glsa/201612-40","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"SQUASHFS: Multiple vulnerabilities (GLSA 201612-40) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.osvdb.org/83899","name":"http://www.osvdb.org/83899","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link"],"title":"","mime":"","httpstatus":"-1","archivestatus":"0"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2013:128","name":"http://www.mandriva.com/security/advisories?name=MDVSA-2013:128","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Not Applicable"],"title":"Support / Security / Advisories /  / MDVSA-2013:128 | Mandriva","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0001","name":"https://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0001","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Support/Advisories/MGASA-2013-0001 - Mageia wiki","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/54610","name":"http://www.securityfocus.com/bid/54610","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory","VDB Entry"],"title":"Malformed Request","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-4025","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-4025","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2012","cve_id":"4025","vulnerable":"1","versionEndIncluding":"4.2","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"squashfs_project","cpe5":"squashfs","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-06T20:21:04.247Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"[oss-security] 20120719 CVE-2012-4024 and CVE-2012-4025: Squashfs overflows","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://www.openwall.com/lists/oss-security/2012/07/19/6"},{"name":"83899","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"],"url":"http://www.osvdb.org/83899"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0001"},{"tags":["x_refsource_MISC","x_transferred"],"url":"http://sourceforge.net/mailarchive/forum.php?thread_name=CAAoG81HL9oP8roPLLhftTSXTzSD%2BZcR66PRkVU%3Df76W3Mjde_w%40mail.gmail.com&forum_name=squashfs-devel"},{"name":"54610","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/54610"},{"name":"GLSA-201612-40","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"],"url":"https://security.gentoo.org/glsa/201612-40"},{"name":"MDVSA-2013:128","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"],"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2013:128"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2012-07-18T00:00:00.000Z","descriptions":[{"lang":"en","value":"Integer overflow in the queue_init function in unsquashfs.c in unsquashfs in Squashfs 4.2 and earlier allows remote attackers to execute arbitrary code via a crafted block_log field in the superblock of a .sqsh file, leading to a heap-based buffer overflow."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2017-11-30T17:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"name":"[oss-security] 20120719 CVE-2012-4024 and CVE-2012-4025: Squashfs overflows","tags":["mailing-list","x_refsource_MLIST"],"url":"http://www.openwall.com/lists/oss-security/2012/07/19/6"},{"name":"83899","tags":["vdb-entry","x_refsource_OSVDB"],"url":"http://www.osvdb.org/83899"},{"tags":["x_refsource_CONFIRM"],"url":"https://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0001"},{"tags":["x_refsource_MISC"],"url":"http://sourceforge.net/mailarchive/forum.php?thread_name=CAAoG81HL9oP8roPLLhftTSXTzSD%2BZcR66PRkVU%3Df76W3Mjde_w%40mail.gmail.com&forum_name=squashfs-devel"},{"name":"54610","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/54610"},{"name":"GLSA-201612-40","tags":["vendor-advisory","x_refsource_GENTOO"],"url":"https://security.gentoo.org/glsa/201612-40"},{"name":"MDVSA-2013:128","tags":["vendor-advisory","x_refsource_MANDRIVA"],"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2013:128"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2012-4025","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"Integer overflow in the queue_init function in unsquashfs.c in unsquashfs in Squashfs 4.2 and earlier allows remote attackers to execute arbitrary code via a crafted block_log field in the superblock of a .sqsh file, leading to a heap-based buffer overflow."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"[oss-security] 20120719 CVE-2012-4024 and CVE-2012-4025: Squashfs overflows","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2012/07/19/6"},{"name":"83899","refsource":"OSVDB","url":"http://www.osvdb.org/83899"},{"name":"https://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0001","refsource":"CONFIRM","url":"https://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0001"},{"name":"http://sourceforge.net/mailarchive/forum.php?thread_name=CAAoG81HL9oP8roPLLhftTSXTzSD%2BZcR66PRkVU%3Df76W3Mjde_w%40mail.gmail.com&forum_name=squashfs-devel","refsource":"MISC","url":"http://sourceforge.net/mailarchive/forum.php?thread_name=CAAoG81HL9oP8roPLLhftTSXTzSD%2BZcR66PRkVU%3Df76W3Mjde_w%40mail.gmail.com&forum_name=squashfs-devel"},{"name":"54610","refsource":"BID","url":"http://www.securityfocus.com/bid/54610"},{"name":"GLSA-201612-40","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/201612-40"},{"name":"MDVSA-2013:128","refsource":"MANDRIVA","url":"http://www.mandriva.com/security/advisories?name=MDVSA-2013:128"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2012-4025","datePublished":"2012-07-19T19:00:00.000Z","dateReserved":"2012-07-16T00:00:00.000Z","dateUpdated":"2024-08-06T20:21:04.247Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2012-07-19 19:55:02","lastModifiedDate":"2026-04-29 01:13:23","problem_types":["CWE-190","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:P/A:P","baseScore":6.8,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"MEDIUM","exploitabilityScore":8.6,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:squashfs_project:squashfs:*:*:*:*:*:*:*:*","versionEndIncluding":"4.2","matchCriteriaId":"48FBA004-7ED3-40D1-96AB-D2433B73E681"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2012","CveId":"4025","Ordinal":"1","Title":"CVE-2012-4025","CVE":"CVE-2012-4025","Year":"2012"},"notes":[{"CveYear":"2012","CveId":"4025","Ordinal":"1","NoteData":"Integer overflow in the queue_init function in unsquashfs.c in unsquashfs in Squashfs 4.2 and earlier allows remote attackers to execute arbitrary code via a crafted block_log field in the superblock of a .sqsh file, leading to a heap-based buffer overflow.","Type":"Description","Title":"CVE-2012-4025"},{"CveYear":"2012","CveId":"4025","Ordinal":"2","NoteData":"2012-07-19","Type":"Other","Title":"Published"},{"CveYear":"2012","CveId":"4025","Ordinal":"3","NoteData":"2017-11-30","Type":"Other","Title":"Modified"}]}}}