Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/351412?format=api",
    "vulnerability_id": "VCID-fq31-vafy-a3ex",
    "summary": "In systemd 259, systemd-journald can send ANSI escape sequences to the terminals of arbitrary users when a \"logger -p emerg\" command is executed, if ForwardToWall=yes is set.",
    "aliases": [
        {
            "alias": "CVE-2026-40228"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1072982?format=api",
            "purl": "pkg:rpm/redhat/systemd-main@260.1-2.1?arch=hum1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4eyp-2xve-qugd"
                },
                {
                    "vulnerability": "VCID-4n47-ffax-sbdu"
                },
                {
                    "vulnerability": "VCID-fp54-ff23-vbb5"
                },
                {
                    "vulnerability": "VCID-fq31-vafy-a3ex"
                },
                {
                    "vulnerability": "VCID-hwg6-vaus-cfa2"
                },
                {
                    "vulnerability": "VCID-m2qr-wk7f-8uda"
                },
                {
                    "vulnerability": "VCID-sejj-hs68-n3gs"
                },
                {
                    "vulnerability": "VCID-v7z5-xs49-r3ar"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/systemd-main@260.1-2.1%3Farch=hum1"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2026-40228.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "2.9",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2026-40228.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2026-40228",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00012",
                    "scoring_system": "epss",
                    "scoring_elements": "0.01878",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00012",
                    "scoring_system": "epss",
                    "scoring_elements": "0.01894",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00012",
                    "scoring_system": "epss",
                    "scoring_elements": "0.01873",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00014",
                    "scoring_system": "epss",
                    "scoring_elements": "0.02593",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.00014",
                    "scoring_system": "epss",
                    "scoring_elements": "0.02449",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00014",
                    "scoring_system": "epss",
                    "scoring_elements": "0.02553",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00014",
                    "scoring_system": "epss",
                    "scoring_elements": "0.02541",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00014",
                    "scoring_system": "epss",
                    "scoring_elements": "0.0253",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.00016",
                    "scoring_system": "epss",
                    "scoring_elements": "0.03655",
                    "published_at": "2026-04-16T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2026-40228"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-40228",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-40228"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "2.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N"
                }
            ],
            "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
        },
        {
            "reference_url": "https://www.openwall.com/lists/oss-security/2026/04/08/1",
            "reference_id": "1",
            "reference_type": "",
            "scores": [
                {
                    "value": "2.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2026-04-10T17:26:54Z/"
                }
            ],
            "url": "https://www.openwall.com/lists/oss-security/2026/04/08/1"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2457316",
            "reference_id": "2457316",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2457316"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2026:7299",
            "reference_id": "RHSA-2026:7299",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2026:7299"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 669,
            "name": "Incorrect Resource Transfer Between Spheres",
            "description": "The product does not properly transfer a resource/behavior to another sphere, or improperly imports a resource/behavior from another sphere, in a manner that provides unintended control over that resource."
        },
        {
            "cwe_id": 117,
            "name": "Improper Output Neutralization for Logs",
            "description": "The product does not neutralize or incorrectly neutralizes output that is written to logs."
        }
    ],
    "exploits": [],
    "severity_range_score": "2.5 - 2.9",
    "exploitability": "0.5",
    "weighted_severity": "2.6",
    "risk_score": 1.3,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-fq31-vafy-a3ex"
}