Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/23075?format=api",
    "vulnerability_id": "VCID-ny22-j17a-sban",
    "summary": "Apache ActiveMQ is Vulnerable to Integer Overflow or Wraparound\nApache ActiveMQ does not properly validate the remaining length field which may lead to an overflow during the decoding of malformed packets. When this integer overflow occurs, ActiveMQ may incorrectly compute the total Remaining Length and subsequently misinterpret the payload as multiple MQTT control packets which makes the broker susceptible to unexpected behavior when interacting with non-compliant clients. This behavior violates the MQTT v3.1.1 specification, which restricts Remaining Length to a maximum of 4 bytes. The scenario occurs on established connections after the authentication process. Brokers that are not enabling mqtt transport connectors are not impacted.\n\nThis issue affects Apache ActiveMQ: before 5.19.2, 6.0.0 to 6.1.8, and 6.2.0\n\nUsers are recommended to upgrade to version 5.19.2, 6.1.9, or 6.2.1, which fixes the issue.",
    "aliases": [
        {
            "alias": "CVE-2025-66168"
        },
        {
            "alias": "GHSA-c825-6ph3-4h84"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/73243?format=api",
            "purl": "pkg:maven/org.apache.activemq/activemq-all@5.19.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3bxk-kz2m-bfdz"
                },
                {
                    "vulnerability": "VCID-8e3u-5z6g-8khh"
                },
                {
                    "vulnerability": "VCID-b9q1-6a5e-4ffq"
                },
                {
                    "vulnerability": "VCID-edne-2a74-f3df"
                },
                {
                    "vulnerability": "VCID-kemy-3jwv-ekhr"
                },
                {
                    "vulnerability": "VCID-zare-arub-n3h4"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.activemq/activemq-all@5.19.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/73245?format=api",
            "purl": "pkg:maven/org.apache.activemq/activemq-all@6.2.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3bxk-kz2m-bfdz"
                },
                {
                    "vulnerability": "VCID-4geh-ywa3-zuez"
                },
                {
                    "vulnerability": "VCID-8e3u-5z6g-8khh"
                },
                {
                    "vulnerability": "VCID-b9q1-6a5e-4ffq"
                },
                {
                    "vulnerability": "VCID-edne-2a74-f3df"
                },
                {
                    "vulnerability": "VCID-kemy-3jwv-ekhr"
                },
                {
                    "vulnerability": "VCID-zare-arub-n3h4"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.activemq/activemq-all@6.2.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/73253?format=api",
            "purl": "pkg:maven/org.apache.activemq/activemq-mqtt@5.19.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.activemq/activemq-mqtt@5.19.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/73255?format=api",
            "purl": "pkg:maven/org.apache.activemq/activemq-mqtt@6.2.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4geh-ywa3-zuez"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.activemq/activemq-mqtt@6.2.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/73222?format=api",
            "purl": "pkg:maven/org.apache.activemq/apache-activemq@5.19.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8e3u-5z6g-8khh"
                },
                {
                    "vulnerability": "VCID-edne-2a74-f3df"
                },
                {
                    "vulnerability": "VCID-kemy-3jwv-ekhr"
                },
                {
                    "vulnerability": "VCID-zare-arub-n3h4"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.activemq/apache-activemq@5.19.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/73224?format=api",
            "purl": "pkg:maven/org.apache.activemq/apache-activemq@6.2.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4geh-ywa3-zuez"
                },
                {
                    "vulnerability": "VCID-8e3u-5z6g-8khh"
                },
                {
                    "vulnerability": "VCID-edne-2a74-f3df"
                },
                {
                    "vulnerability": "VCID-kemy-3jwv-ekhr"
                },
                {
                    "vulnerability": "VCID-zare-arub-n3h4"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.activemq/apache-activemq@6.2.1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/84349?format=api",
            "purl": "pkg:maven/org.apache.activemq/activemq-all@6.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3bxk-kz2m-bfdz"
                },
                {
                    "vulnerability": "VCID-4geh-ywa3-zuez"
                },
                {
                    "vulnerability": "VCID-8e3u-5z6g-8khh"
                },
                {
                    "vulnerability": "VCID-b9q1-6a5e-4ffq"
                },
                {
                    "vulnerability": "VCID-edne-2a74-f3df"
                },
                {
                    "vulnerability": "VCID-kemy-3jwv-ekhr"
                },
                {
                    "vulnerability": "VCID-ny22-j17a-sban"
                },
                {
                    "vulnerability": "VCID-zare-arub-n3h4"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.activemq/activemq-all@6.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/84352?format=api",
            "purl": "pkg:maven/org.apache.activemq/activemq-all@6.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3bxk-kz2m-bfdz"
                },
                {
                    "vulnerability": "VCID-4geh-ywa3-zuez"
                },
                {
                    "vulnerability": "VCID-8e3u-5z6g-8khh"
                },
                {
                    "vulnerability": "VCID-b9q1-6a5e-4ffq"
                },
                {
                    "vulnerability": "VCID-edne-2a74-f3df"
                },
                {
                    "vulnerability": "VCID-kemy-3jwv-ekhr"
                },
                {
                    "vulnerability": "VCID-ny22-j17a-sban"
                },
                {
                    "vulnerability": "VCID-zare-arub-n3h4"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.activemq/activemq-all@6.2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/84348?format=api",
            "purl": "pkg:maven/org.apache.activemq/activemq-mqtt@6.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4geh-ywa3-zuez"
                },
                {
                    "vulnerability": "VCID-ny22-j17a-sban"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.activemq/activemq-mqtt@6.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/84350?format=api",
            "purl": "pkg:maven/org.apache.activemq/activemq-mqtt@6.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4geh-ywa3-zuez"
                },
                {
                    "vulnerability": "VCID-ny22-j17a-sban"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.activemq/activemq-mqtt@6.2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/80897?format=api",
            "purl": "pkg:maven/org.apache.activemq/apache-activemq@6.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4geh-ywa3-zuez"
                },
                {
                    "vulnerability": "VCID-5hy6-qnne-g7f7"
                },
                {
                    "vulnerability": "VCID-8e3u-5z6g-8khh"
                },
                {
                    "vulnerability": "VCID-edne-2a74-f3df"
                },
                {
                    "vulnerability": "VCID-kemy-3jwv-ekhr"
                },
                {
                    "vulnerability": "VCID-ny22-j17a-sban"
                },
                {
                    "vulnerability": "VCID-zare-arub-n3h4"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.activemq/apache-activemq@6.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/84351?format=api",
            "purl": "pkg:maven/org.apache.activemq/apache-activemq@6.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4geh-ywa3-zuez"
                },
                {
                    "vulnerability": "VCID-8e3u-5z6g-8khh"
                },
                {
                    "vulnerability": "VCID-edne-2a74-f3df"
                },
                {
                    "vulnerability": "VCID-kemy-3jwv-ekhr"
                },
                {
                    "vulnerability": "VCID-ny22-j17a-sban"
                },
                {
                    "vulnerability": "VCID-zare-arub-n3h4"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.activemq/apache-activemq@6.2.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2025-66168.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.4",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2025-66168.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2025-66168",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00076",
                    "scoring_system": "epss",
                    "scoring_elements": "0.22799",
                    "published_at": "2026-05-30T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2025-66168"
        },
        {
            "reference_url": "https://github.com/apache/activemq",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/apache/activemq"
        },
        {
            "reference_url": "https://lists.apache.org/thread/13n8mkrb2jf2y6yyhpgrkmpqcm7djyto",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2026-03-04T20:27:42Z/"
                }
            ],
            "url": "https://lists.apache.org/thread/13n8mkrb2jf2y6yyhpgrkmpqcm7djyto"
        },
        {
            "reference_url": "https://www.cve.org/CVERecord?id=CVE-2026-40046",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2026-03-04T20:27:42Z/"
                }
            ],
            "url": "https://www.cve.org/CVERecord?id=CVE-2026-40046"
        },
        {
            "reference_url": "http://www.openwall.com/lists/oss-security/2026/03/03/5",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://www.openwall.com/lists/oss-security/2026/03/03/5"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2444356",
            "reference_id": "2444356",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2444356"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2025-66168",
            "reference_id": "CVE-2025-66168",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-66168"
        },
        {
            "reference_url": "https://activemq.apache.org/security-advisories.data/CVE-2026-40046-announcement.txt",
            "reference_id": "CVE-2026-40046-ANNOUNCEMENT.TXT",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2026-03-04T20:27:42Z/"
                }
            ],
            "url": "https://activemq.apache.org/security-advisories.data/CVE-2026-40046-announcement.txt"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-c825-6ph3-4h84",
            "reference_id": "GHSA-c825-6ph3-4h84",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-c825-6ph3-4h84"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 190,
            "name": "Integer Overflow or Wraparound",
            "description": "The product performs a calculation that can produce an integer overflow or wraparound, when the logic assumes that the resulting value will always be larger than the original value. This can introduce other weaknesses when the calculation is used for resource management or execution control."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        },
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        },
        {
            "cwe_id": 130,
            "name": "Improper Handling of Length Parameter Inconsistency",
            "description": "The product parses a formatted message or structure, but it does not handle or incorrectly handles a length field that is inconsistent with the actual length of the associated data."
        }
    ],
    "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-ny22-j17a-sban"
}