Critical Buffer Overflow Vulnerability in Bind9 Package

bind9 Updated 02 Oct 2025

Summary

21/09/2022
N/A
Yes i
High
8.2

UBUNTU-CVE-2022-2881: The underlying bug might cause read past end of the buffer and either read memory it should not read, or crash the process. Affects bind9 versions < 1:9.18.1-1ubuntu1.2. Fixed in 1:9.18.1-1ubuntu1.2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Bind9 is a widely used DNS server software that provides name resolution services for various applications and systems. It is known for its reliability and performance in handling DNS queries. However, it is susceptible to vulnerabilities that can lead to severe security risks, including unauthorized memory access and potential service disruptions.

Vulnerability Detail

The vulnerability identified as CVE-2022-2881 in the Bind9 package stems from a bug that may cause a read past the end of the buffer. This flaw can lead to unauthorized memory access, potentially allowing an attacker to read sensitive information or crash the Bind9 process, resulting in denial of service. The issue is particularly concerning as it can be exploited remotely without requiring user interaction, making it a significant security threat.

How To Fix

Minimum fixed version

1:9.18.1-1ubuntu1.2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade bind9

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to apply the available patch as soon as possible.

Conclusion

In summary, CVE-2022-2881 is a critical vulnerability in the Bind9 package that can lead to serious security risks. Users are strongly advised to update their systems to the patched version to protect against potential exploits. Regular monitoring of vulnerabilities using tools like Vulert can help maintain software security.

See every vulnerability recorded for bind9 →

Share this vulnerability

FAQ

CVE-2022-2881 is a critical vulnerability in the Bind9 package that allows for potential unauthorized memory access due to a buffer overflow.

You can check if your application is affected by using the Vulert playground at Vulert Scanner, which allows you to monitor for open-source vulnerabilities without needing to sign up.

The vulnerability can lead to unauthorized memory access, which may expose sensitive information or cause the Bind9 service to crash, leading to denial of service.

Yes, a patch is available. Users should update their Bind9 package to version 1:9.18.1-1ubuntu1.2 or later to mitigate the risk.

The CVSS score for this vulnerability is 8.2, indicating a high severity level.

Related vulnerabilities

Recent vulnerabilities recorded for bind9.

How To Fix

Minimum fixed version

1:9.18.1-1ubuntu1.2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade bind9

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback