Lookup for vulnerabilities affecting packages.

GET /api/vulnerabilities/351002?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/351002?format=api",
    "vulnerability_id": "VCID-za3q-wwzc-qbgv",
    "summary": "cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. From 45.0.0 to before 46.0.7, if a non-contiguous buffer was passed to APIs which accepted Python buffers (e.g. Hash.update()), this could lead to buffer overflows. This vulnerability is fixed in 46.0.7.",
    "aliases": [
        {
            "alias": "CVE-2026-39892"
        },
        {
            "alias": "GHSA-p423-j2cm-9vmq"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1059714?format=api",
            "purl": "pkg:apk/alpine/py3-cryptography@46.0.7-r0?arch=loongarch64&distroversion=edge&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/py3-cryptography@46.0.7-r0%3Farch=loongarch64&distroversion=edge&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1059729?format=api",
            "purl": "pkg:apk/alpine/py3-cryptography@46.0.7-r0?arch=aarch64&distroversion=v3.23&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/py3-cryptography@46.0.7-r0%3Farch=aarch64&distroversion=v3.23&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1059730?format=api",
            "purl": "pkg:apk/alpine/py3-cryptography@46.0.7-r0?arch=armhf&distroversion=v3.23&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/py3-cryptography@46.0.7-r0%3Farch=armhf&distroversion=v3.23&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1059731?format=api",
            "purl": "pkg:apk/alpine/py3-cryptography@46.0.7-r0?arch=armv7&distroversion=v3.23&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/py3-cryptography@46.0.7-r0%3Farch=armv7&distroversion=v3.23&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1059737?format=api",
            "purl": "pkg:apk/alpine/py3-cryptography@46.0.7-r0?arch=x86_64&distroversion=v3.23&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/py3-cryptography@46.0.7-r0%3Farch=x86_64&distroversion=v3.23&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1059715?format=api",
            "purl": "pkg:apk/alpine/py3-cryptography@46.0.7-r0?arch=ppc64le&distroversion=edge&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/py3-cryptography@46.0.7-r0%3Farch=ppc64le&distroversion=edge&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1059717?format=api",
            "purl": "pkg:apk/alpine/py3-cryptography@46.0.7-r0?arch=s390x&distroversion=edge&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/py3-cryptography@46.0.7-r0%3Farch=s390x&distroversion=edge&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1059734?format=api",
            "purl": "pkg:apk/alpine/py3-cryptography@46.0.7-r0?arch=riscv64&distroversion=v3.23&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/py3-cryptography@46.0.7-r0%3Farch=riscv64&distroversion=v3.23&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1059716?format=api",
            "purl": "pkg:apk/alpine/py3-cryptography@46.0.7-r0?arch=riscv64&distroversion=edge&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/py3-cryptography@46.0.7-r0%3Farch=riscv64&distroversion=edge&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1059711?format=api",
            "purl": "pkg:apk/alpine/py3-cryptography@46.0.7-r0?arch=aarch64&distroversion=edge&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/py3-cryptography@46.0.7-r0%3Farch=aarch64&distroversion=edge&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1059712?format=api",
            "purl": "pkg:apk/alpine/py3-cryptography@46.0.7-r0?arch=armhf&distroversion=edge&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/py3-cryptography@46.0.7-r0%3Farch=armhf&distroversion=edge&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1059713?format=api",
            "purl": "pkg:apk/alpine/py3-cryptography@46.0.7-r0?arch=armv7&distroversion=edge&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/py3-cryptography@46.0.7-r0%3Farch=armv7&distroversion=edge&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1059718?format=api",
            "purl": "pkg:apk/alpine/py3-cryptography@46.0.7-r0?arch=x86&distroversion=edge&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/py3-cryptography@46.0.7-r0%3Farch=x86&distroversion=edge&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1059719?format=api",
            "purl": "pkg:apk/alpine/py3-cryptography@46.0.7-r0?arch=x86_64&distroversion=edge&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/py3-cryptography@46.0.7-r0%3Farch=x86_64&distroversion=edge&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1059732?format=api",
            "purl": "pkg:apk/alpine/py3-cryptography@46.0.7-r0?arch=loongarch64&distroversion=v3.23&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/py3-cryptography@46.0.7-r0%3Farch=loongarch64&distroversion=v3.23&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1059733?format=api",
            "purl": "pkg:apk/alpine/py3-cryptography@46.0.7-r0?arch=ppc64le&distroversion=v3.23&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/py3-cryptography@46.0.7-r0%3Farch=ppc64le&distroversion=v3.23&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1059735?format=api",
            "purl": "pkg:apk/alpine/py3-cryptography@46.0.7-r0?arch=s390x&distroversion=v3.23&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/py3-cryptography@46.0.7-r0%3Farch=s390x&distroversion=v3.23&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1059736?format=api",
            "purl": "pkg:apk/alpine/py3-cryptography@46.0.7-r0?arch=x86&distroversion=v3.23&reponame=main",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/py3-cryptography@46.0.7-r0%3Farch=x86&distroversion=v3.23&reponame=main"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/936321?format=api",
            "purl": "pkg:deb/debian/python-cryptography@0?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/python-cryptography@0%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/936313?format=api",
            "purl": "pkg:deb/debian/python-cryptography@3.3.2-1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-f44c-ygbw-bufn"
                },
                {
                    "vulnerability": "VCID-rgsr-9wpx-qqg6"
                },
                {
                    "vulnerability": "VCID-x7vf-dyab-qbhq"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/python-cryptography@3.3.2-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/936311?format=api",
            "purl": "pkg:deb/debian/python-cryptography@38.0.4-3%2Bdeb12u1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-f44c-ygbw-bufn"
                },
                {
                    "vulnerability": "VCID-rgsr-9wpx-qqg6"
                },
                {
                    "vulnerability": "VCID-x7vf-dyab-qbhq"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/python-cryptography@38.0.4-3%252Bdeb12u1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/936316?format=api",
            "purl": "pkg:deb/debian/python-cryptography@43.0.0-3%2Bdeb13u1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-rgsr-9wpx-qqg6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/python-cryptography@43.0.0-3%252Bdeb13u1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1059945?format=api",
            "purl": "pkg:deb/debian/python-cryptography@46.0.7-1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/python-cryptography@46.0.7-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1062528?format=api",
            "purl": "pkg:deb/debian/python-cryptography@46.0.7-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/python-cryptography@46.0.7-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1059889?format=api",
            "purl": "pkg:pypi/cryptography@46.0.7",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/cryptography@46.0.7"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/936315?format=api",
            "purl": "pkg:deb/debian/python-cryptography@46.0.6-1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-za3q-wwzc-qbgv"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/python-cryptography@46.0.6-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1055155?format=api",
            "purl": "pkg:deb/debian/python-cryptography@46.0.6-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-za3q-wwzc-qbgv"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/python-cryptography@46.0.6-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/907440?format=api",
            "purl": "pkg:pypi/cryptography@45.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-f44c-ygbw-bufn"
                },
                {
                    "vulnerability": "VCID-za3q-wwzc-qbgv"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/cryptography@45.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1072983?format=api",
            "purl": "pkg:rpm/redhat/python-cryptography-main@46.0.7-1?arch=hum1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-f44c-ygbw-bufn"
                },
                {
                    "vulnerability": "VCID-rgsr-9wpx-qqg6"
                },
                {
                    "vulnerability": "VCID-za3q-wwzc-qbgv"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/python-cryptography-main@46.0.7-1%3Farch=hum1"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2026-39892.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.3",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2026-39892.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2026-39892",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00042",
                    "scoring_system": "epss",
                    "scoring_elements": "0.12885",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00042",
                    "scoring_system": "epss",
                    "scoring_elements": "0.12839",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00042",
                    "scoring_system": "epss",
                    "scoring_elements": "0.1292",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00042",
                    "scoring_system": "epss",
                    "scoring_elements": "0.12961",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.0006",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18844",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.0006",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18831",
                    "published_at": "2026-04-16T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2026-39892"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
                }
            ],
            "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
        },
        {
            "reference_url": "https://github.com/pyca/cryptography",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.9",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/pyca/cryptography"
        },
        {
            "reference_url": "https://github.com/pyca/cryptography/security/advisories/GHSA-p423-j2cm-9vmq",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                },
                {
                    "value": "6.9",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2026-04-09T19:41:57Z/"
                }
            ],
            "url": "https://github.com/pyca/cryptography/security/advisories/GHSA-p423-j2cm-9vmq"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-39892",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.9",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-39892"
        },
        {
            "reference_url": "http://www.openwall.com/lists/oss-security/2026/04/08/12",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.9",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://www.openwall.com/lists/oss-security/2026/04/08/12"
        },
        {
            "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1133076",
            "reference_id": "1133076",
            "reference_type": "",
            "scores": [],
            "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1133076"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2456735",
            "reference_id": "2456735",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2456735"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-p423-j2cm-9vmq",
            "reference_id": "GHSA-p423-j2cm-9vmq",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-p423-j2cm-9vmq"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2026:7295",
            "reference_id": "RHSA-2026:7295",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2026:7295"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 119,
            "name": "Improper Restriction of Operations within the Bounds of a Memory Buffer",
            "description": "The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer."
        },
        {
            "cwe_id": 131,
            "name": "Incorrect Calculation of Buffer Size",
            "description": "The product does not correctly calculate the size to be used when allocating a buffer, which could lead to a buffer overflow."
        }
    ],
    "exploits": [],
    "severity_range_score": "4.0 - 6.9",
    "exploitability": "0.5",
    "weighted_severity": "6.2",
    "risk_score": 3.1,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-za3q-wwzc-qbgv"
}