Description
Integer signedness error in bspatch.c in bspatch in bsdiff, as used in Apple OS X before 10.11.6 and other products, allows remote attackers to execute arbitrary code or cause a denial of service (heap-based buffer overflow) via a crafted patch file.
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | bsdiff | 4.3-17 | — |
| Debian 13 | bsdiff | 4.3-17 | — |
| Debian 12 | bsdiff | 4.3-17 | — |
| Debian 8 | bsdiff | 4.3-15+deb8u1 | DLA-2010-1 |
| Debian 7 | bsdiff | 4.3-14+deb7u1 | DLA-697-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | bsdiff | 4.3-15+deb8u1build0.16.04.1 | USN-4500-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP4 | libostree | 2021.6-150400.3.3.1 | SUSE-SU-2022:3094-1 |
| SLES 15 SP3 | libostree | 2020.8-150200.3.6.1 | SUSE-SU-2022:3456-1 |
| SLES 15 SP2 | libostree | 2020.8-150200.3.6.1 | SUSE-SU-2022:3456-1 |
| SLES 15 SP1 | libostree | 2018.9-150100.7.4.1 | SUSE-SU-2022:3455-1 |
| SLES 15 | libostree | 2018.1-150000.4.3.1 | SUSE-SU-2022:3671-1 |
Show 11 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP2 | libostree | 2020.8-150200.3.6.1 | SUSE-SU-2022:3456-1 |
| SLES for SAP 15 SP1 | libostree | 2018.9-150100.7.4.1 | SUSE-SU-2022:3455-1 |
| SLES for SAP 15 | libostree | 2018.1-150000.4.3.1 | SUSE-SU-2022:3671-1 |
| SLE HPC 15 SP2 | libostree | 2020.8-150200.3.6.1 | SUSE-SU-2022:3456-1 |
| SLE HPC 15 SP1 | libostree | 2018.9-150100.7.4.1 | SUSE-SU-2022:3455-1 |
| SLE HPC 15 | libostree | 2018.1-150000.4.3.1 | SUSE-SU-2022:3671-1 |
| SUSE Manager Server 4.1 | libostree | 2020.8-150200.3.6.1 | SUSE-SU-2022:3456-1 |
| SUSE Manager Retail Branch Server 4.1 | libostree | 2020.8-150200.3.6.1 | SUSE-SU-2022:3456-1 |
| SUSE Manager Proxy 4.1 | libostree | 2020.8-150200.3.6.1 | SUSE-SU-2022:3456-1 |
| SUSE Enterprise Storage 7 | libostree | 2020.8-150200.3.6.1 | SUSE-SU-2022:3456-1 |
| SUSE Enterprise Storage 6 | libostree | 2018.9-150100.7.4.1 | SUSE-SU-2022:3455-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | bsdiff | 4.3-5.3 | openSUSE-SU-2024:10045-1 |
| openSUSE Leap 15.4 | libostree | 2021.6-150400.3.3.1 | SUSE-SU-2022:3094-1 |
| openSUSE Leap 15.3 | libostree | 2020.8-150200.3.6.1 | SUSE-SU-2022:3456-1 |
Advisories 8
- DLA-697-1 bsdiff - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2010-1 bsdiff - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-4500-1 bsdiff vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- SUSE-SU-2022:3456-1 Security update for libostree SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:3455-1 Security update for libostree SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:3671-1 Security update for libostree SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:3094-1 Security update for libostree SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10045-1 bsdiff-4.3-5.3 on GA media SUSE / openSUSE Security Updates · May 7, 2025
References
- 91824 vdb-entry
- FreeBSD-SA-16:25 vendor-advisory
- https://android.googlesource.com/platform/external/bsdiff/+/4d054795b673855e3a7556c6f2f7ab99ca509998
- https://chromium.googlesource.com/chromiumos/third_party/bsdiff/+/d0307d1711bd74e51b783a49f9160775aa22e659
- APPLE-SA-2016-07-18-1 vendor-advisory
- 1036438 vdb-entry
- https://bugs.chromium.org/p/chromium/issues/detail?id=372525
- https://support.apple.com/HT206903
- openSUSE-SU-2016:1977 vendor-advisory
- [debian-lts-announce] 20191126 [SECURITY] [DLA 2010-1] bsdiff security update mailing-list
- GLSA-202003-44 vendor-advisory
- [oss-security] 20200709 X41 D-Sec GmbH Security Advisory X41-2020-006: Memory Corruption Vulnerability in bspatch mailing-list
- 20200709 X41 D-Sec GmbH Security Advisory X41-2020-006: Memory Corruption Vulnerability in bspatch mailing-list
- USN-4500-1 vendor-advisory