OESA-2026-2912

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2026-2912
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2026-2912.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2026-2912
Upstream
Published
2026-07-09T12:50:50Z
Modified
2026-07-09T13:00:10.891638102Z
Summary
libreswan security update
Details

Libreswan is an implementation of IKEv1 and IKEv2 for IPsec. IPsec is the Internet Protocol Security and uses strong cryptography to provide both authentication and encryption services. These services allow you to build secure tunnels through untrusted networks. Everything passing through the untrusted net is encrypted by the ipsec gateway machine and decrypted by the gateway at the other end of the tunnel. The resulting tunnel is a virtual private network or VPN.

Security Fix(es):

An invalidly formatted IKEv2 fragment causes the Libreswan pluto daemon to crash and restart. Continued exploitation would cause a denial of service. The function reassemblev2incomingfragments() would ignore unknown outer payloads but still store these in a fixed size array msgdigest.digest[PAYLIMIT]. An off-by-one error in the assertion PASSERT(logger, md->digest_roof < elemsof(md->digest)) causes the daemon to abort. No remote code execution is possible. Any configuration that allows IKEv2 connections that do not set fragmentation=no are vulnerable. IKEv1 is not affected.(CVE-2026-12413)

Libreswan, via the function RSAauthenticatehashsignatureraw_rsa(), did not correctly verify the length of the authentication hash when the SIG payload of an IKEv1 packet was encoded using PKCS #1 RSA Encryption as per RFC 2313. A remote attacker can use a variation on the Bleichenbacher attack to forge the SIG payload when small public exponents are being used (e.g., e=3), which could lead to impersonation. Additionally, a remote attacker, by encoding a shorter than expected hash in the SIG payload, could trigger an assertion leading to denial-of-service. The daemon aborts and restarts; continued exploitation causes sustained denial of service. Remote code execution is not possible. X.509 certificate verifications of remote IKE peers are not affected.(CVE-2026-50721)

Libreswan, via the function RSAauthenticatehashsignaturepkcs115rsa(), did not correctly verify the DER encoding of the ASN.1 digest when the IKEv2 AUTH payload was encoded using RSASSA-PKCS1-v15 (RFC 8017). A remote attacker can use a variation on the Bleichenbacher attack to forge the AUTH payload when small public exponents are used (e.g., e=3), leading to impersonation. Additionally, a remote attacker, by encoding a shorter than expected hash in the AUTH payload, could trigger an assertion leading to denial-of-service. The daemon aborts and restarts; continued exploitation causes sustained denial of service. Remote code execution is not possible. X.509 certificate verifications of the remote IKE peer are not affected.(CVE-2026-50722)

Database specific
{
    "severity": "High"
}
References

Affected packages

openEuler:20.03-LTS-SP4 / libreswan

Package

Name
libreswan
Purl
pkg:rpm/openEuler/libreswan&distro=openEuler-20.03-LTS-SP4

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.15-3.oe2003sp4

Ecosystem specific

{
    "x86_64": [
        "libreswan-4.15-3.oe2003sp4.x86_64.rpm",
        "libreswan-debuginfo-4.15-3.oe2003sp4.x86_64.rpm",
        "libreswan-debugsource-4.15-3.oe2003sp4.x86_64.rpm"
    ],
    "noarch": [
        "libreswan-help-4.15-3.oe2003sp4.noarch.rpm"
    ],
    "aarch64": [
        "libreswan-4.15-3.oe2003sp4.aarch64.rpm",
        "libreswan-debuginfo-4.15-3.oe2003sp4.aarch64.rpm",
        "libreswan-debugsource-4.15-3.oe2003sp4.aarch64.rpm"
    ],
    "src": [
        "libreswan-4.15-3.oe2003sp4.src.rpm"
    ]
}

Database specific

source
"https://repo.openeuler.org/security/data/osv/OESA-2026-2912.json"