{ "document": { "category": "csaf_security_advisory", "csaf_version": "2.0", "distribution": { "tlp": { "label": "WHITE", "url": "https://www.first.org/tlp/" } }, "lang": "en", "notes": [ { "category": "description", "text": "FCGI versions 0.44 through 0.82, for Perl, include a vulnerable version of the FastCGI fcgi2 (aka fcgi) library. The included FastCGI library is affected by CVE-2025-23016, causing an integer overflow (and resultant heap-based buffer overflow) via crafted nameLen or valueLen values in data to the IPC socket. This occurs in ReadParams in fcgiapp.c.", "title": "Vulnerability Description" } ], "publisher": { "category": "other", "contact_details": "gdt@cpan.org", "name": "giterlizzi", "namespace": "https://github.com/giterlizzi/" }, "references": [ { "category": "self", "summary": "CPANSA-FCGI-2025-40907 JSON", "url": "https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2025/cpansa-fcgi-2025-40907.json" }, { "category": "external", "summary": "http://www.openwall.com/lists/oss-security/2025/04/23/4", "url": "http://www.openwall.com/lists/oss-security/2025/04/23/4" }, { "category": "external", "summary": "https://github.com/FastCGI-Archives/fcgi2/issues/67", "url": "https://github.com/FastCGI-Archives/fcgi2/issues/67" }, { "category": "external", "summary": "https://github.com/FastCGI-Archives/fcgi2/releases/tag/2.4.5", "url": "https://github.com/FastCGI-Archives/fcgi2/releases/tag/2.4.5" }, { "category": "external", "summary": "https://github.com/perl-catalyst/FCGI/issues/14", "url": "https://github.com/perl-catalyst/FCGI/issues/14" }, { "category": "external", "summary": "https://patch-diff.githubusercontent.com/raw/FastCGI-Archives/fcgi2/pull/74.patch", "url": "https://patch-diff.githubusercontent.com/raw/FastCGI-Archives/fcgi2/pull/74.patch" }, { "category": "external", "summary": "https://www.synacktiv.com/en/publications/cve-2025-23016-exploiting-the-fastcgi-library", "url": "https://www.synacktiv.com/en/publications/cve-2025-23016-exploiting-the-fastcgi-library" }, { "category": "external", "summary": "CVE-2025-40907 (NVD)", "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-40907" } ], "title": "FCGI vulnerability", "tracking": { "current_release_date": "2025-05-16T00:00:00", "generator": { "engine": { "name": "CSAF Perl Toolkit", "version": "0.26" } }, "id": "CPANSA-FCGI-2025-40907", "initial_release_date": "2025-05-16T00:00:00", "revision_history": [ { "date": "2025-05-16T00:00:00", "number": "1", "summary": "First release" } ], "status": "final", "version": "1" } }, "product_tree": { "branches": [ { "branches": [ { "category": "product_version_range", "name": "vers:cpan/>=0.44", "product": { "name": "FCGI greater than or equal 0.44", "product_id": "CSAFPID-0001" } } ], "category": "product_name", "name": "FCGI" } ] }, "vulnerabilities": [ { "cve": "CVE-2025-40907", "cwe": { "id": "CWE-122", "name": "Heap-based Buffer Overflow" }, "notes": [ { "category": "description", "text": "FCGI versions 0.44 through 0.82, for Perl, include a vulnerable version of the FastCGI fcgi2 (aka fcgi) library.\n\nThe included FastCGI library is affected by CVE-2025-23016, causing an integer overflow (and resultant heap-based buffer overflow) via crafted nameLen or valueLen values in data to the IPC socket. This occurs in ReadParams in fcgiapp.c.", "title": "Vulnerability Description" } ], "product_status": { "known_affected": [ "CSAFPID-0001" ] }, "scores": [ { "cvss_v3": { "baseScore": 5.3, "baseSeverity": "MEDIUM", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L", "version": "3.1" }, "products": [ "CSAFPID-0001" ] } ] } ] }