Description
The append_utf8_value function in the DN decoder (dn.c) in Libksba before 1.3.3 allows remote attackers to cause a denial of service (out-of-bounds read) by clearing the high bit of the byte after invalid utf-8 encoded data.
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 | libksba | 1.3.3-1 | — |
| Debian 13 | libksba | 1.3.3-1 | — |
| Debian 12 | libksba | 1.3.3-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | libksba | 1.3.3-1ubuntu0.16.04.1 | USN-2982-1 |
| Ubuntu 14.04 LTS | libksba | 1.3.0-3ubuntu0.14.04.2 | USN-2982-1 |
Advisories 1
- USN-2982-1 libksba vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
References
- [oss-security] 20160510 Re: Re: CVE request: three issues in libksba mailing-list
- USN-2982-1 vendor-advisory
- [oss-security] 20160429 CVE request: three issues in libksba mailing-list
- [oss-security] 20160429 Re: CVE request: three issues in libksba mailing-list
- http://git.gnupg.org/cgi-bin/gitweb.cgi?p=libksba.git%3Ba=commit%3Bh=243d12fdec66a4360fbb3e307a046b39b5b4ffc3
- GLSA-201604-04 vendor-advisory