Skip to content
Heist/ feed
Back to feed
High

Open Source Social Network (OSSN) Vulnerable to Resource Exhaustion via Malicious Image Processing

Type: advisorySources: OSV

Open Source Social Network (OSSN) is open-source social networking software developed in PHP. Versions prior to 9.0 are vulnerable to resource exhaustion. An attacker can upload a specially crafted image with extreme pixel dimensions (e.g., $10000 \times 10000$ pixels). While the compressed file size on disk may be small, the server attempts to allocate significant memory and CPU cycles during the decompression and resizing process, leading to a Denial of Service (DoS) condition. It is highly recommended to upgrade to OSSN 9.0. This version introduces stricter validation of image dimensions and improved resource management during the processing phase. Those who cannot upgrade immediately can mitigate the risk by adjusting their `php.ini` settings to strictly limit `memory_limit` and `max_execution_time` and/or implementing a client-side and server-side check on image headers to reject files exceeding reasonable pixel dimensions (e.g., $4000 \times 4000$ pixels) before processing begins.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-41309
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 15:51 UTC · Revision 1

Source evidence

Open Source Social Network (OSSN) Vulnerable to Resource Exhaustion via Malicious Image Processing

core-osv · Original source

Published 24 Apr 2026, 02:31 UTC

Open Source Social Network (OSSN) is open-source social networking software developed in PHP. Versions prior to 9.0 are vulnerable to resource exhaustion. An attacker can upload a specially crafted image with extreme pixel dimensions (e.g., $10000 \times 10000$ pixels). While the compressed file size on disk may be small, the server attempts to allocate significant memory and CPU cycles during the decompression and resizing process, leading to a Denial of Service (DoS) condition. It is highly recommended to upgrade to OSSN 9.0. This version introduces stricter validation of image dimensions and improved resource management during the processing phase. Those who cannot upgrade immediately can mitigate the risk by adjusting their `php.ini` settings to strictly limit `memory_limit` and `max_execution_time` and/or implementing a client-side and server-side check on image headers to reject files exceeding reasonable pixel dimensions (e.g., $4000 \times 4000$ pixels) before processing begins.

osv:CVE-2026-41309
Complete source record
{
  "id": "8951ccbbc7dac863214e7be6e04d7a1c869c0ac523cdbd1d2a680ec2018d03a2",
  "url": "https://osv.dev/vulnerability/CVE-2026-41309",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Open Source Social Network (OSSN) Vulnerable to Resource Exhaustion via Malicious Image Processing",
    "summary": "Open Source Social Network (OSSN) is open-source social networking software developed in PHP. Versions prior to 9.0 are vulnerable to resource exhaustion. An attacker can upload a specially crafted image with extreme pixel dimensions (e.g., $10000 \\times 10000$ pixels). While the compressed file size on disk may be small, the server attempts to allocate significant memory and CPU cycles during the decompression and resizing process, leading to a Denial of Service (DoS) condition. It is highly recommended to upgrade to OSSN 9.0. This version introduces stricter validation of image dimensions and improved resource management during the processing phase. Those who cannot upgrade immediately can mitigate the risk by adjusting their `php.ini` settings to strictly limit `memory_limit` and `max_execution_time` and/or implementing a client-side and server-side check on image headers to reject files exceeding reasonable pixel dimensions (e.g., $4000 \\times 4000$ pixels) before processing begins.",
    "evidence": "osv:CVE-2026-41309",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-41309",
      "aliases": [
        "CVE-2026-41309",
        "GHSA-72qf-xrcw-fhr2"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/opensource-socialnetwork/opensource-socialnetwork",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3ee75b9b5cbac2a154e7103ff05be329206af40a"
                },
                {
                  "fixed": "12357113b3be189da7f6e429979a464e4f982117"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "9.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "12357113b3be189da7f6e429979a464e4f982117"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "8.9",
            "8.8",
            "8.7",
            "8.6",
            "8.5",
            "8.4",
            "8.3",
            "8.2",
            "8.1",
            "8.0",
            "7.6",
            "7.5",
            "7.4",
            "7.3",
            "7.2",
            "7.1",
            "7.0",
            "6.6",
            "6.5.0",
            "6.5",
            "6.4",
            "6.3",
            "6.2",
            "6.1",
            "v6.0",
            "5.6"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-41309.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:37.001712085Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41309.json",
        "https://github.com/opensource-socialnetwork/opensource-socialnetwork/security/advisories/GHSA-72qf-xrcw-fhr2",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-41309",
        "https://github.com/opensource-socialnetwork/opensource-socialnetwork/issues/2535",
        "https://github.com/opensource-socialnetwork/opensource-socialnetwork/commit/12357113b3be189da7f6e429979a464e4f982117"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-400",
          "CWE-770"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41309.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-41309",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 504265,
  "published_at": "2026-04-24T02:31:52.915+00:00"
}