Security Update for libidn

libidn Updated 02 Oct 2025

Summary

02/08/2016
N/A
Yes i
Unrated
Not published

DLA-582-1: libidn - security update. Affects libidn versions < 1.25-2+deb7u2. Fixed in 1.25-2+deb7u2. 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 Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

libidn is a library used for Internationalized Domain Names (IDNs) handling. It provides functions for converting domain names between their ASCII and Unicode representations. This vulnerability affects libidn version 1.25-2+deb7u2 and earlier.

Vulnerability Detail

Multiple vulnerabilities have been discovered in libidn:

  1. CVE-2015-8948: When idn is reading one zero byte as input, an out-of-bounds-read occurred.
  2. CVE-2016-6261: An out-of-bounds stack read is exploitable in idna_to_ascii_4i.
  3. CVE-2016-6263: stringprep_utf8_nfkc_normalize rejects invalid UTF-8, causing a crash.

These vulnerabilities can lead to various security issues, including information disclosure and denial of service attacks.

How To Fix

Minimum fixed version

1.25-2+deb7u2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libidn

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

Workaround

There are no known workarounds for these vulnerabilities.

Conclusion

Upgrading to libidn version 1.25-2+deb7u2 or later is crucial to mitigate the security risks associated with these vulnerabilities. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for libidn →

Share this vulnerability

FAQ

libidn is a library used for Internationalized Domain Names (IDNs) handling. It provides functions for converting domain names between their ASCII and Unicode representations.

An out-of-bounds-read vulnerability occurs when a program reads data from a memory location outside of the boundaries of a buffer or array. This can lead to information disclosure or crashes.

CVE-2015-8948 is a vulnerability in libidn where an out-of-bounds-read occurs when reading one zero byte as input.

CVE-2016-6261 is a vulnerability in libidn where an out-of-bounds stack read is exploitable in idna_to_ascii_4i.

CVE-2016-6263 is a vulnerability in libidn where stringprep_utf8_nfkc_normalize rejects invalid UTF-8, causing a crash.

Related vulnerabilities

Recent vulnerabilities recorded for libidn.

How To Fix

Minimum fixed version

1.25-2+deb7u2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libidn

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