Skip to content
OpenAdvisories
Unscored CVE-2015-0860 EUVD-2015-0871GHSA-phx5-8jhp-4rwc

Off-by-one error in the extracthalf function in dpkg-deb/extract.c in the dpkg-deb component in Debian dpkg 1.16.x before 1.16.17 and 1.17.…

Published Dec 3, 2015 · Updated Aug 6, 2024 · Assigned by debian

Description

Off-by-one error in the extracthalf function in dpkg-deb/extract.c in the dpkg-deb component in Debian dpkg 1.16.x before 1.16.17 and 1.17.x before 1.17.26 allows remote attackers to execute arbitrary code via the archive magic version number in an "old-style" Debian binary package, which triggers a stack-based buffer overflow.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 dpkg 1.18.4 —
Debian 13 dpkg 1.18.4 —
Debian 12 dpkg 1.18.4 —
Debian 8 dpkg 1.17.26 DSA-3407-1
Debian 7 dpkg 1.16.17 DSA-3407-1
ReleasePackageFixed inAdvisory
Ubuntu 14.04 LTS dpkg 1.17.5ubuntu5.5 USN-2820-1
ReleasePackageFixed inAdvisory
SLES 12 SP1 update-alternatives 1.16.10-12.6.1 SUSE-SU-2017:1096-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP1 update-alternatives 1.16.10-12.6.1 SUSE-SU-2017:1096-1

Advisories 3

References