CVE-2015-4645
published 2017-03-17CVE-2015-4645: Integer overflow in the read_fragment_table_4 function in unsquash-4.c in Squashfs and sasquatch allows remote attackers to cause a denial of service…
PriorityP425medium5.5CVSS 3.1
AVLACLPRNUIRSUCNINAH
EPSS
3.16%
86.5th percentile
Integer overflow in the read_fragment_table_4 function in unsquash-4.c in Squashfs and sasquatch allows remote attackers to cause a denial of service (application crash) via a crafted input, which triggers a stack-based buffer overflow.
Affected
14 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | squashfs-tools | < squashfs-tools 1:4.3-2 (bookworm) | squashfs-tools 1:4.3-2 (bookworm) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| msrc | cbl2_squashfs-tools_4.5-1_on_cbl_mariner_2.0 | — | — |
| msrc | cbl_mariner_1.0_arm | — | — |
| msrc | cbl_mariner_1.0_x64 | — | — |
| msrc | cbl_mariner_2.0_arm | — | — |
| msrc | cbl_mariner_2.0_x64 | — | — |
| msrc | cm1_squashfs-tools_4.3-26_on_cbl_mariner_1.0 | — | — |
| squashfs-tools_project | squashfs-tools | >= 0 < 1:4.3-2 | 1:4.3-2 |
| squashfs-tools_project | squashfs-tools | >= 0 < 1:4.3-2 | 1:4.3-2 |
| squashfs-tools_project | squashfs-tools | >= 0 < 1:4.3-2 | 1:4.3-2 |
| squashfs-tools_project | squashfs-tools | >= 0 < 1:4.3-2 | 1:4.3-2 |
| squashfs_project | squashfs | <= 4.3 | — |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_msrc5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Microsoft
Integer overflow in the read_fragment_table_4 function in unsquash-4.c in Squashfs and sasquatch allows remote attackers to cause a denial of service (application crash) via a crafted input which trig
vendor_msrc·2017-03-14·CVSS 5.5
CVE-2015-4645 [MEDIUM] CWE-190 Integer overflow in the read_fragment_table_4 function in unsquash-4.c in Squashfs and sasquatch allows remote attackers to cause a denial of service (application crash) via a crafted input which trig
Integer overflow in the read_fragment_table_4 function in unsquash-4.c in Squashfs and sasquatch allows remote attackers to cause a denial of service (application crash) via a crafted input which triggers a stack-based buffer overflow.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional product
Red Hat
squashfs-tools: integer overflow in read_fragment_table_4
vendor_redhat·2015-06-17·CVSS 5.5
CVE-2015-4645 [MEDIUM] CWE-190 squashfs-tools: integer overflow in read_fragment_table_4
squashfs-tools: integer overflow in read_fragment_table_4
Integer overflow in the read_fragment_table_4 function in unsquash-4.c in Squashfs and sasquatch allows remote attackers to cause a denial of service (application crash) via a crafted input, which triggers a stack-based buffer overflow.
Package: squashfs-tools (Red Hat Enterprise Linux 5) - Will not fix
Package: squashfs-tools (Red Hat Enterprise Linux 6) - Will not fix
Package: squashfs-tools (Red Hat Enterprise Linux 7) - Will not fix
Red Hat
squashfs-tools: stack overflow in read_fragment_table_4 due to fix for CVE-2015-4645
vendor_redhat·2015-06-17·CVSS 5.5
CVE-2015-4646 [MEDIUM] CWE-121 squashfs-tools: stack overflow in read_fragment_table_4 due to fix for CVE-2015-4645
squashfs-tools: stack overflow in read_fragment_table_4 due to fix for CVE-2015-4645
(1) unsquash-1.c, (2) unsquash-2.c, (3) unsquash-3.c, and (4) unsquash-4.c in Squashfs and sasquatch allow remote attackers to cause a denial of service (application crash) via a crafted input.
Package: squashfs-tools (Red Hat Enterprise Linux 5) - Will not fix
Package: squashfs-tools (Red Hat Enterprise Linux 6) - Will not fix
Package: squashfs-tools (Red Hat Enterprise Linux 7) - Will not fix
Debian
CVE-2015-4645: squashfs-tools - Integer overflow in the read_fragment_table_4 function in unsquash-4.c in Squash...
vendor_debian·2015·CVSS 5.5
CVE-2015-4645 [MEDIUM] CVE-2015-4645: squashfs-tools - Integer overflow in the read_fragment_table_4 function in unsquash-4.c in Squash...
Integer overflow in the read_fragment_table_4 function in unsquash-4.c in Squashfs and sasquatch allows remote attackers to cause a denial of service (application crash) via a crafted input, which triggers a stack-based buffer overflow.
Scope: local
bookworm: resolved (fixed in 1:4.3-2)
bullseye: resolved (fixed in 1:4.3-2)
forky: resolved (fixed in 1:4.3-2)
sid: resolved (fixed in 1:4.3-2)
trixie: resolved (fixed in 1:4.3-2)
GHSA
GHSA-j67g-6r6x-5v63: Integer overflow in the read_fragment_table_4 function in unsquash-4
ghsa_unreviewed·2022-05-13
CVE-2015-4645 [MEDIUM] CWE-190 GHSA-j67g-6r6x-5v63: Integer overflow in the read_fragment_table_4 function in unsquash-4
Integer overflow in the read_fragment_table_4 function in unsquash-4.c in Squashfs and sasquatch allows remote attackers to cause a denial of service (application crash) via a crafted input, which triggers a stack-based buffer overflow.
OSV
CVE-2015-4645: Integer overflow in the read_fragment_table_4 function in unsquash-4
osv·2017-03-17·CVSS 5.5
CVE-2015-4645 [MEDIUM] CVE-2015-4645: Integer overflow in the read_fragment_table_4 function in unsquash-4
Integer overflow in the read_fragment_table_4 function in unsquash-4.c in Squashfs and sasquatch allows remote attackers to cause a denial of service (application crash) via a crafted input, which triggers a stack-based buffer overflow.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2015-4645 squashfs-tools: integer overflow in read_fragment_table_4
bugzilla·2015-06-23·CVSS 5.5
CVE-2015-4645 [MEDIUM] CVE-2015-4645 squashfs-tools: integer overflow in read_fragment_table_4
CVE-2015-4645 squashfs-tools: integer overflow in read_fragment_table_4
Integer overflow issue was reported in squashfs-tools.
Following code in unsquash-4.c overflows the bytes variable, so that the allocation of fragments_bytes[] has an erroneous size.
int bytes = SQUASHFS_FRAGMENT_BYTES(sBlk.s.fragments);
...
fragment_table = malloc(bytes)
Upstream bug report: https://github.com/devttys0/sasquatch/pull/5
Upstream fix: https://github.com/gcanalesb/sasquatch/commit/6777e08cc38bc780d27c69c1d8c272867b74524f
Discussion:
Created squashfs-tools tracking bugs for this issue:
Affects: fedora-all [bug 1234888]
---
While the code in question is in Phillip's branch, note that this issue is being reported against an upstream version of squashfs-tools that has diverged from the one we use.
T
Bugzilla
CVE-2015-4645 CVE-2015-4646 squashfs-tools: various flaws [fedora-all]
bugzilla·2015-06-23·CVSS 5.5
CVE-2015-4645 [MEDIUM] CVE-2015-4645 CVE-2015-4646 squashfs-tools: various flaws [fedora-all]
CVE-2015-4645 CVE-2015-4646 squashfs-tools: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions of Fedora.
Bugzilla
CVE-2015-4646 squashfs-tools: stack overflow in read_fragment_table_4 due to fix for CVE-2015-4645
bugzilla·2015-06-23·CVSS 5.5
CVE-2015-4646 [MEDIUM] CVE-2015-4646 squashfs-tools: stack overflow in read_fragment_table_4 due to fix for CVE-2015-4645
CVE-2015-4646 squashfs-tools: stack overflow in read_fragment_table_4 due to fix for CVE-2015-4645
After applying CVE-2015-4645 fix, squashfs-tools become vulnerable to stack overflow issue - the stack VLA allocation of fragment_table_index[] can easily exceed RLIMIT_STACK.
Upstream bug report: https://github.com/devttys0/sasquatch/pull/5
Upstream fix: https://github.com/gcanalesb/sasquatch/commit/6777e08cc38bc780d27c69c1d8c272867b74524f
Discussion:
Created squashfs-tools tracking bugs for this issue:
Affects: fedora-all [bug 1234888]
http://lists.fedoraproject.org/pipermail/package-announce/2015-July/162171.htmlhttp://lists.fedoraproject.org/pipermail/package-announce/2015-July/162226.htmlhttp://www.securityfocus.com/bid/75272https://bugzilla.redhat.com/show_bug.cgi?id=1234886https://github.com/devttys0/sasquatch/pull/5https://github.com/plougher/squashfs-tools/commit/f95864afe8833fe3ad782d714b41378e860977b1https://security.gentoo.org/glsa/201701-73http://lists.fedoraproject.org/pipermail/package-announce/2015-July/162171.htmlhttp://lists.fedoraproject.org/pipermail/package-announce/2015-July/162226.htmlhttp://www.securityfocus.com/bid/75272https://bugzilla.redhat.com/show_bug.cgi?id=1234886https://github.com/devttys0/sasquatch/pull/5https://github.com/plougher/squashfs-tools/commit/f95864afe8833fe3ad782d714b41378e860977b1https://security.gentoo.org/glsa/201701-73
2017-03-17
Published