FKIE_CVE-2026-50721

Vulnerability from fkie_nvd - Published: 2026-07-02 22:16 - Updated: 2026-10-25 21:10
Summary
Libreswan, via the function RSA_authenticate_hash_signature_raw_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.
Impacted products
Vendor Product Version
libreswan libreswan *

{
  "affected": [
    {
      "affectedData": [
        {
          "collectionURL": "https://github.com/libreswan/libreswan",
          "defaultStatus": "unaffected",
          "packageName": "libreswan",
          "product": "libreswan",
          "programRoutines": [
            {
              "name": "RSA_authenticate_hash_signature_raw_rsa"
            }
          ],
          "repo": "https://github.com/libreswan/libreswan",
          "vendor": "The Libreswan Project",
          "versions": [
            {
              "lessThanOrEqual": "5.3",
              "status": "affected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "status": "unaffected",
              "version": "5.3.1",
              "versionType": "semver"
            }
          ]
        }
      ],
      "source": "d42dc95b-23f1-4e06-9076-20753a0fb0df"
    }
  ],
  "configurations": [
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:libreswan:libreswan:*:*:*:*:*:*:*:*",
              "matchCriteriaId": "0D5C4D8F-3003-4ACA-A065-E03AEE680115",
              "versionEndExcluding": "5.3.1",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "Libreswan, via the function RSA_authenticate_hash_signature_raw_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."
    },
    {
      "lang": "es",
      "value": "Libreswan, a trav\u00e9s de la funci\u00f3n RSA_authenticate_hash_signature_raw_rsa(), no verificaba correctamente la longitud del hash de autenticaci\u00f3n cuando la carga \u00fatil SIG de un paquete IKEv1 se codificaba usando Cifrado RSA PKCS #1 seg\u00fan RFC 2313. Un atacante remoto puede usar una variaci\u00f3n del ataque Bleichenbacher para falsificar la carga \u00fatil SIG cuando se utilizan exponentes p\u00fablicos peque\u00f1os (p. ej., e=3), lo que podr\u00eda llevar a la suplantaci\u00f3n de identidad. Adem\u00e1s, un atacante remoto, al codificar un hash m\u00e1s corto de lo esperado en la carga \u00fatil SIG, podr\u00eda activar una aserci\u00f3n que llevar\u00eda a la denegaci\u00f3n de servicio. El demonio aborta y se reinicia; la explotaci\u00f3n continuada causa una denegaci\u00f3n de servicio sostenida. La ejecuci\u00f3n remota de c\u00f3digo no es posible. Las verificaciones de certificados X.509 de pares IKE remotos no se ven afectadas."
    }
  ],
  "id": "CVE-2026-50721",
  "lastModified": "2026-10-25T21:10:00.770",
  "metrics": {
    "cvssMetricV31": [
      {
        "cvssData": {
          "attackComplexity": "HIGH",
          "attackVector": "NETWORK",
          "availabilityImpact": "HIGH",
          "baseScore": 8.1,
          "baseSeverity": "HIGH",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "privilegesRequired": "NONE",
          "scope": "UNCHANGED",
          "userInteraction": "NONE",
          "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
          "version": "3.1"
        },
        "exploitabilityScore": 2.2,
        "impactScore": 5.9,
        "source": "d42dc95b-23f1-4e06-9076-20753a0fb0df",
        "type": "Secondary"
      },
      {
        "cvssData": {
          "attackComplexity": "HIGH",
          "attackVector": "NETWORK",
          "availabilityImpact": "HIGH",
          "baseScore": 5.9,
          "baseSeverity": "MEDIUM",
          "confidentialityImpact": "NONE",
          "integrityImpact": "NONE",
          "privilegesRequired": "NONE",
          "scope": "UNCHANGED",
          "userInteraction": "NONE",
          "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "version": "3.1"
        },
        "exploitabilityScore": 2.2,
        "impactScore": 3.6,
        "source": "nvd@nist.gov",
        "type": "Primary"
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "id": "CVE-2026-50721",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "yes"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "role": "CISA Coordinator",
          "timestamp": "2026-07-06T18:12:17.199605Z",
          "version": "2.0.3"
        }
      }
    ]
  },
  "published": "2026-07-02T22:16:43.367",
  "references": [
    {
      "source": "d42dc95b-23f1-4e06-9076-20753a0fb0df",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "https://libreswan.org/security/CVE-2026-50721/"
    },
    {
      "source": "d42dc95b-23f1-4e06-9076-20753a0fb0df",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "https://libreswan.org/security/CVE-2026-50721/CVE-2026-50721.txt"
    },
    {
      "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": [
        "Technical Description"
      ],
      "url": "https://www.rfc-editor.org/rfc/rfc2313"
    }
  ],
  "sourceIdentifier": "d42dc95b-23f1-4e06-9076-20753a0fb0df",
  "vulnStatus": "Analyzed",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-347"
        },
        {
          "lang": "en",
          "value": "CWE-617"
        }
      ],
      "source": "d42dc95b-23f1-4e06-9076-20753a0fb0df",
      "type": "Secondary"
    }
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.