Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2024-52949

iptraf-ng 1.2.1 has a stack-based buffer overflow. In src/ifaces.c, the strcpy function consistently fails to control the size, and it is consequently possible to overflow memory on the stack.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-52949
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 19:22 UTC · Revision 1

Source evidence

CVE-2024-52949

core-osv · Original source

Published 16 Dec 2024, 00:00 UTC

iptraf-ng 1.2.1 has a stack-based buffer overflow. In src/ifaces.c, the strcpy function consistently fails to control the size, and it is consequently possible to overflow memory on the stack.

osv:CVE-2024-52949
Complete source record
{
  "id": "3dcee754a1643c2a2d4d26aa89ea55e9cc64947721089bd3dd6e90eaf806b6c9",
  "url": "https://osv.dev/vulnerability/CVE-2024-52949",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2024-52949",
    "summary": "iptraf-ng 1.2.1 has a stack-based buffer overflow. In src/ifaces.c, the strcpy function consistently fails to control the size, and it is consequently possible to overflow memory on the stack.",
    "evidence": "osv:CVE-2024-52949",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-52949",
      "aliases": [
        "CVE-2024-52949"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/iptraf-ng/iptraf-ng",
              "type": "GIT",
              "events": [
                {
                  "introduced": "1ad05c9c4b88e87bc0bd777249e27ef3137da78b"
                },
                {
                  "fixed": "1ad05c9c4b88e87bc0bd777249e27ef3137da78b"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:iptraf-ng:iptraf-ng:1.2.1:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.2.1"
                      },
                      {
                        "last_affected": "1.2.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "1ad05c9c4b88e87bc0bd777249e27ef3137da78b"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v1.2.1"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.2.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-52949.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:48.102271200Z",
      "provider": "osv",
      "references": [
        "https://github.com/iptraf-ng/iptraf-ng/releases/tag/v1.2.1",
        "https://www.gruppotim.it/it/footer/red-team.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52949.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-52949"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52949.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-52949",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 515963,
  "published_at": "2024-12-16T00:00:00+00:00"
}