Null characters in org.opencontainers.image.title lable in image manifest

Some of the labels of the arm image of filebeat:9.1.4 contains Null characters (\u0000). This stops us from uploading it to Artifactory (some labels removed for brevity):

 "Labels": {
        "architecture": "aarch64",
        "build-date": "2025-08-20T13:14:46",

        "io.k8s.display-name": "\u0000\u0000\u0000\u0000\u0000\u0000\u0000 image",

        "org.opencontainers.image.title": "FileB\u0000\u0000\u0000\u0000\u0000\u0000",
        "org.opencontainers.image.vendor": "Elastic",
        "release": "1",
        "summary": "filebeat",
        "url": "https://www.elastic.co/beats/filebeat",
        "vcs-ref": "f4b088292653bbf5ca8188a5e59ffd06a8671d4b",
        "vcs-type": "git",
        "vendor": "Elastic",
        "version": "9.1.4"
    },

Got this using:

podman inspect elastic/filebeat@sha256:de1889cf4b2e9579be06aafc48cfdb078de6d203d50e08394c19c73a027f00de

This seems like a bug? Only the arm-version has the error, the amd-version looks good.

Welcome!

Thanks for reporting this. If you don't mind, would you like to open an issue in GitHub - elastic/beats: 🐠 Beats - Lightweight shippers for Elasticsearch & Logstash and link to this message?

Thanks!

Sure thing! Reported here: Null characters in org.opencontainers.image.title lable in image manifest · Issue #46701 · elastic/beats · GitHub

1 Like