Skip to content
Heist/ feed
Back to feed
UnratedFix available

perl — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2007-5116

Buffer overflow in the polymorphic opcode support in the Regular Expression Engine (regcomp.c) in Perl 5.8 allows context-dependent attackers to execute arbitrary code by switching from byte to Unicode (UTF) characters in a regular expression.

Products
perl
Affected versions
Not specified
Fixed versions
5.8.8-12
CVEs
CVE-2007-5116
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 15:46 UTC · Revision 1

Source evidence

DEBIAN-CVE-2007-5116

core-osv · Original source

Published 7 Nov 2007, 23:46 UTC

Buffer overflow in the polymorphic opcode support in the Regular Expression Engine (regcomp.c) in Perl 5.8 allows context-dependent attackers to execute arbitrary code by switching from byte to Unicode (UTF) characters in a regular expression.

osv:DEBIAN-CVE-2007-5116

perl

Fixed versions: 5.8.8-12

perl

Fixed versions: 5.8.8-12

perl

Fixed versions: 5.8.8-12

Complete source record
{
  "id": "8b3508449ef7973d890e7ea7f6f7a5ef8f0156160e3d8321b25d7b736c3492df",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2007-5116",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2007-5116",
    "summary": "Buffer overflow in the polymorphic opcode support in the Regular Expression Engine (regcomp.c) in Perl 5.8 allows context-dependent attackers to execute arbitrary code by switching from byte to Unicode (UTF) characters in a regular expression.",
    "evidence": "osv:DEBIAN-CVE-2007-5116",
    "products": [
      {
        "name": {
          "value": "perl",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.8.8-12",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "perl",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.8.8-12",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "perl",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.8.8-12",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "DEBIAN-CVE-2007-5116",
      "aliases": [
        "DEBIAN-CVE-2007-5116"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.8.8-12"
                }
              ]
            }
          ],
          "package": {
            "name": "perl",
            "purl": "pkg:deb/debian/perl?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2007-5116.json"
          },
          "ecosystem_specific": {
            "urgency": "medium"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.8.8-12"
                }
              ]
            }
          ],
          "package": {
            "name": "perl",
            "purl": "pkg:deb/debian/perl?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2007-5116.json"
          },
          "ecosystem_specific": {
            "urgency": "medium"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.8.8-12"
                }
              ]
            }
          ],
          "package": {
            "name": "perl",
            "purl": "pkg:deb/debian/perl?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2007-5116.json"
          },
          "ecosystem_specific": {
            "urgency": "medium"
          }
        }
      ],
      "modified": "2026-10-21T17:47:36.613813750Z",
      "provider": "osv",
      "upstream": [
        "CVE-2007-5116"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2007-5116"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2007-5116",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 398360,
  "published_at": "2007-11-07T23:46:00+00:00"
}