Description
Buffer overflow in the atodn function in Openswan before 2.6.39, when Opportunistic Encryption is enabled and an RSA key is being used, allows remote attackers to cause a denial of service (pluto IKE daemon crash) and possibly execute arbitrary code via crafted DNS TXT records. NOTE: this might be the same vulnerability as CVE-2013-2052 and CVE-2013-2054.
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 7 | openswan | 1:2.6.37-3+deb7u1 | DSA-2893-1 |
| Debian 6.0 | openswan | 1:2.6.28+dfsg-5+squeeze2 | DSA-2893-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 6 | openswan +1 | 2.6.32-20.el6_4 | RHSA-2013:0827 |
| RHEL 5 | openswan +1 | 2.6.32-5.el5_9 | RHSA-2013:0827 |
Advisories 2
- RHSA-2013:0827 Red Hat Security Advisory: openswan security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-2893-1 openswan - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- https://www.openswan.org/news/13
- SUSE-SU-2013:1150 vendor-advisory
- RHSA-2013:0827 vendor-advisory
- 59838 vdb-entry
- https://bugzilla.redhat.com/show_bug.cgi?id=960229
- [Swan-announce] 20130514 CVE-2013-2052: Libreswan remote buffer overflow in atodn() mailing-list
- DSA-2893 vendor-advisory