Skip to content
Heist/ feed
Back to feed
High

php-zumba-json-serializer — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-27206

Zumba Json Serializer is a library to serialize PHP variables in JSON format. In versions 3.2.2 and below, the library allows deserialization of PHP objects from JSON using a special @type field. The deserializer instantiates any class specified in the @type field without restriction. When processing untrusted JSON input, this behavior may allow an attacker to instantiate arbitrary classes available in the application. If a vulnerable application passes attacker-controlled JSON into JsonSerializer::unserialize() and contains classes with dangerous magic methods (such as __wakeup() or __destruct()), this may lead to PHP Object Injection and potentially Remote Code Execution (RCE), depending on available gadget chains in the application or its dependencies. This behavior is similar in risk profile to PHP's native unserialize() when used without the allowed_classes restriction. Applications are impacted only if untrusted or attacker-controlled JSON is passed into JsonSerializer::unserialize() and the application or its dependencies contain classes that can be leveraged as a gadget chain. This issue has been fixed in version 3.2.3. If an immediate upgrade isn't feasible, mitigate the vulnerability by never deserializing untrusted JSON with JsonSerializer::unserialize(), validating and sanitizing all JSON input before deserialization, and disabling @type-based object instantiation wherever possible.

Products
php-zumba-json-serializer
Affected versions
3.0.2-1, 3.2.1-1, 3.2.2-1, 3.2.4-1
Fixed versions
Not specified
CVEs
CVE-2026-27206
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 02:43 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-27206

core-osv · Original source

Published 21 Feb 2026, 07:16 UTC

Zumba Json Serializer is a library to serialize PHP variables in JSON format. In versions 3.2.2 and below, the library allows deserialization of PHP objects from JSON using a special @type field. The deserializer instantiates any class specified in the @type field without restriction. When processing untrusted JSON input, this behavior may allow an attacker to instantiate arbitrary classes available in the application. If a vulnerable application passes attacker-controlled JSON into JsonSerializer::unserialize() and contains classes with dangerous magic methods (such as __wakeup() or __destruct()), this may lead to PHP Object Injection and potentially Remote Code Execution (RCE), depending on available gadget chains in the application or its dependencies. This behavior is similar in risk profile to PHP's native unserialize() when used without the allowed_classes restriction. Applications are impacted only if untrusted or attacker-controlled JSON is passed into JsonSerializer::unserialize() and the application or its dependencies contain classes that can be leveraged as a gadget chain. This issue has been fixed in version 3.2.3. If an immediate upgrade isn't feasible, mitigate the vulnerability by never deserializing untrusted JSON with JsonSerializer::unserialize(), validating and sanitizing all JSON input before deserialization, and disabling @type-based object instantiation wherever possible.

osv:UBUNTU-CVE-2026-27206

php-zumba-json-serializer

Fixed versions: Not specified

php-zumba-json-serializer

Fixed versions: Not specified

php-zumba-json-serializer

Fixed versions: Not specified

php-zumba-json-serializer

Fixed versions: Not specified

Complete source record
{
  "id": "445cae472952ad07d2dcd30724556ed5877c14328ebda98b840907bf64da0072",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-27206",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-27206",
    "summary": "Zumba Json Serializer is a library to serialize PHP variables in JSON format. In versions 3.2.2 and below, the library allows deserialization of PHP objects from JSON using a special @type field. The deserializer instantiates any class specified in the @type field without restriction. When processing untrusted JSON input, this behavior may allow an attacker to instantiate arbitrary classes available in the application. If a vulnerable application passes attacker-controlled JSON into JsonSerializer::unserialize() and contains classes with dangerous magic methods (such as __wakeup() or __destruct()), this may lead to PHP Object Injection and potentially Remote Code Execution (RCE), depending on available gadget chains in the application or its dependencies. This behavior is similar in risk profile to PHP's native unserialize() when used without the allowed_classes restriction. Applications are impacted only if untrusted or attacker-controlled JSON is passed into JsonSerializer::unserialize() and the application or its dependencies contain classes that can be leveraged as a gadget chain. This issue has been fixed in version 3.2.3. If an immediate upgrade isn't feasible, mitigate the vulnerability by never deserializing untrusted JSON with JsonSerializer::unserialize(), validating and sanitizing all JSON input before deserialization, and disabling @type-based object instantiation wherever possible.",
    "evidence": "osv:UBUNTU-CVE-2026-27206",
    "products": [
      {
        "name": {
          "value": "php-zumba-json-serializer",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.0.2-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.2.1-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "php-zumba-json-serializer",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.2.2-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "php-zumba-json-serializer",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.2.2-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "3.2.4-1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "php-zumba-json-serializer",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.2.2-1",
            "evidence": "/affected/3/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2026-27206",
      "aliases": [
        "UBUNTU-CVE-2026-27206"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "php-zumba-json-serializer",
            "purl": "pkg:deb/ubuntu/php-zumba-json-serializer?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "3.0.2-1",
            "3.2.1-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27206.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "php-zumba-json-serializer",
                "binary_version": "3.2.1-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "php-zumba-json-serializer",
            "purl": "pkg:deb/ubuntu/php-zumba-json-serializer?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "3.2.2-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27206.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "php-zumba-json-serializer",
                "binary_version": "3.2.2-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "php-zumba-json-serializer",
            "purl": "pkg:deb/ubuntu/php-zumba-json-serializer?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "3.2.2-1",
            "3.2.4-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27206.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "php-zumba-json-serializer",
                "binary_version": "3.2.4-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "php-zumba-json-serializer",
            "purl": "pkg:deb/ubuntu/php-zumba-json-serializer?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "3.2.2-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27206.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "php-zumba-json-serializer",
                "binary_version": "3.2.2-1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:58:49.150987604Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-27206"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-27206",
        "https://www.cve.org/CVERecord?id=CVE-2026-27206",
        "https://github.com/zumba/json-serializer/security/advisories/GHSA-v7m3-fpcr-h7m2"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-27206",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 359088,
  "published_at": "2026-02-21T07:16:00+00:00"
}