Skip Navigation

  • Home
  • Contact us
  • FAQ
  • Glossary
  • Public key
  • Sitemap
  • Cymraeg
  • What's new
CPNI - Centre for the Protection of National Infastructure

Advanced search

  • About CPNI
  • The threats
  • Security planning
  • Methods of attack
  • Protecting your assets
  • Products and services
    • CSIRTUK advisories
      • Advisories archive
    • General protective security publications
    • InfoSec briefings
    • InfoSec technical notes
    • InfoSec vulnerability disclosures
    • Good practice guidelines
    • Viewpoints
    • Information exchanges
    • Risk Management Delivery Group
  • Research
Home > Products and services > CSIRTUK advisories > Advisories archive > July 2005 > OpenBSD - Another Buffer overflow in zlib

July 2005

OpenBSD - Another Buffer overflow in zlib

ID: 00619
Ref: 576/05
Date: 25 July 2005:12:11:40
Version: 1

Title: OpenBSD - Another Buffer overflow in zlib
Abstract: A potential buffer overflow when decoding invalid compressed data exists in the zlib compression library (installed as libz on OpenBSD).
Vendors affected: OpenSBD
Operating systems affected: OpenSBD
Applications affected: OpenSBD


Title
=====
OpenBSD - Another Buffer overflow in zlib


Detail
======

A potential buffer overflow when decoding invalid compressed data
exists in the zlib compression library (installed as libz on OpenBSD).
It is not known at this time whether maliciously-crafted compressed
files can be used to execute arbitrary code but at the very least
there is the potential for a denial of service attack.

Please note that this fixes a different problem that the patch
released two weeks ago.

Since zlib is in wide use throughout the base OS, as well as in
ports, users are advised to patch their systems as soon as possible.

A fix has been committed to OpenBSD-current as well as the 3.6 and
3.7 -stable branches. Patches are also available for OpenBSD 3.6
and 3.7. OpenBSD versions 3.4 and lower are not affected as they
use an older version of zlib that does not contain the vulnerable
code.

The main OpenBSD mirror appears to not be updating at the moment, so
the following urls point to the main USA mirror.
3.6 patch:
ftp://ftp.usa.openbsd.org/pub/OpenBSD/patches/3.6/common/020_libz.patch
3.7 patch:
ftp://ftp.usa.openbsd.org/pub/OpenBSD/patches/3.7/common/005_libz.patch

The 3.6 patch also applies to OpenBSD 3.5.



  • Accessibility |
  • Terms and conditions |
  • Privacy statement |
  • Data protection act |
  • Freedom of information |