CVE-2026-50722
Full vulnerability record from the local CVENow database.
Description
Libreswan, via the function RSA_authenticate_hash_signature_pkcs1_1_5_rsa(), did not correctly verify the DER encoding of the ASN.1 digest when the IKEv2 AUTH payload was encoded using RSASSA-PKCS1-v1_5 (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.
View original CVE JSON
{
"id": "CVE-2026-50722",
"sourceIdentifier": "d42dc95b-23f1-4e06-9076-20753a0fb0df",
"published": "2026-07-02T22:16:43.550",
"lastModified": "2026-10-25T21:10:00.770",
"vulnStatus": "Analyzed",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "Libreswan, via the function RSA_authenticate_hash_signature_pkcs1_1_5_rsa(), did not correctly verify the DER encoding of the ASN.1 digest when the IKEv2 AUTH payload was encoded using RSASSA-PKCS1-v1_5 (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."
},
{
"lang": "es",
"value": "Libreswan, a través de la función RSA_authenticate_hash_signature_pkcs1_1_5_rsa(), no verificó correctamente la codificación DER del resumen ASN.1 cuando la carga útil AUTH de IKEv2 fue codificada usando RSASSA-PKCS1-v1_5 (RFC 8017). Un atacante remoto puede usar una variación del ataque Bleichenbacher para falsificar la carga útil AUTH cuando se usan exponentes públicos pequeños (p. ej., e=3), lo que lleva a la suplantación de identidad. Además, un atacante remoto, al codificar un hash más corto de lo esperado en la carga útil AUTH, podría activar una aserción que llevaría a la denegación de servicio. El demonio se aborta y se reinicia; la explotación continuada causa una denegación de servicio sostenida. La ejecución remota de código no es posible. Las verificaciones de certificados X.509 del par IKE remoto no se ven afectadas."
}
],
"affected": [
{
"source": "d42dc95b-23f1-4e06-9076-20753a0fb0df",
"affectedData": [
{
"vendor": "The Libreswan Project",
"product": "libreswan",
"defaultStatus": "unaffected",
"collectionURL": "https://github.com/libreswan/libreswan",
"packageName": "libreswan",
"programRoutines": [
{
"name": "RSA_authenticate_hash_signature_pkcs1_1_5_rsa"
}
],
"repo": "https://github.com/libreswan/libreswan",
"versions": [
{
"version": "0",
"lessThanOrEqual": "5.3",
"versionType": "semver",
"status": "affected"
},
{
"version": "5.3.1",
"versionType": "semver",
"status": "unaffected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "d42dc95b-23f1-4e06-9076-20753a0fb0df",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
"baseScore": 8.1,
"baseSeverity": "HIGH",
"attackVector": "NETWORK",
"attackComplexity": "HIGH",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"availabilityImpact": "HIGH"
},
"exploitabilityScore": 2.2,
"impactScore": 5.9
},
{
"source": "[email protected]",
"type": "Primary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
"baseScore": 5.9,
"baseSeverity": "MEDIUM",
"attackVector": "NETWORK",
"attackComplexity": "HIGH",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"availabilityImpact": "HIGH"
},
"exploitabilityScore": 2.2,
"impactScore": 3.6
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-07-06T18:12:19.317302Z",
"id": "CVE-2026-50722",
"options": [
{
"exploitation": "none"
},
{
"automatable": "yes"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "d42dc95b-23f1-4e06-9076-20753a0fb0df",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-347"
},
{
"lang": "en",
"value": "CWE-617"
}
]
}
],
"configurations": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:libreswan:libreswan:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.3.1",
"matchCriteriaId": "0D5C4D8F-3003-4ACA-A065-E03AEE680115"
}
]
}
]
}
],
"references": [
{
"url": "https://libreswan.org/security/CVE-2026-50721/CVE-2026-50721.txt",
"source": "d42dc95b-23f1-4e06-9076-20753a0fb0df",
"tags": [
"Vendor Advisory",
"Mailing List"
]
},
{
"url": "https://libreswan.org/security/CVE-2026-50722/",
"source": "d42dc95b-23f1-4e06-9076-20753a0fb0df",
"tags": [
"Vendor Advisory"
]
},
{
"url": "https://libreswan.org/security/CVE-2026-50722/CVE-2026-50722.txt",
"source": "d42dc95b-23f1-4e06-9076-20753a0fb0df",
"tags": [
"Vendor Advisory"
]
},
{
"url": "https://www.rfc-editor.org/rfc/rfc8017",
"source": "d42dc95b-23f1-4e06-9076-20753a0fb0df",
"tags": [
"Technical Description"
]
}
]
}