{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Moderate"
    },
    "category": "csaf_vex",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright © Red Hat, Inc. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://access.redhat.com/security/team/contact/",
      "issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
      "name": "Red Hat Product Security",
      "namespace": "https://www.redhat.com"
    },
    "references": [
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.access.redhat.com/data/csaf/v2/vex/2018/cve-2018-15836.json"
      }
    ],
    "title": "openswan: Improper signature verification in try_RSA_signature_v2() fucntion for RSASSA-PKCS1-v1_5 signature scheme",
    "tracking": {
      "current_release_date": "2026-11-05T06:55:42+00:00",
      "generator": {
        "date": "2026-11-05T06:55:42+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "5.4.4"
        }
      },
      "id": "CVE-2018-15836",
      "initial_release_date": "2018-08-17T00:00:00+00:00",
      "revision_history": [
        {
          "date": "2018-08-17T00:00:00+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2021-02-16T23:11:24+00:00",
          "number": "2",
          "summary": "Current version"
        },
        {
          "date": "2026-11-05T06:55:42+00:00",
          "number": "3",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux 5",
                "product": {
                  "name": "Red Hat Enterprise Linux 5",
                  "product_id": "red_hat_enterprise_linux_5",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:redhat:rhel_els:5"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux 5"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux 6",
                "product": {
                  "name": "Red Hat Enterprise Linux 6",
                  "product_id": "red_hat_enterprise_linux_6",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:redhat:rhel_els:6"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux 6"
          },
          {
            "category": "product_version",
            "name": "openswan.src",
            "product": {
              "name": "openswan.src",
              "product_id": "openswan.src",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/openswan?arch=src"
              }
            }
          },
          {
            "category": "product_version",
            "name": "openswan",
            "product": {
              "name": "openswan",
              "product_id": "openswan",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/openswan"
              }
            }
          },
          {
            "category": "product_version",
            "name": "openswan-doc",
            "product": {
              "name": "openswan-doc",
              "product_id": "openswan-doc",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/openswan-doc"
              }
            }
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "openswan.src as a component of Red Hat Enterprise Linux 5",
          "product_id": "red_hat_enterprise_linux_5:openswan.src"
        },
        "product_reference": "openswan.src",
        "relates_to_product_reference": "red_hat_enterprise_linux_5"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "openswan as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:openswan"
        },
        "product_reference": "openswan",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "openswan-doc as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:openswan-doc"
        },
        "product_reference": "openswan-doc",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "openswan.src as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:openswan.src"
        },
        "product_reference": "openswan.src",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2018-15836",
      "cwe": {
        "id": "CWE-347",
        "name": "Improper Verification of Cryptographic Signature"
      },
      "discovery_date": "2018-08-17T00:00:00+00:00",
      "flags": [
        {
          "label": "vulnerable_code_not_present",
          "product_ids": [
            "red_hat_enterprise_linux_5:openswan.src",
            "red_hat_enterprise_linux_6:openswan",
            "red_hat_enterprise_linux_6:openswan-doc",
            "red_hat_enterprise_linux_6:openswan.src"
          ]
        }
      ],
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "1618861"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "In verify_signed_hash() in lib/liboswkeys/signatures.c in Openswan before 2.6.50.1, the RSA implementation does not verify the value of padding string during PKCS#1 v1.5 signature verification. Consequently, a remote attacker can forge signatures when small public exponents are being used. IKEv2 signature verification is affected when RAW RSA keys are used.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "openswan: Improper signature verification in try_RSA_signature_v2() fucntion for RSASSA-PKCS1-v1_5 signature scheme",
          "title": "Vulnerability summary"
        },
        {
          "category": "other",
          "text": "This flaw only affects openswan versions compiled without NSS. When NSS is used as cryptographic library, the RSA routines from NSS are used instead of the custom openswan RSA code that contains the vulnerability.\n\nRed Hat Enterprise Linux has only ever shipped with NSS enabled openswan versions, so no Red Hat products are vulnerable to this bug.",
          "title": "Statement"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "known_not_affected": [
          "red_hat_enterprise_linux_5:openswan.src",
          "red_hat_enterprise_linux_6:openswan",
          "red_hat_enterprise_linux_6:openswan-doc",
          "red_hat_enterprise_linux_6:openswan.src"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2018-15836"
        },
        {
          "category": "external",
          "summary": "RHBZ#1618861",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1618861"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2018-15836",
          "url": "https://www.cve.org/CVERecord?id=CVE-2018-15836"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2018-15836",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-15836"
        }
      ],
      "release_date": "2018-08-17T00:00:00+00:00",
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 6.5,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "LOW",
            "integrityImpact": "LOW",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N",
            "version": "3.0"
          },
          "products": [
            "red_hat_enterprise_linux_5:openswan.src",
            "red_hat_enterprise_linux_6:openswan",
            "red_hat_enterprise_linux_6:openswan-doc",
            "red_hat_enterprise_linux_6:openswan.src"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Moderate",
          "product_ids": [
            "red_hat_enterprise_linux_5:openswan.src",
            "red_hat_enterprise_linux_6:openswan",
            "red_hat_enterprise_linux_6:openswan-doc",
            "red_hat_enterprise_linux_6:openswan.src"
          ]
        }
      ],
      "title": "openswan: Improper signature verification in try_RSA_signature_v2() fucntion for RSASSA-PKCS1-v1_5 signature scheme"
    }
  ]
}