CVE catalog

CVE-2012-4025

squashfs-tools: CVE-2012-4025

[CVE catalog]

Severity
Medium
Published
Source
[NVD] · [CVE record]
EPSS
3.90% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiansquashfs-toolssid1:4.7.5-1fixed
Debiansquashfs-toolsforky1:4.7.5-1fixed
Debiansquashfs-toolstrixie1:4.6.1-1fixed
Debiansquashfs-toolsbookworm1:4.5.1-1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiansquashfs-toolssourcesid1:4.2+20121212-1lowNot reported[683371]
Debiansquashfs-toolssourceforky1:4.2+20121212-1lowNot reported[683371]
Debiansquashfs-toolssourcetrixie1:4.2+20121212-1lowNot reported[683371]
Debiansquashfs-toolssourcebookworm1:4.2+20121212-1lowNot reported[683371]

[Debian bug #683371]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Details (2)
    • 1:4.5.1-1 · amd64 · bookworm

      Fixed · Fixed: 1:4.2+20121212-1

      dsa · squashfs-tools · debian · bookworm; dsa · squashfs-tools · debian · 12

    • 1:4.5.1-1 · arm64 · bookworm

      Fixed · Fixed: 1:4.2+20121212-1

      dsa · squashfs-tools · debian · bookworm; dsa · squashfs-tools · debian · 12

[Debian 13 (Trixie)]

  • Source package: [squashfs-tools]

    Details (2)
    • 1:4.6.1-1 · amd64 · trixie

      Fixed · Fixed: 1:4.2+20121212-1

      dsa · squashfs-tools · debian · 13

    • 1:4.6.1-1+b1 · arm64 · trixie

      Fixed · Fixed: 1:4.2+20121212-1

      dsa · squashfs-tools · debian · 13

Observed:

References